how to make tgt-train.txt?
Opened this issue · 4 comments
eeric commented
how to make tgt-train.txt from sentence text?
mattiadg commented
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".
mattiadg commented
You can use any scripting language to do that fast, how is it related to
this project?
Il lun 10 giu 2019, 23:43 eeric <notifications@github.com> ha scritto:
… 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
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AA7LDITRU2EFNYRO4D723OLPZ5CPJA5CNFSM4HW2ZNQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXMDMQI#issuecomment-500708929>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA7LDIXVNRQAXZXAXEI2E7TPZ5CPJANCNFSM4HW2ZNQQ>
.
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