4040<details open >
4141 <summary >目錄</summary >
4242 <ol >
43+ <li><a href="#版本">版本</a></li>
4344 <li><a href="#安裝">安裝</a></li>
4445 <li>
4546 <a href="#用法">用法</a>
6263 </li>
6364 <li><a href="#例">例</a></li>
6465 <li><a href="#數據">數據</a></li>
66+ <li><a href="#致謝">致謝</a></li>
6567 <li><a href="#牌照">牌照</a></li>
6668 </ol >
6769</details >
6870
6971
7072
73+ <!-- OTHER VERSIONS -->
74+ ## 版本
75+
76+ [ ![ JavaScript Version] [ js-badge ]] [ js-link ]
77+
78+
79+
7180<!-- INSTALL -->
7281## 安裝
7382
@@ -141,15 +150,15 @@ c.get(input)
141150
142151* ` '-' ` - 對著 ` Tailo ` , ` POJ ` , ` Tongiong `
143152* ` '' ` - 對著 ` Pingyim `
144- * ` ' ' ` - 對著 ` Zhuyin ` , ` TLPA `
153+ * ` ' ' ` - 對著 ` Zhuyin ` , ` TLPA ` , ` IPA `
145154
146155| 文本 | '-' | '' | ' ' |
147156| ---- | ------- | ------ | ------- |
148157| 台灣 | Tâi-uân | Tâiuân | Tâi uân |
149158
150159#### Sandhi
151160
152- ` sandhi ` String - 將 [ 台語變調規則] [ sandhi-wiki ] 做用佇單詞音節內 。
161+ ` sandhi ` String - 用 [ 台語變調規則] [ sandhi-wiki ] 。
153162
154163因為編碼所有變調法度困難,Taibun 提供濟種模式變調改換以支援自訂變調處理。
155164
@@ -160,12 +169,12 @@ c.get(input)
160169
161170預設值看所選的 ` system ` 決定:
162171
163- * ` True ` - 對著 ` Tongiong `
164- * ` False ` - 對著 ` Tailo ` , ` POJ ` , ` Zhuyin ` , ` TLPA ` , ` Pingyim ` , ` IPA `
172+ * ` auto ` - 對著 ` Tongiong `
173+ * ` none ` - 對著 ` Tailo ` , ` POJ ` , ` Zhuyin ` , ` TLPA ` , ` Pingyim ` , ` IPA `
165174
166- | 文本 | none | auto | exc_last | incl_last |
167- | ------------ | -------------------- | -------------------- | -------------------- | -------------------- |
168- | 這是台灣囡仔 | Tse sī Tâi-uân gín-á | Tse sì Tāi-uān gin-á | Tsē sì Tāi-uān gin-á | Tsē sì Tāi-uān gin-a |
175+ | 文本 | none | auto | exc_last | incl_last |
176+ | ---------------- | ------------------------- | -------------------------- | ------------------------- | ----- -------------------- |
177+ | 這是你的手機仔無 | Tse sī lí ê tshiú-ki-á bô | Tse sì li ē tshiu-kī-á bô? | Tsē sì li ē tshiu-kī-a bô | Tsē sì li ē tshiu-kī-a bō |
169178
170179變調規則也會隨著選的方言而有所改變。
171180
@@ -209,6 +218,8 @@ t.tokenise(input)
209218
210219### 其他的功能
211220
221+ 實用的台語 NLP 助手功能。
222+
212223``` python
213224# 轉換做繁體
214225to_traditional(input )
@@ -360,14 +371,14 @@ is_cjk('我食pháng')
360371[ contributions-badge ] : https://img.shields.io/badge/歡迎-貢獻協助-be132d?style=for-the-badge&logo=github
361372[ tests ] : https://github.com/andreihar/taibun/actions
362373[ tests-badge ] : https://img.shields.io/github/actions/workflow/status/andreihar/taibun/ci.yaml?style=for-the-badge&logo=github-actions&logoColor=ffffff&label=構建
363- [ contributors-badge ] : https://img.shields.io/github/contributors/andreihar/taibun?style=for-the-badge&label=貢獻者
364- [ contributors ] : #usage
365374[ release-badge ] : https://img.shields.io/github/v/release/andreihar/taibun?color=38618c&style=for-the-badge&label=發布
366375[ release ] : https://github.com/andreihar/taibun/releases
367376[ licence-badge ] : https://img.shields.io/github/license/andreihar/taibun?color=000000&style=for-the-badge&label=牌照
368377[ licence ] : ../LICENSE
369- [ linkedin-badge ] : https://img.shields.io/badge/LinkedIn-0077B5 ?style=for-the-badge&logo=linkedin&logoColor=white
378+ [ linkedin-badge ] : https://img.shields.io/badge/LinkedIn-0077b5 ?style=for-the-badge&logo=linkedin&logoColor=ffffff
370379[ linkedin ] : https://www.linkedin.com/in/andrei-harbachov/
380+ [ js-badge ] : https://img.shields.io/badge/JS_版本-f7df1e?style=for-the-badge&logo=javascript&logoColor=000000
381+ [ js-link ] : https://github.com/andreihar/taibun.js
371382
372383[ pypi ] : https://pypi.org/project/taibun
373384[ bug ] : https://github.com/andreihar/taibun/issues
0 commit comments