i3thuan5 / tai5-uan5_gian5-gi2_kang1-ku7

臺灣言語工具
https://i3thuan5.github.io/tai5-uan5_gian5-gi2_kang1-ku7
Other
109 stars 32 forks source link

國教院斷詞用戶端.「----」分析器毋知愛按怎處理 #572

Closed sih4sing5hong5 closed 6 years ago

sih4sing5hong5 commented 6 years ago

File "/usr/local/lib/python3.5/dist-packages/臺灣言語工具/斷詞/國教院斷詞用戶 端.py", line 33, in _斷句物件詞 結果詞陣列.extend(拆文分析器.建立組物件(詞條).內底詞) File "/usr/local/lib/python3.5/dist-packages/臺灣言語工具/解析整理/拆文分析器. py", line 48, in 建立組物件 return cls._物件的音攏提掉(cls.對齊組物件(語句, 語句)) File "/usr/local/lib/python3.5/dist-packages/臺灣言語工具/解析整理/拆文分析器.py", line 107, in 對齊組物件 全部型陣列, 型巢狀輕聲陣列 = cls._拆句做巢狀詞(型) File "/usr/local/lib/python3.5/dist-packages/臺灣言語工具/解析整理/拆文分析器.py", line 147, in _拆句做巢狀詞 字陣列, 輕聲陣列, 佮後一个字無仝一个詞 = cls._句分析(語句) File "/usr/local/lib/python3.5/dist-packages/臺灣言語工具/解析整理/拆文分析器.py", line 299, in _句分析 語句, 揣分字.group(0) 臺灣言語工具.解析整理.解析錯誤.解析錯誤: 連字符「----」分析器毋知愛按怎處理。語 句:「----」

sih4sing5hong5 commented 6 years ago

因為試驗.解析整理.Test拆文分析器連字符單元試驗有按呢設計

sih4sing5hong5 commented 6 years ago

可能愛tī建立物件進前先調整