#!/bin/sh

cicada=../../..

### Here, we will generate reference data suitable for cicada
### The format is simply:
###
### segment-id1 ||| sentence1
### segment-id1 ||| sentence2
### segment-id1 ||| sentence3
### segment-id2 ||| sentence4
###
### so that multiple reference translations are merged into a single file.

for data in tune dev; do
  $cicada/progs/cicada_filter_refset $data.en --output $data.en.ref
done
