Skip to content
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 29 commits into from
Aug 8, 2018
Merged

0.6.46 #592

merged 29 commits into from
Aug 8, 2018

Conversation

sih4sing5hong5
Copy link
Collaborator

```
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(詞物件, 詞物件.翻譯目標詞陣列)
```
臺羅行為kah別的羅馬字仝款,莫處理mo=>moo
@sih4sing5hong5 sih4sing5hong5 merged commit a65cd78 into docker Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant