Skip to content

Commit

Permalink
Moved Chinese and Taiwanese READMEs to readme folder
Browse files Browse the repository at this point in the history
  • Loading branch information
andreihar committed Apr 26, 2024
1 parent 2283a60 commit 69483f2
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 39 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[台語](README-oan.md) | [國語](README-cmn.md)
[台語](readme/README-oan.md) | [國語](readme/README-cmn.md)



Expand Down Expand Up @@ -107,7 +107,7 @@ c.to_traditional(input)
* `Tongiong` - [Daī-ghî Tōng-iōng Pīng-im][tongiong-wiki]

| text | Tailo | POJ | Zhuyin | TLPA | Pingyim | Tongiong |
|------|---------|---------|-------------|-----------|---------|----------|
| ---- | ------- | ------- | ----------- | --------- | ------- | -------- |
| 臺灣 | Tâi-uân | Tâi-oân | ㄉㄞˊ ㄨㄢˊ | Tai5 uan5 | Dáiwán | Tāi-uǎn |

#### Dialect
Expand All @@ -118,7 +118,7 @@ c.to_traditional(input)
* `north` - [Quanzhou][quanzhou-wiki]-leaning pronunciation

| text | south | north |
|--------|---------------|---------------|
| ------ | ------------- | ------------- |
| 五月節 | Gōo-gue̍h-tseh | Gōo-ge̍h-tsueh |

#### Format
Expand All @@ -130,7 +130,7 @@ c.to_traditional(input)
* `strip` - removes any tone marking

| text | mark | number | strip |
|------|---------|-----------|---------|
| ---- | ------- | --------- | ------- |
| 臺灣 | Tâi-uân | Tai5-uan5 | Tai-uan |

#### Delimiter
Expand All @@ -144,7 +144,7 @@ Default value depends on the chosen `system`:
* `' '` - for `Zhuyin`, `TLPA`

| text | '-' | '' | ' ' |
|------|---------|--------|---------|
| ---- | ------- | ------ | ------- |
| 臺灣 | Tâi-uân | Tâiuân | Tâi uân |

#### Sandhi
Expand All @@ -156,14 +156,14 @@ Default value depends on the chosen `system`:
* `True` - for `Tongiong`
* `False` - for `Tailo`, `POJ`, `Zhuyin`, `TLPA`, `Pingyim`

| text | False | True |
|----------|--------------|--------------|
| 馬來西亞 | Má-lâi-se-a | Ma-lāi-sē-a |
| text | False | True |
| -------- | ----------- | ----------- |
| 馬來西亞 | Má-lâi-se-a | Ma-lāi-sē-a |

Sandhi rules also change depending on the dialect chosen.

| text | no sandhi | south | north |
|------|-----------|---------|---------|
| ---- | --------- | ------- | ------- |
| 臺灣 | Tâi-uân | Tāi-uân | Tài-uân |

Note that the function is different from real sandhi rules, where changes are applied to every single syllable of the sentence, not just single words.
Expand All @@ -178,8 +178,8 @@ Note that the function is different from real sandhi rules, where changes are ap
* `format` (default) - converts Chinese-style punctuation to Latin-style punctuation and capitalises words at the beginning of each sentence.
* `none` - preserves Chinese-style punctuation and doesn't capitalise words at the beginning of new sentences.

| text | format | none |
|-|-|-|
| text | format | none |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| 這是臺南,簡稱「南」(白話字:Tâi-lâm;注音符號:ㄊㄞˊ ㄋㄢˊ,國語:Táinán)。 | Tse sī Tâi-lâm, kán-tshing "lâm" (Pe̍h-uē-jī: Tâi-lâm; tsù-im hû-hō: ㄊㄞˊ ㄋㄢˊ, kok-gí: Táinán). | tse sī Tâi-lâm,kán-tshing「lâm」(Pe̍h-uē-jī:Tâi-lâm;tsù-im hû-hō:ㄊㄞˊ ㄋㄢˊ,kok-gí:Táinán)。 |

### Tokeniser
Expand Down
28 changes: 14 additions & 14 deletions README-cmn.md → readme/README-cmn.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[台語](README-oan.md) | [English](README.md)
[台語](README-oan.md) | [English](../README.md)



<!-- PROJECT LOGO -->
<br />
<div align="center">
<a href="https://github.com/andreihar/taibun">
<img src="readme/logo.png" alt="Logo" width="90" height="80">
<img src="logo.png" alt="Logo" width="90" height="80">
</a>

