頭擺提交

This commit is contained in:
Victor 2016-06-07 17:21:17 +08:00
commit 187f505437
6 changed files with 34432 additions and 0 deletions

36
README.md Normal file
View file

@ -0,0 +1,36 @@
# RIME輸入法 - 閩南語輸入方案
本方案是拼音輸入方案,採用臺灣教育部所設兮[臺灣閩南語羅馬字拼音方案](https://zh.wikipedia.org/wiki/臺灣閩南語羅馬字拼音方案)。
詞庫內底有一寡標音毋是標準臺羅,是為著欲兼容無仝所在兮腔口。佇咧實際使用,但使揤標準兮臺羅拼音就會用得。
## 使用方法
猶未完成
## 臺羅學習資源
* [臺羅拼音教學網](http://tailo.moe.edu.tw/)
* [臺羅拼音方案佮學習網](http://www.ntcu.edu.tw/tailo/sound.htm)
* [百度貼吧-閩南語吧](http://tieba.baidu.com/f?kw1=%C3%F6%C4%CF%D3%EF&kw=%C3%F6%C4%CF%D3%EF)
## 反饋
對標音抑是用字有任何意見,攏會使提**issue**來做伙參詳,或者是直接提交**pull request**。
若汝袂曉用github嘛會做得發送郵件予我本儂a-thok[at]outlook.com
歡迎咱逐个來鬥陣完善本方案,費神。
我頭路頂有淡薄仔無閒,凡勢無法度捷捷更新。歹勢!
---
本输入方案为拼音输入方案,采用台湾教育部所颁布的[臺灣閩南語羅馬字拼音方案](https://zh.wikipedia.org/wiki/臺灣閩南語羅馬字拼音方案)。
词库中有些标音非标准的台罗,这是为了兼容不同地区的腔调。实际使用时,只需要输入标准台罗即可。
## 使用方法
待完成
## 台罗学习资源
* [台罗拼音教学网](http://tailo.moe.edu.tw/)
* [台罗拼音方案及学习网](http://www.ntcu.edu.tw/tailo/sound.htm)
* [百度贴吧-闽南语吧](http://tieba.baidu.com/f?kw1=%C3%F6%C4%CF%D3%EF&kw=%C3%F6%C4%CF%D3%EF)
## 反馈
对于标音或者用字有任何意见,可以提交**issue**讨论,或者直接提交**pull request**。
如果你不是github用户也可以发送电子邮件给我本人a-thok[at]outlook.com
欢迎大家一起完善本方案,谢谢。

33631
banlam.dict.yaml Normal file

File diff suppressed because it is too large Load diff

185
blg_ha.schema.yaml Normal file
View file

@ -0,0 +1,185 @@
# Rime schema
# vim: set sw=2 sts=2 et:
# encoding: utf-8
schema:
schema_id: blg_ha
name: 閩南語廈門音
version: "1.0"
author:
- 阿托 <a-thok@outlook.com>
description: |
閩南語輸入方案
採用「臺灣閩南語羅馬字拼音方案」
http://www.ntcu.edu.tw/tailo/
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
- name: simplification
states: [ 漢字, 汉字 ]
engine:
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- echo_translator
- punct_translator
- r10n_translator
- reverse_lookup_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: 'zyxwvutsrqponmlkjihgfedcba~[/\]90-;'
initials: zyxwvutsrqponmlkjihgfedcba
delimiter: " '"
algebra:
- abbrev/^([ptkbgmlsch]h?).+$/$1/
- derive/^c/ts/
- derive/uih/ueh/
- derive/^j/l/
- derive/6/7/
- derive/Ia/io/
- derive/ee/e/
- derive/enn/inn/
- derive/^([mn]g?)ee/$1i
- derive/IR/i/ #魚韻讀i特字
- derive/ir/u/
- derive/ur/u/
- derive/er(h?)(.)/e$1$2/
- derive/Er/er/
- derive/Er/e/
- derive/ere/ue/
- derive/uIn?n?/ng/
- derive/iO/oo/
- derive/aInn/ing/
- derive/^ngaI/ging/
- derive/aI/ai/
- derive/^mue/mui/
- derive/ern(\d?\s?)/un$1/
- derive/erm/im/
- derive/^([a-z]+)\d$/$1/
- 'xlit 12345678 [/\]90-;'
translator:
dictionary: banlam
preedit_format:
- 'xform ([aeiou])(r?m?n*h?g?p?t?k?)([\[/\\\]90\-;]) $1$3$2'
- 'xform ([aeo])([iueo])([\[/\\\]90\-;]) $1$3$2'
- 'xform a\[ a'
- 'xform e\[ e'
- 'xform i\[ i'
- 'xform u\[ u'
- 'xform o\[ o'
- 'xform m\[ m'
- 'xform ng\[ ng'
- 'xform a/ á'
- 'xform e/ é'
- 'xform i/ í'
- 'xform u/ ú'
- 'xform o/ ó'
- 'xform m/ ḿ'
- 'xform ng/ ńg'
- 'xform a\\ à'
- 'xform e\\ è'
- 'xform i\\ ì'
- 'xform u\\ ù'
- 'xform o\\ ò'
- 'xform ng\\ ǹg'
- 'xform a\] a'
- 'xform e\] e'
- 'xform i\] i'
- 'xform u\] u'
- 'xform o\] o'
- 'xform mh\] mh'
- 'xform ngh\] ngh'
- 'xform a9 â'
- 'xform e9 ê'
- 'xform i9 î'
- 'xform u9 û'
- 'xform o9 ô'
- 'xform m9 m̂'
- 'xform ng9 n̂g'
- 'xform a0 ǎ'
- 'xform e0 ě'
- 'xform i0 ǐ'
- 'xform u0 ǔ'
- 'xform o0 ǒ'
- 'xform ng0 ňg'
- 'xform a- ā'
- 'xform e- ē'
- 'xform i- ī'
- 'xform u- ū'
- 'xform o- ō'
- 'xform m- m̄'
- 'xform ng- n̄g'
- 'xform a; a̍'
- 'xform e; e̍'
- 'xform i; i̍'
- 'xform u; u̍'
- 'xform o; o̍'
- 'xform mh; m̍h'
- 'xform ngh; n̍gh'
- 'xform w u'
- 'xform y i'
- 'xform c ts'
- 'xform q h'
reverse_lookup:
dictionary: luna_pinyin
prefix: "`"
tips: 〔拼音〕
preedit_format:
- xform/([nljqxy])v/$1ü/
punctuator:
import_preset: default
key_binder:
import_preset: default
bindings:
- { when: has_menu, accept: minus, send: minus } # 第7調
- { when: paging, accept: minus, send: Page_Up }
recognizer:
import_preset: default
patterns:
reverse_lookup: "`[a-z]*$"
style:
display_tray_icon: false
font_face: "Microsoft Jhenghei"
font_point: 12
fullscreen: false
horizontal: true
inline_preedit: false
layout:
border_width: 3
candidate_spacing: 5
hilite_padding: 2
hilite_spacing: 4
margin_x: 12
margin_y: 6
min_height: 0
min_width: 160
round_corner: 4
spacing: 10

194
blg_tai.schema.yaml Normal file
View file

@ -0,0 +1,194 @@
# Rime schema
# vim: set sw=2 sts=2 et:
# encoding: utf-8
schema:
schema_id: blg_tai
name: 閩南語臺灣音
version: "0.5"
author:
- 阿托 <a-thok@outlook.com>
description: |
閩南語輸入方案
採用「臺灣閩南語羅馬字拼音方案」
http://www.ntcu.edu.tw/tailo/
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
- name: simplification
states: [ 漢字, 汉字 ]
engine:
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- echo_translator
- punct_translator
- r10n_translator
- reverse_lookup_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: 'zyxwvutsrqponmlkjihgfedcba~[/\]90-;'
initials: zyxwvutsrqponmlkjihgfedcba
delimiter: " '"
algebra:
- abbrev/^([ptkbgmlsch]h?).+$/$1/
- derive/^c/ts/
- derive/uih/ueh/
#- derive/^j/l/ #偏泉腔j濫l
- derive/6/7/
- derive/Ia/io/
#- derive/Iang/iang/ #偏漳腔上讀siang
- derive/ee/e/
#- derive/enn/inn/ #偏泉腔enn濫inn
#- derive/^([mn]g?)ee/$1i #同上
- derive/IR/ir/
- derive/ir/u/
- derive/ir/i/
- derive/ur/u/
- derive/er(h?)(.)/ue$1$2/ #偏漳腔過讀kue
#- derive/er(h?)(.)/e$1$2/ #偏泉腔過讀ke
- derive/Er/e/
- derive/Er/er/ #鹿港
- derive/ere/e/ #偏漳腔雞讀ke
#- derive/ere/ue/ #偏泉腔雞讀kue
- derive/uIn?n?/ng/
- derive/^(k)uainn([357])/$1uan$2/
- derive/iO/oo/
- derive/IO/io/ #侯韻文讀特字
- derive/aInn/ing/
- derive/^ngaI/ging/
- derive/aI/ai/
- derive/^mue/mui/
- derive/ern/in/
- derive/ern(\d?\s?)/un$1/
- derive/ern/irn/
- derive/erm/im/
#- derive/^ji/gi/ #日母字讀g比論字讀gi
- derive/^([a-z]+)\d$/$1/
- 'xlit 12345678 [/\]90-;'
translator:
dictionary: banlam
preedit_format:
- 'xform ([aeiou])(r?m?n*h?g?p?t?k?)([\[/\\\]90\-;]) $1$3$2'
- 'xform ([aeo])([iueo])([\[/\\\]90\-;]) $1$3$2'
- 'xform a\[ a'
- 'xform e\[ e'
- 'xform i\[ i'
- 'xform u\[ u'
- 'xform o\[ o'
- 'xform m\[ m'
- 'xform ng\[ ng'
- 'xform a/ á'
- 'xform e/ é'
- 'xform i/ í'
- 'xform u/ ú'
- 'xform o/ ó'
- 'xform m/ ḿ'
- 'xform ng/ ńg'
- 'xform a\\ à'
- 'xform e\\ è'
- 'xform i\\ ì'
- 'xform u\\ ù'
- 'xform o\\ ò'
- 'xform ng\\ ǹg'
- 'xform a\] a'
- 'xform e\] e'
- 'xform i\] i'
- 'xform u\] u'
- 'xform o\] o'
- 'xform mh\] mh'
- 'xform ngh\] ngh'
- 'xform a9 â'
- 'xform e9 ê'
- 'xform i9 î'
- 'xform u9 û'
- 'xform o9 ô'
- 'xform m9 m̂'
- 'xform ng9 n̂g'
- 'xform a0 ǎ'
- 'xform e0 ě'
- 'xform i0 ǐ'
- 'xform u0 ǔ'
- 'xform o0 ǒ'
- 'xform ng0 ňg'
- 'xform a- ā'
- 'xform e- ē'
- 'xform i- ī'
- 'xform u- ū'
- 'xform o- ō'
- 'xform m- m̄'
- 'xform ng- n̄g'
- 'xform a; a̍'
- 'xform e; e̍'
- 'xform i; i̍'
- 'xform u; u̍'
- 'xform o; o̍'
- 'xform mh; m̍h'
- 'xform ngh; n̍gh'
- 'xform w u'
- 'xform y i'
- 'xform c ts'
- 'xform q h'
reverse_lookup:
dictionary: luna_pinyin
prefix: "`"
tips: 〔拼音〕
preedit_format:
- xform/([nljqxy])v/$1ü/
punctuator:
import_preset: default
key_binder:
import_preset: default
bindings:
- { when: has_menu, accept: minus, send: minus } # 第7調
- { when: paging, accept: minus, send: Page_Up }
recognizer:
import_preset: default
patterns:
reverse_lookup: "`[a-z]*$"
style:
display_tray_icon: false
font_face: "Microsoft Jhenghei"
font_point: 12
fullscreen: false
horizontal: true
inline_preedit: false
layout:
border_width: 3
candidate_spacing: 5
hilite_padding: 2
hilite_spacing: 4
margin_x: 12
margin_y: 6
min_height: 0
min_width: 160
round_corner: 4
spacing: 10

190
blg_tsiang.schema.yaml Normal file
View file

@ -0,0 +1,190 @@
# Rime schema
# vim: set sw=2 sts=2 et:
# encoding: utf-8
schema:
schema_id: blg_tsiang
name: 閩南語漳州音
version: "0.5"
author:
- 阿托 <a-thok@outlook.com>
description: |
閩南語輸入方案
採用「臺灣閩南語羅馬字拼音方案」
http://www.ntcu.edu.tw/tailo/
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
- name: simplification
states: [ 漢字, 汉字 ]
engine:
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- echo_translator
- punct_translator
- r10n_translator
- reverse_lookup_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: 'zyxwvutsrqponmlkjihgfedcba~[/\]90-;'
initials: zyxwvutsrqponmlkjihgfedcba
delimiter: " '"
algebra:
- abbrev/^([ptkbgmlsch]h?).+$/$1/
- derive/^c/ts/
- derive/uih/ueh/
- derive/6/7/
- derive/Ia/ia/
- derive/IR/ir/
- derive/ir/i/
- derive/ur/u/
- derive/er(h?)(.)/ue$1$2/
- derive/Er/e/
- derive/ere/e/
- derive/uainn/uenn/
- derive/^(k)uainn([357])/$1uan$2/
- derive/iO/oo/
- derive/aInn/an/
- derive/aInn/ing/
- derive/^ngaI/gan/
- derive/^ngaI/ging/
- derive/^mue/bue/
- derive/iunn/ionn/
- derive/niu/nio/
- derive/uee/ua/
- derive/ern/in/
- derive/ere/e/
- derive/uI/ui/
- derive/khIRR/khir/
- derive/ing/eng/ #漳南
- derive/oo/ou/ #漳南
- derive/^([ptkblghcjs])?e(\d)$/$1ei$2/ #漳南
- derive/^([a-z]+)\d$/$1/
- 'xlit 12345678 [/\]90-;'
translator:
dictionary: banlam
preedit_format:
- 'xform ([aeiou])(r?m?n*h?g?p?t?k?)([\[/\\\]90\-;]) $1$3$2'
- 'xform ([aeo])([iueo])([\[/\\\]90\-;]) $1$3$2'
- 'xform a\[ a'
- 'xform e\[ e'
- 'xform i\[ i'
- 'xform u\[ u'
- 'xform o\[ o'
- 'xform m\[ m'
- 'xform ng\[ ng'
- 'xform a/ á'
- 'xform e/ é'
- 'xform i/ í'
- 'xform u/ ú'
- 'xform o/ ó'
- 'xform m/ ḿ'
- 'xform ng/ ńg'
- 'xform a\\ à'
- 'xform e\\ è'
- 'xform i\\ ì'
- 'xform u\\ ù'
- 'xform o\\ ò'
- 'xform ng\\ ǹg'
- 'xform a\] a'
- 'xform e\] e'
- 'xform i\] i'
- 'xform u\] u'
- 'xform o\] o'
- 'xform mh\] mh'
- 'xform ngh\] ngh'
- 'xform a9 â'
- 'xform e9 ê'
- 'xform i9 î'
- 'xform u9 û'
- 'xform o9 ô'
- 'xform m9 m̂'
- 'xform ng9 n̂g'
- 'xform a0 ǎ'
- 'xform e0 ě'
- 'xform i0 ǐ'
- 'xform u0 ǔ'
- 'xform o0 ǒ'
- 'xform ng0 ňg'
- 'xform a- ā'
- 'xform e- ē'
- 'xform i- ī'
- 'xform u- ū'
- 'xform o- ō'
- 'xform m- m̄'
- 'xform ng- n̄g'
- 'xform a; a̍'
- 'xform e; e̍'
- 'xform i; i̍'
- 'xform u; u̍'
- 'xform o; o̍'
- 'xform mh; m̍h'
- 'xform ngh; n̍gh'
- 'xform w u'
- 'xform y i'
- 'xform c ts'
- 'xform q h'
reverse_lookup:
dictionary: luna_pinyin
prefix: "`"
tips: 〔拼音〕
preedit_format:
- xform/([nljqxy])v/$1ü/
punctuator:
import_preset: default
key_binder:
import_preset: default
bindings:
- { when: has_menu, accept: minus, send: minus } # 第7調
- { when: paging, accept: minus, send: Page_Up }
recognizer:
import_preset: default
patterns:
reverse_lookup: "`[a-z]*$"
style:
display_tray_icon: false
font_face: "Microsoft Jhenghei"
font_point: 12
fullscreen: false
horizontal: true
inline_preedit: false
layout:
border_width: 3
candidate_spacing: 5
hilite_padding: 2
hilite_spacing: 4
margin_x: 12
margin_y: 6
min_height: 0
min_width: 160
round_corner: 4
spacing: 10

196
blg_tsuan.schema.yaml Normal file
View file

@ -0,0 +1,196 @@
# Rime schema
# vim: set sw=2 sts=2 et:
# encoding: utf-8
schema:
schema_id: blg_tsuan
name: 閩南語泉州音
version: "1.0"
author:
- 阿托 <a-thok@outlook.com>
description: |
閩南語輸入方案
採用「臺灣閩南語羅馬字拼音方案」
http://www.ntcu.edu.tw/tailo/
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
- name: simplification
states: [ 漢字, 汉字 ]
engine:
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- echo_translator
- punct_translator
- r10n_translator
- reverse_lookup_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: 'zyxwvutsrqponmlkjihgfedcba~[/\]90-;'
initials: zyxwvutsrqponmlkjihgfedcba
delimiter: " '"
algebra:
- abbrev/^([ptkbgmlsch]h?).+$/$1/
- derive/^c/ts/
- derive/uih/ueh/
- derive/^j/l/
- derive/Ia/io/
- derive/ee/e/
- derive/enn/inn/
- derive/^([mn]g?)ee/$1i/
- derive/ur/ir/
- derive/Er/er/
- derive/ere/ue/
- derive/uIn?n?/ng/
- derive/uainn/uinn/
- derive/iO/io/
- derive/(t?sh?)iO/$1o/
- derive/aI/ui/
- derive/aI/ai/
- derive/^mue/mui/
- derive/ern(\d?\s?)/un$1/
- derive/ern/irn/
- derive/IR/ir/
- derive/oO/oo/
- derive/ik/iak/ #市區、海口
#- derive/erng/ng/ #市區、海口
#- derive/7/3/ #陰陽去本調
#- derive/ir/i/ #海口腔
#- derive/er(h?)(.)/e$1$2/ #海口腔
#- derive/6/1/ #海口腔
#- derive/iO/er/ #永春
#- derive/aInn/ing/ #山內腔(永春、安溪…)
#- derive/naI/ling/ #山內腔
#- derive/ngaI/ging/ #山內腔
#- derive/ia?m/em/ #惠安
#- derive/ia?n/en/ #惠安
- derive/erm/im/ #「鑫」、「欣」讀做im韻
- derive/^([a-z]+)\d$/$1/
- 'xlit 12345678 [/\]90-;'
translator:
dictionary: banlam
preedit_format:
- 'xform ([aeiou])(r?m?n*h?g?p?t?k?)([\[/\\\]90\-;]) $1$3$2'
- 'xform ([aeo])([iueo])([\[/\\\]90\-;]) $1$3$2'
- 'xform a\[ a'
- 'xform e\[ e'
- 'xform i\[ i'
- 'xform u\[ u'
- 'xform o\[ o'
- 'xform m\[ m'
- 'xform ng\[ ng'
- 'xform a/ á'
- 'xform e/ é'
- 'xform i/ í'
- 'xform u/ ú'
- 'xform o/ ó'
- 'xform m/ ḿ'
- 'xform ng/ ńg'
- 'xform a\\ à'
- 'xform e\\ è'
- 'xform i\\ ì'
- 'xform u\\ ù'
- 'xform o\\ ò'
- 'xform ng\\ ǹg'
- 'xform a\] a'
- 'xform e\] e'
- 'xform i\] i'
- 'xform u\] u'
- 'xform o\] o'
- 'xform mh\] mh'
- 'xform ngh\] ngh'
- 'xform a9 â'
- 'xform e9 ê'
- 'xform i9 î'
- 'xform u9 û'
- 'xform o9 ô'
- 'xform m9 m̂'
- 'xform ng9 n̂g'
- 'xform a0 ǎ'
- 'xform e0 ě'
- 'xform i0 ǐ'
- 'xform u0 ǔ'
- 'xform o0 ǒ'
- 'xform ng0 ňg'
- 'xform a- ā'
- 'xform e- ē'
- 'xform i- ī'
- 'xform u- ū'
- 'xform o- ō'
- 'xform m- m̄'
- 'xform ng- n̄g'
- 'xform a; a̍'
- 'xform e; e̍'
- 'xform i; i̍'
- 'xform u; u̍'
- 'xform o; o̍'
- 'xform mh; m̍h'
- 'xform ngh; n̍gh'
- 'xform w u'
- 'xform y i'
- 'xform c ts'
- 'xform q h'
reverse_lookup:
dictionary: luna_pinyin
prefix: "`"
tips: 〔拼音〕
preedit_format:
- xform/([nljqxy])v/$1ü/
punctuator:
import_preset: default
key_binder:
import_preset: default
bindings:
- { when: has_menu, accept: minus, send: minus } # 第7調
- { when: paging, accept: minus, send: Page_Up }
recognizer:
import_preset: default
patterns:
reverse_lookup: "`[a-z]*$"
style:
display_tray_icon: false
font_face: "Microsoft Jhenghei"
font_point: 12
fullscreen: false
horizontal: true
inline_preedit: false
layout:
border_width: 3
candidate_spacing: 5
hilite_padding: 2
hilite_spacing: 4
margin_x: 12
margin_y: 6
min_height: 0
min_width: 160
round_corner: 4
spacing: 10