THUNLP-MT / THUMT

An open-source neural machine translation toolkit developed by Tsinghua Natural Language Processing Group
BSD 3-Clause "New" or "Revised" License
703 stars 197 forks source link

The error of decoding #31

Closed Julisa-test closed 6 years ago

Julisa-test commented 6 years ago

(venv-2.7.14) ubuntu@ubuntu:~/python2.7/tensorflow$ sed -r ’s/(@@ )|(@@ ?$)//g’ < newstest2015.trans > newstest2015.trans.norm bash: syntax error near unexpected token(' ` How can i solve this problem? Thanks!

Playinf commented 6 years ago

The command should be sed -r 's/(@@ )|(@@ ?$)//g'.