This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
# vim: set sw=2 sts=2 et: | |
# | |
# 在粵拼中啓用臺灣正體字形 | |
# 修改 reset: 爲 0~2 的值以指定默認字形 | |
patch: | |
engine/filters: | |
- simplifier@zh_simp | |
- simplifier@zh_tw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: set sw=2 sts=2 et: | |
# 用注音反查倉頡碼 | |
# 註:不支持用空格鍵輸入第一聲 | |
patch: | |
schema/dependencies: | |
- bopomofo | |
reverse_lookup: | |
dictionary: terra_pinyin | |
prism: bopomofo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var marisa = require('./index.js'); | |
var keyset = marisa.createKeyset(); | |
keyset.push_back("a"); | |
keyset.push_back("app"); | |
keyset.push_back("apple"); | |
var trie = marisa.createTrie(); | |
trie.build(keyset); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime schema: luna_pinyin | |
# _import: future.schema.yaml | |
--- | |
# no more need to create the patched file | |
_patch: 'luna_pinyin.custom.yaml:patch' | |
_import: luna_pinyin.prototype.yaml # replace the root node | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime schema | |
# vim: set sw=2 sts=2 et: | |
# encoding: utf-8 | |
schema: | |
schema_id: stenotype | |
name: 速記打字法 | |
version: "0.2" | |
author: | |
- 佛振 <chen.sst@gmail.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
for x in sys.stdin: | |
t = x.rstrip().split("\t") | |
if len(t) != 2: | |
print x, | |
continue | |
ch = t[0].decode('utf8') | |
if len(ch) != 1: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime dictionary | |
# vim: set ts=8 sw=8 noet: | |
# encoding: utf-8 | |
# | |
# kuankhiunn - 廣韻羅馬字 | |
# | |
# 基於Polyhedron、有女同車整理的《廣韻全字表》製作 | |
# 拼寫方案採用有女同車羅馬字,佛振根據有女同車的修改意見改編 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ShuangPin : | |
{ | |
ZiRanMa : | |
{ | |
YinJie : | |
{ | |
a="oa"; | |
ai="ol"; | |
an="oj"; | |
ang="oh"; |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime dictionary | |
# encoding: utf-8 | |
--- | |
name: cangjie_pinyin | |
version: "1.0" | |
sort: by_weight | |
use_preset_vocabulary: true | |
max_phrase_length: 5 | |
min_phrase_weight: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime schema settings | |
# encoding: utf-8 | |
schema: | |
schema_id: cangjie_quick | |
name: 倉頡+速成 | |
version: "0.1" | |
author: | |
- 佛振 <chen.sst@gmail.com> | |
description: | |
OlderNewer