# Taibun
Expand Down Expand Up @@ -107,7 +107,7 @@ c.to_traditional(input)
* `Tongiong` - [臺語通用拼音][tongiong-wiki]

| 文本 | Tailo | POJ | Zhuyin | TLPA | Pingyim | Tongiong |
|------|---------|---------|-------------|-----------|---------|----------|
| ---- | ------- | ------- | ----------- | --------- | ------- | -------- |
| 臺灣 | Tâi-uân | Tâi-oân | ㄉㄞˊ ㄨㄢˊ | Tai5 uan5 | Dáiwán | Tāi-uǎn |

#### Dialect
Expand All @@ -118,7 +118,7 @@ c.to_traditional(input)
* `north` - 發音更接近[泉州話][quanzhou-wiki]

| 文本 | south | north |
|--------|---------------|---------------|
| ------ | ------------- | ------------- |
| 五月節 | Gōo-gue̍h-tseh | Gōo-ge̍h-tsueh |

#### Format
Expand All @@ -130,7 +130,7 @@ c.to_traditional(input)
* `strip` - 刪除任何音調標記

| 文本 | mark | number | strip |
|------|---------|-----------|---------|
| ---- | ------- | --------- | ------- |
| 臺灣 | Tâi-uân | Tai5-uan5 | Tai-uan |

#### Delimiter
Expand All @@ -144,7 +144,7 @@ c.to_traditional(input)
* `' '` - 對於 `Zhuyin`, `TLPA`

| 文本 | '-' | '' | ' ' |
|------|---------|--------|---------|
| ---- | ------- | ------ | ------- |
| 臺灣 | Tâi-uân | Tâiuân | Tâi uân |

#### Sandhi
Expand All @@ -156,15 +156,15 @@ c.to_traditional(input)
* `True` - 對於 `Tongiong`
* `False` - 對於 `Tailo`, `POJ`, `Zhuyin`, `TLPA`, `Pingyim`

| 文本 | False | True |
|----------|--------------|--------------|
| 馬來西亞 | Má-lâi-se-a | Ma-lāi-sē-a |
| 文本 | False | True |
| -------- | ----------- | ----------- |
| 馬來西亞 | Má-lâi-se-a | Ma-lāi-sē-a |

變調規則也會根據所選擇的方言而變化。

| 文本 | 沒有變速 | south | north |
|------|---------|---------|---------|
| 臺灣 | Tâi-uân | Tāi-uân | Tài-uân |
| ---- | -------- | ------- | ------- |
| 臺灣 | Tâi-uân | Tāi-uân | Tài-uân |

請注意,該功能與真正的變調規則不同,真正的中文的變化適用於句子的每個音節,而不僅僅是單個單詞。

Expand All @@ -178,8 +178,8 @@ c.to_traditional(input)
* `format` (預設) - 將中文標點符號轉換為英文標點符號,並將每個句子開頭的單詞大寫
* `none` - 保留中文風格的標點符號,並且新句子開頭的單詞不大寫

| 文本 | format | none |
|-|-|-|
| 文本 | format | none |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| 這是臺南,簡稱「南」(白話字:Tâi-lâm;注音符號:ㄊㄞˊ ㄋㄢˊ,國語:Táinán)。 | Tse sī Tâi-lâm, kán-tshing "lâm" (Pe̍h-uē-jī: Tâi-lâm; tsù-im hû-hō: ㄊㄞˊ ㄋㄢˊ, kok-gí: Táinán). | tse sī Tâi-lâm,kán-tshing「lâm」(Pe̍h-uē-jī:Tâi-lâm;tsù-im hû-hō:ㄊㄞˊ ㄋㄢˊ,kok-gí:Táinán)。 |

### Tokeniser
Expand Down Expand Up @@ -301,7 +301,7 @@ t.tokenise("太空朋友,恁好!恁食飽未?")
[release-badge]: https://img.shields.io/github/v/release/andreihar/taibun?color=38618c&style=for-the-badge&label=發布
[release]: https://github.com/andreihar/taibun/releases
[licence-badge]: https://img.shields.io/github/license/andreihar/taibun?color=000000&style=for-the-badge&label=執照
[licence]: LICENSE
[licence]: ../LICENSE
[linkedin-badge]: https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white
[linkedin]: https://www.linkedin.com/in/andrei-harbachov/

Expand Down
28 changes: 14 additions & 14 deletions README-oan.md → readme/README-oan.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[國語](README-cmn.md) | [English](README.md)
[國語](README-cmn.md) | [English](../README.md)



