Git Product home page Git Product logo

pali-transliteration's Introduction

Pāli Transliteration

image

image

image

image

image

Convert thai script/Devanagari/Sinhalese/Burmese/... to/from romanized Pāli.

Development Environment: Ubuntu 20.04 and Go.

Table of Contents

Rules for Romanized Pāli to Thai (Traditional Chinese)

泰文字母-羅馬字母 巴利文轉換規則

(泰文鍵盤可以使用: Thai Keyboard - แป้นพิมพ์ไทย ,或者是在電腦裡安裝泰文輸入法)

子音對照

子音對照
泰文 羅馬拼寫
k
kh
g
gh
c
ch
j
jh
ñ
ṭh
ḍh
t
th
d
dh
n
p
ph
b
bh
m
y
r
l
v
s
h
(空子音, 見1 )

子母音組合

  • 泰文如天城體、緬文、柬埔寨文、寮文為元音附標文字 (Abugida),是以子音為主體,而母音是加在子音上、下、左、右。
  • 以下先列出巴利文母音的部分:
母音對照
泰文 羅馬拼寫
(見2 ) a
i
u
ā
ī
ū
เ - e
โ - o
  • 其他的母音中有出現 - 或是圈圈的部分,就是要塞上子音的,例如:
母音+子音
泰文 羅馬拼寫
ka
กิ ki
กุ ku
กา
กี
กู
เก ke
โก ko
  • 在泰文鍵盤上,除了-e, -o之外,都是先打子音,再輸入母音。只有 -e, -o 是先打母音,才打子音。

韻尾鼻音

  • 巴利文中的 ṃ ,在泰文中則是以 ํ 來表示,也就是在子音上加上一點圈圈。
  • 例如 kaṃ 泰文記為 กํ (先打ก再打 ํ), naraṃ 泰文記為 นรํ

重複子音

  • 以 bhikkhu 為例,若我們把這個詞拆分成 bhi - k - khu,那麼按照前面的規則 bhi 在泰文記為 ภิ ,khu 在泰文記為 ขุ,但是中間剩下的 k 該怎麼表示?尤其在泰文記法中,單獨出現的子音本身都內建短母音 a 了(見上方3 ,ก 本身即表示 ka)。所以需要另一個符號 ฺ 來表達除去短母音 a的子音,這個符號是在子音下加一點。
  • 因此,bhikkhu 在泰文將記為 ภิกฺขุ (打字順序:ภ ิ ก ฺ ข ุ)

特殊拼法

關於 kiṃ 的拼法,雖然理論上是使用 ก + ิ + ํ ,但三個打在一起會無法正常顯示,所以他們會採用 ก + ึ = กึ 來表示。

更多範例

規則如此,現在可以來看更多範例,從範例中熟悉:

  • buddhena -> พุทฺเธน
  • ahaṃ -> อหํ
  • buddhaṃ saraṇaṃ gacchāmi -> พุทฺธํ สรณํ คจฺฉามิ
  • namo tassa bhagavato -> นโม ตสฺส ภควโต
  • dhammāni -> ธมฺมานิ
  • gantvā -> คนฺตฺวา
  • mhi 會記為 มฺหิ
  • yha 會記為 ยฺห
  • mayhaṃ 會記為 มยฺหํ
  • aggimhi 會記為 อคฺคิมฺหิ
  • Buddha -> พุทฺธ
  • Buddh -> พุทฺธฺ
  • 凡是一個子音後面沒有接母音的,都需要在泰文子音下加一點。

UNLICENSE

Released in public domain. See UNLICENSE.

References


  1. 空子音 อ

    由於泰文的拼讀法無論如何都需要子音,像是 iti 的開頭 i- ,在羅馬拼法是沒有子音只有母音的,在泰文就必須塞進一個空子音,所以例如

    • iti 記為 อิติ
    • eva 記為 เอว
    • api 記為 อปิ (อ若單獨出現即表示無子音開頭音節的 a )
    • āji 記為 อาชิ
    • upa 記為 อุป
  2. 泰文拼法中,單個子音符號的出現,即預設短母音a。例如 กจ 即表示 kaca。

  3. 泰文拼法中,單個子音符號的出現,即預設短母音a。例如 กจ 即表示 kaca。

pali-transliteration's People

Contributors

puerdon avatar siongui avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

puerdon 37bodhi

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.