ÌTHUÂN KHOKI CO., LTD. 意傳科技有限公司官方網站ithuan.tw程式。
$ npm ci
$ npm start
開網址http://localhost:3000/
MIT License http://g0v.mit-license.org/
Tâi-bûn NLP ke-si.
License: MIT License
ÌTHUÂN KHOKI CO., LTD. 意傳科技有限公司官方網站ithuan.tw程式。
$ npm ci
$ npm start
開網址http://localhost:3000/
MIT License http://g0v.mit-license.org/
Ku('--aih-iah').hanlo # --aih-iah
Ku('--aih-iah').TL().hanlo # ----aih-iah
漢羅文 kah 羅馬字對照 ē-īng-eh kā 轉做其他書寫
>>> Ku('一', 'tsi̍t').TL()
Exception of tsuanTL(): Bô tsit-khuán im-tsiat
thiah('')
應該ài用SuSiaTshoNgoo
才著
Phah-sǹg:
我是ke-si -> 我是, ke-si
Bo̍k-tsîng:
我是ke-si -> 我是ke-si
像按呢用:
a = Ku("Gâu-tsá, tshiánn tsē.")
a.TL_sooji()
吐出
Gau5-tsa2, tshiann2 tse7.
PR #1 siá POJ tsuán-uānn leh tse būn-tê.
Ôa
Oâ
__init__.py
khòng-tsè tuì-guā hâm-sik逐-家|tak8-ke1 做-伙|tso3-hue2 來|lai5 𨑨-迌|tshit4-tho5
Huan-i̍k, piān-sik ài khuànn ta̍k-ê sû ê hàn-lô tuì-tsiàu.
Scenario: 藉詞建立句物件
Given 兩句 <hanlo> kah <lomaji> 做伙建立一 ê 句物件
Then hanlo是 <kiatko_hanlo>
And 選擇 uì 第 "2" ê 詞斷做兩句
Then 第1句taibun是 "我是"
And 第2句taibun是 "Ke-si"
>>> from kesi import Ku, kam_haphuat
>>> kam_haphuat('--a')
False
Hàn-jī khah tn̂g.
我是董--ê。
Guá táng--ê.
Lô-má-jī khah tn̂g.
我董--ê。
Guá sī táng--ê.
這警告根本 m̄ 知是 tá 1 ê 音節 m̄-tio̍h...
$ python -m unittest tshi.test詞表試驗.Supio.test_有小寫
Exception of tsuanTL(): Bô tsit-khuán im-tsiat
E
======================================================================
ERROR: test_有小寫 (tshi.test詞表試驗.Supio)
----------------------------------------------------------------------
...
----------------------------------------------------------------------
Ran 1 test in 0.005s
#32 有結論ài wheel,
Tsit-má CI 有設定煞bô出來wheel
Line 31 in ac9a651
https://travis-ci.com/github/i3thuan5/KeSi/jobs/484454597#L304-L336
Deploying application
running sdist
running check
warning: sdist: standard file not found: should have one of README, README.txt
reading manifest template 'MANIFEST.in'
writing manifest file 'MANIFEST'
creating KeSi-1.1.0
creating KeSi-1.1.0/kesi
creating KeSi-1.1.0/kesi/butkian
creating KeSi-1.1.0/kesi/susia
making hard links in KeSi-1.1.0...
hard linking LICENSE -> KeSi-1.1.0
hard linking README.md -> KeSi-1.1.0
hard linking panpun.py -> KeSi-1.1.0
hard linking setup.py -> KeSi-1.1.0
hard linking kesi/__init__.py -> KeSi-1.1.0/kesi
hard linking kesi/butkian/__init__.py -> KeSi-1.1.0/kesi/butkian
hard linking kesi/butkian/ji.py -> KeSi-1.1.0/kesi/butkian
hard linking kesi/butkian/kongiong.py -> KeSi-1.1.0/kesi/butkian
hard linking kesi/butkian/ku.py -> KeSi-1.1.0/kesi/butkian
hard linking kesi/butkian/su.py -> KeSi-1.1.0/kesi/butkian
hard linking kesi/susia/POJ.py -> KeSi-1.1.0/kesi/susia
hard linking kesi/susia/TL.py -> KeSi-1.1.0/kesi/susia
hard linking kesi/susia/__init__.py -> KeSi-1.1.0/kesi/susia
hard linking kesi/susia/kongke.py -> KeSi-1.1.0/kesi/susia
hard linking kesi/susia/pio.py -> KeSi-1.1.0/kesi/susia
creating dist
Creating tar archive
removing 'KeSi-1.1.0' (and everything under it)
Uploading distributions to https://upload.pypi.org/legacy/
Uploading KeSi-1.1.0.tar.gz
100%|██████████| 12.8k/12.8k [00:01<00:00, 11.9kB/s]
ku = Ku(句物件.看語句(), 句物件.看音()).TL()
File "/usr/local/lib/python3.8/site-packages/kesi/butkian/ku.py", line 156, in TL
sin_ku.thiam(su.TL())
File "/usr/local/lib/python3.8/site-packages/kesi/butkian/su.py", line 85, in TL
sin_su.thiam(ji.TL())
File "/usr/local/lib/python3.8/site-packages/kesi/butkian/ji.py", line 45, in TL
tsuanTL(hanlo), tsuanTL(lomaji),
File "/usr/local/lib/python3.8/site-packages/kesi/susia/TL.py", line 10, in tsuanTL
siann, un, tiau, tuasiosia = thiah(bun)
File "/usr/local/lib/python3.8/site-packages/kesi/susia/POJ.py", line 60, in thiah
siannun, tiau = theh_sianntiau(lomaji)
File "/usr/local/lib/python3.8/site-packages/kesi/susia/POJ.py", line 76, in theh_sianntiau
return nfd[:-1], tiauho_tsuan_tiauhu(nfd[-1])
File "/usr/local/lib/python3.8/site-packages/kesi/susia/POJ.py", line 127, in tiauho_tsuan_tiauhu
return TIAUHO_TIAUHU_PIO[tiauho]
KeyError: '0'
O͘-tuā--ê
choán-chò
OO-tuā--ê
>>> from kesi import Ku
>>> Ku('bere3').TL().lomaji
'berè'
>>> Ku('bere3').POJ().lomaji
'bère'
Iri mā án-ne:
>>> Ku('Chhirinn2').TL().lomaji
'Tshirínn'
>>> Ku('Chhirinn2').POJ().lomaji
'Chhíriⁿ'
Tsit-má
Ku('𠢕早,請坐', 'Gâu-tsá, tshiánn-tsē').lomaji
Gâu-tsá,tshiánn-tsē
我 ài
Gâu-tsá, tshiánn-tsē
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.