Giter Club home page Giter Club logo

kesi's Introduction

意傳官網

Build Status

ÌTHUÂN KHOKI CO., LTD. 意傳科技有限公司官方網站ithuan.tw程式。

安裝

$ npm ci

開發

$ npm start

開網址http://localhost:3000/

License授權

MIT License http://g0v.mit-license.org/

kesi's People

Contributors

a8568730 avatar niauah avatar sih4sing5hong5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kesi's Issues

數字0去hoo當做調號

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'

Ku('bere3').POJ() 撇做 bère

>>> 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ⁿ'

Phe ê jī-sòo bô-kâng

Hàn-jī khah tn̂g.

我是董--ê。
Guá táng--ê.

Lô-má-jī khah tn̂g.

我董--ê。
Guá sī táng--ê.

Exception of tsuanTL(): Bô tsit-khuán im-tsiat 應該ài顯示是啥物音節

這警告根本 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

修bdist_wheel 設定

#32 有結論ài wheel,
Tsit-má CI 有設定煞bô出來wheel

CI設定

distributions: sdist bdist_wheel

結果

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]

藉詞建立句物件

  Scenario: 藉詞建立句物件
    Given 兩句 <hanlo> kah <lomaji> 做伙建立一 ê 句物件
     Then hanlo是 <kiatko_hanlo>
      And 選擇   "2" ê 詞斷做兩句
     Then 第1句taibun是 "我是"
      And 第2句taibun是 "Ke-si"

Ku('一', 'tsi̍t') 無法度轉 TL

漢羅文 kah 羅馬字對照 ē-īng-eh kā 轉做其他書寫

>>> Ku('一', 'tsi̍t').TL()

Exception of tsuanTL():   tsit-khuán im-tsiat

Tàn hun-sû kiàn-li̍p Kù 擲分詞建立句

Hun-sû sī sannh?

逐-家|tak8-ke1 做-伙|tso3-hue2 來|lai5 𨑨-迌|tshit4-tho5

Sī án-ná su-iàu hun-sû?

Huan-i̍k, piān-sik ài khuànn ta̍k-ê sû ê hàn-lô tuì-tsiàu.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.