mirror of
https://github.com/rsennrich/subword-nmt.git
synced 2024-11-27 12:42:07 +03:00
removed debug
This commit is contained in:
parent
81947f9907
commit
54e52cf3e3
@ -46,10 +46,6 @@ class BPE(object):
|
|||||||
for item in new_word[:-1]:
|
for item in new_word[:-1]:
|
||||||
output.append(item + self.separator)
|
output.append(item + self.separator)
|
||||||
output.append(new_word[-1])
|
output.append(new_word[-1])
|
||||||
print '!!!!!!!!!!!!!!'
|
|
||||||
print sentence
|
|
||||||
print output
|
|
||||||
print '!!!!!!!!!!!!!!'
|
|
||||||
|
|
||||||
return ' '.join(output)
|
return ' '.join(output)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user