infinite loop when there is a single token "|"
monsieurzhang opened this issue · 1 comments
monsieurzhang commented
Hi,
I met this problem during decoding.
Since there is one sentence at WMT newstest13.fr:146
"Soins palliatifs - La meilleure façon de mourir . . . | Le Devoir"
Could you confirm that? Thanks.
Line 388 in c4adba6
rsennrich commented
"|" is normally reserved as factor separator, but I've now added a condition to translate.py so that "|" in the input will be accepted if you don't use factored models.