Closed butsugiri closed 4 years ago
Hi butsugiri,
I also ran into this issue and attempted to fix it. It seems to work for me but the pull request with my changes has not been approved. You could try pulling from my fork to fix the issue or just do the changes yourself.
Hope it helps =)
Thanks @HaukurPall for the fix! And thanks @butsugiri for raising the issue.
The issue is fixed in the latest commit and version.
pip install -U sacremoses==0.0.40
Hi, thank you for your great work.
I was using
sacremoses truecase
and encountered following error:I have not looked into the details of the code, but it seems that the variable
words
is indeed not defined in the method. Maybe it should betokens
instead?