-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.6.46 #592
Merged
Merged
0.6.46 #592
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Siu bun-kiann
國教院斷詞有連續連字
``` docker run --link huatai -ti --rm i3thuan5/tai5-uan5_gian5-gi2_kang1-ku7:latest ``` ``` from 臺灣言語工具.解析整理.拆文分析器 import 拆文分析器 from 臺灣言語工具.斷詞.國教院斷詞用戶端 import 國教院斷詞用戶端 from 臺灣言語工具.翻譯.摩西工具.摩西用戶端 import 摩西用戶端 from 臺灣言語工具.翻譯.摩西工具.語句編碼器 import 語句編碼器 華語句物件 = 拆文分析器.建立句物件('大家早安') 華語斷詞句物件 = 國教院斷詞用戶端.斷詞(華語句物件) print(華語斷詞句物件.看型('', ' ')) 台語句物件, 華語新結構句物件, 分數 = ( 摩西用戶端(位址='huatai', 編碼器=語句編碼器).翻譯分析(華語斷詞句物件) ) print(台語句物件.看型('', ' ')) print(台語句物件.看音()) print(分數) for 詞物件 in 台語句物件.網出詞物件(): print(詞物件, 詞物件.翻譯來源詞陣列) for 詞物件 in 華語新結構句物件.網出詞物件(): print(詞物件, 詞物件.翻譯目標詞陣列) ```
分析器對齊{error資訊 fix #566
Siu lo ma ji kuihuan fix #586
臺羅行為kah別的羅馬字仝款,莫處理mo=>moo
分析器字對著標點的錯誤顯示較清楚--寡 fix #580
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#591