alex-berard / seq2seq

Attention-based sequence to sequence learning
Apache License 2.0
388 stars 122 forks source link

Some shell does not work. #17

Closed guotong1988 closed 6 years ago

guotong1988 commented 6 years ago

https://github.com/eske/seq2seq/blob/master/config/WMT14/download.sh#L18-L19

We have the original downloaded data:

ntst14.en
ntst14.fr
ntst1213.en
ntst1213.fr

What is ntst1213.fr-en and ntst14.fr-en?

@eske Thank you!

alex-berard commented 6 years ago

Hello, The purpose of lines 18 and 19 is to rename dev/ntst14.en to ntst14.fr-en.en, dev/ntst1213.en to ntst1213.fr-en.en, and so on. Maybe the rename command with this syntax does not work for you. You can do:

mv dev/ntst14.en ntst14.fr-en.en
mv dev/ntst14.fr ntst14.fr-en.fr
mv dev/ntst1213.en ntst1213.fr-en.en
mv dev/ntst1213.fr ntst1213.fr-en.fr
guotong1988 commented 6 years ago

thank you