rsennrich / subword-nmt

Unsupervised Word Segmentation for Neural Machine Translation and Text Generation
MIT License
2.18k stars 464 forks source link

bash: ./subword-nmt/subword-nmt/apply_bpe.py: No such file or directory #74

Closed sanjita-suresh closed 5 years ago

sanjita-suresh commented 5 years ago

Hello, I am getting this error if I try to preprocess german data? I am curious if this works only for english?

rsennrich commented 5 years ago

try subword-nmt/subword_nmt/apply_bpe.py

sanjita-suresh commented 5 years ago

Yes I tried that but the error was still there

rsennrich commented 5 years ago

This command is relative to your current working directory, and assumes you've downloaded the scripts via git. If you don't want to worry about relative paths, install it via pip and just use the command subword-nmt apply-bpe

sanjita-suresh commented 5 years ago

Thank you. That works :)