<!-- PROJECT LOGO -->
<br />
<div align="center">
<a href="https://github.com/andreihar/taibun">
<img src="readme/logo.png" alt="Logo" width="90" height="80">
<img src="logo.png" alt="Logo" width="90" height="80">
</a>

# Taibun
Expand Down Expand Up @@ -107,7 +107,7 @@ c.to_traditional(input)
* `Tongiong` - [臺語通用拼音][tongiong-wiki]

| 文本 | Tailo | POJ | Zhuyin | TLPA | Pingyim | Tongiong |
|------|---------|---------|-------------|-----------|---------|----------|
| ---- | ------- | ------- | ----------- | --------- | ------- | -------- |
| 臺灣 | Tâi-uân | Tâi-oân | ㄉㄞˊ ㄨㄢˊ | Tai5 uan5 | Dáiwán | Tāi-uǎn |

#### Dialect
Expand All @@ -118,7 +118,7 @@ c.to_traditional(input)
* `north` - 發音較像[泉州話][quanzhou-wiki]

| 文本 | south | north |
|--------|---------------|---------------|
| ------ | ------------- | ------------- |
| 五月節 | Gōo-gue̍h-tseh | Gōo-ge̍h-tsueh |

#### Format
Expand All @@ -130,7 +130,7 @@ c.to_traditional(input)
* `strip` - 刪除任何音調標記

| 文本 | mark | number | strip |
|------|---------|-----------|---------|
| ---- | ------- | --------- | ------- |
| 臺灣 | Tâi-uân | Tai5-uan5 | Tai-uan |

#### Delimiter
Expand All @@ -144,7 +144,7 @@ c.to_traditional(input)
* `' '` - 對著 `Zhuyin`, `TLPA`

| 文本 | '-' | '' | ' ' |
|------|---------|--------|---------|
| ---- | ------- | ------ | ------- |
| 臺灣 | Tâi-uân | Tâiuân | Tâi uân |

#### Sandhi
Expand All @@ -156,15 +156,15 @@ c.to_traditional(input)
* `True` - 對著 `Tongiong`
* `False` - 對著 `Tailo`, `POJ`, `Zhuyin`, `TLPA`, `Pingyim`

| 文本 | False | True |
|----------|--------------|--------------|
| 馬來西亞 | Má-lâi-se-a | Ma-lāi-sē-a |
| 文本 | False | True |
| -------- | ----------- | ----------- |
| 馬來西亞 | Má-lâi-se-a | Ma-lāi-sē-a |

變調規則也會隨著選的方言而有所改變。

| 文本 | 沒有變速 | south | north |
|------|---------|---------|---------|
| 臺灣 | Tâi-uân | Tāi-uân | Tài-uân |
| ---- | -------- | ------- | ------- |
| 臺灣 | Tâi-uân | Tāi-uân | Tài-uân |

請注意,彼個功能佮真正的變調規則無仝,真正的華文的變化適用佇句子內部的每個音節,毋是只有個詞而已。

Expand All @@ -178,8 +178,8 @@ c.to_traditional(input)
* `format` (預設) - 將中文標點符號轉做英文標點符號,佮將每句頭前的詞大寫
* `none` - 保留中文風格的標點符號,佮新句開頭的詞毋大寫

| 文本 | format | none |
|-|-|-|
| 文本 | format | none |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| 這是臺南,簡稱「南」(白話字:Tâi-lâm;注音符號:ㄊㄞˊ ㄋㄢˊ,國語:Táinán)。 | Tse sī Tâi-lâm, kán-tshing "lâm" (Pe̍h-uē-jī: Tâi-lâm; tsù-im hû-hō: ㄊㄞˊ ㄋㄢˊ, kok-gí: Táinán). | tse sī Tâi-lâm,kán-tshing「lâm」(Pe̍h-uē-jī:Tâi-lâm;tsù-im hû-hō:ㄊㄞˊ ㄋㄢˊ,kok-gí:Táinán)。 |

### Tokeniser
Expand Down Expand Up @@ -301,7 +301,7 @@ t.tokenise("太空朋友,恁好!恁食飽未?")
[release-badge]: https://img.shields.io/github/v/release/andreihar/taibun?color=38618c&style=for-the-badge&label=發布
[release]: https://github.com/andreihar/taibun/releases
[licence-badge]: https://img.shields.io/github/license/andreihar/taibun?color=000000&style=for-the-badge&label=牌照
[licence]: LICENSE
[licence]: ../LICENSE
[linkedin-badge]: https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white
[linkedin]: https://www.linkedin.com/in/andrei-harbachov/

Expand Down

0 comments on commit 69483f2

Please sign in to comment.