You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Text: 'ghe an roma vai 120 - 27. gỗ tần bì tự nhiên bọc vải cao cấp. ghế ăn roma với kiểu dáng hiện đại tinh tế sẽ cho bạn sự thoải mái tuyệt đối khi ngồi nhờ thiết kế nệm đưa ra nâng đỡ phần lưng. sản phẩm sẽ thể hiện tính đồng nhất hơn khi kết hợp cùng bàn ăn roma và bộ sưu tập roma.'
text = ViTokenizer.tokenize(text)
text = ViUtils.add_accents(text)
--> ERROR:
KeyError Traceback (most recent call last)
in
----> 1 text = ViUtils.add_accents(text)
2 text
Text: 'ghe an roma vai 120 - 27. gỗ tần bì tự nhiên bọc vải cao cấp. ghế ăn roma với kiểu dáng hiện đại tinh tế sẽ cho bạn sự thoải mái tuyệt đối khi ngồi nhờ thiết kế nệm đưa ra nâng đỡ phần lưng. sản phẩm sẽ thể hiện tính đồng nhất hơn khi kết hợp cùng bàn ăn roma và bộ sưu tập roma.'
text = ViTokenizer.tokenize(text)
text = ViUtils.add_accents(text)
--> ERROR:
KeyError Traceback (most recent call last)
in
----> 1 text = ViUtils.add_accents(text)
2 text
~\Anaconda3\lib\site-packages\pyvi\ViUtils.py in add_accents(s)
20
21 def add_accents(s):
---> 22 return ViDiac.add_accents(s)
~\Anaconda3\lib\site-packages\pyvi\ViDiac.py in add_accents(s)
201
202 def add_accents(s):
--> 203 return ViDiac.doit(s)
~\Anaconda3\lib\site-packages\pyvi\ViDiac.py in doit(str_sentence)
197 unichar = unichar.upper()
198 # print unichar
--> 199 output += ViDiac.reversed_mapping[unichar]
200 return output
201
KeyError: 'ỢJ'
The text was updated successfully, but these errors were encountered: