practical-pytorch
practical-pytorch copied to clipboard
Can seq2seq model support the new sentence tranlslation?
Why does the KeyError occurs?I can not understand.
Can you help me?Thank you
I guess you have not segment sentence, it's necessary for chinese.
@czs0x55aa thanks!The problem is soved.I used Jieba to segment sentence.Do you have some tools or suggestions for Chinese tanslation(processing)?
I'm think Jieba is the simplest tool for text segmentation, and work fine in most case. Maybe you would be interested in other tools, like NLPIR, THULAC-Python, ltp
May I know how to support a new sentence translation? Jieba didn't solve my issue. I have run the model for English-Bengali translation.
@paul-pias Inserting a space between each character in the sentences may help. For example: こんばんは -> こ ん ば ん は