Skip to content

Commit 52a5da0

Browse files
committed
Updated translations for readme
1 parent 6a16598 commit 52a5da0

File tree

2 files changed

+40
-16
lines changed

2 files changed

+40
-16
lines changed

readme/README-cmn.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
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>
@@ -62,12 +63,20 @@
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

@@ -163,9 +172,9 @@ c.get(input)
163172
* `auto` - 對於 `Tongiong`
164173
* `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
# 轉換為繁體
214225
to_traditional(input)
@@ -364,8 +375,10 @@ is_cjk('我食pháng')
364375
[release]: https://github.com/andreihar/taibun/releases
365376
[licence-badge]: https://img.shields.io/github/license/andreihar/taibun?color=000000&style=for-the-badge&label=執照
366377
[licence]: ../LICENSE
367-
[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
368379
[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
369382

370383
[pypi]: https://pypi.org/project/taibun
371384
[bug]: https://github.com/andreihar/taibun/issues

readme/README-oan.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
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>
@@ -62,12 +63,20 @@
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
# 轉換做繁體
214225
to_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

Comments
 (0)