mattiadg/SR-NMT

how to make tgt-train.txt?

Opened this issue · 4 comments

eeric commented

how to make tgt-train.txt from sentence text?

Sorry, I have not been using this code for an year now. Can you please be more specific? Do you want to know how to do inference?

eeric commented

sentence text as following:
REPEAT
P G H
YES
ENTER FIVE
tgt-train.txt as following:
R E P E A T
P G H
Y E S
E N T E R F I V E
the "blank" between words was replace by "space".

eeric commented

ok, I code.
make OpenNMT project audio list and sentences text list, as following:
https://github.com/eeric/OpenNMT-py-make-tgt-train.txt/blob/master/openNMT_make_label.py