MediaWiki REL1_31
|
Functions | |
applyExcludes (mlist, path) | |
charManualTable (path) | |
customRules (path) | |
defaultWordsTable (src_wordlist, src_tomany, char_conv_table, char_reconv_table) | |
dictToSortedList (src_table, pos) | |
download (url, dest) | |
main () | |
manualWordsTable (path, conv_table, reconv_table) | |
parserCore (fp, pos, beginmark=None, endmark=None) | |
PHPArray (table) | |
phraseParser (path) | |
removeRules (path, table) | |
tablesParser (path, name) | |
toManyRules (src_table) | |
translate (text, conv_table) | |
tsiParser (path) | |
uncompress (fp, member, encoding='U8') | |
unichr (i) | |
unichr2 (*args) | |
unichr3 (*args) | |
unihanParser (path) | |
Variables | |
_unichr = unichr | |
tablesParser | ezbigParser = lambda path(path, 'EZ-Big.txt.in') |
str | islinux = 'linux' |
str | LIBTABE_VER = '0.2.3' |
open = codecs.open | |
pyversion = platform.python_version() | |
str | SCIM_PINYIN_VER = '0.5.92' |
str | SCIM_TABLES_VER = '0.5.13' |
str | SF_MIRROR = 'dfn' |
unichr = chr | |
str | UNIHAN_VER = '6.3.0' |
str | untargz |
str | unzip |
tablesParser | wubiParser = lambda path(path, 'Wubi.txt.in') |
tablesParser | zrmParser = lambda path(path, 'Ziranma.txt.in') |
Makefile.applyExcludes | ( | mlist, | |
path ) |
Apply exclude rules from path to mlist.
Definition at line 153 of file Makefile.py.
Referenced by main().
Makefile.charManualTable | ( | path | ) |
Makefile.customRules | ( | path | ) |
Definition at line 218 of file Makefile.py.
Referenced by main().
Makefile.defaultWordsTable | ( | src_wordlist, | |
src_tomany, | |||
char_conv_table, | |||
char_reconv_table ) |
Makefile.dictToSortedList | ( | src_table, | |
pos ) |
Definition at line 231 of file Makefile.py.
Referenced by main().
Makefile.download | ( | url, | |
dest ) |
Makefile.main | ( | ) |
Definition at line 302 of file Makefile.py.
References applyExcludes(), charManualTable(), customRules(), defaultWordsTable(), dictToSortedList(), download(), ezbigParser, main(), manualWordsTable(), PHPArray(), phraseParser(), removeRules(), toManyRules(), tsiParser(), unihanParser(), wubiParser, and zrmParser.
Referenced by main().
Makefile.manualWordsTable | ( | path, | |
conv_table, | |||
reconv_table ) |
Makefile.parserCore | ( | fp, | |
pos, | |||
beginmark = None, | |||
endmark = None ) |
Definition at line 83 of file Makefile.py.
Referenced by phraseParser(), tablesParser(), and tsiParser().
Makefile.PHPArray | ( | table | ) |
Definition at line 297 of file Makefile.py.
Referenced by main().
Makefile.phraseParser | ( | path | ) |
Read phrase_lib.txt and parse it.
Definition at line 116 of file Makefile.py.
References parserCore(), and untargz.
Referenced by main().
Makefile.removeRules | ( | path, | |
table ) |
Makefile.tablesParser | ( | path, | |
name ) |
Read file from scim-tables and parse it.
Definition at line 104 of file Makefile.py.
References parserCore(), and untargz.
Makefile.toManyRules | ( | src_table | ) |
Definition at line 176 of file Makefile.py.
Referenced by main().
Makefile.translate | ( | text, | |
conv_table ) |
Definition at line 235 of file Makefile.py.
Referenced by defaultWordsTable(), and manualWordsTable().
Makefile.tsiParser | ( | path | ) |
Read tsi.src and parse it.
Definition at line 124 of file Makefile.py.
References parserCore(), and untargz.
Referenced by main().
Makefile.uncompress | ( | fp, | |
member, | |||
encoding = 'U8' ) |
Definition at line 63 of file Makefile.py.
References print.
Makefile.unichr | ( | i | ) |
Definition at line 21 of file Makefile.py.
References _unichr.
Makefile.unichr2 | ( | * | args | ) |
Makefile.unichr3 | ( | * | args | ) |
Makefile.unihanParser | ( | path | ) |
Read Unihan_Variants.txt and parse it.
Definition at line 131 of file Makefile.py.
References unichr2(), and unzip.
Referenced by main().
|
protected |
Definition at line 19 of file Makefile.py.
Referenced by unichr().
tablesParser Makefile.ezbigParser = lambda path(path, 'EZ-Big.txt.in') |
Definition at line 111 of file Makefile.py.
Referenced by main().
str Makefile.islinux = 'linux' |
Definition at line 13 of file Makefile.py.
str Makefile.LIBTABE_VER = '0.2.3' |
Definition at line 43 of file Makefile.py.
Makefile.open = codecs.open |
Definition at line 18 of file Makefile.py.
Makefile.pyversion = platform.python_version() |
Definition at line 12 of file Makefile.py.
str Makefile.SCIM_PINYIN_VER = '0.5.92' |
Definition at line 42 of file Makefile.py.
str Makefile.SCIM_TABLES_VER = '0.5.13' |
Definition at line 41 of file Makefile.py.
str Makefile.SF_MIRROR = 'dfn' |
Definition at line 40 of file Makefile.py.
Makefile.unichr = chr |
Definition at line 28 of file Makefile.py.
str Makefile.UNIHAN_VER = '6.3.0' |
Definition at line 39 of file Makefile.py.
str Makefile.untargz |
Definition at line 79 of file Makefile.py.
Referenced by phraseParser(), tablesParser(), and tsiParser().
str Makefile.unzip |
Definition at line 76 of file Makefile.py.
Referenced by unihanParser().
tablesParser Makefile.wubiParser = lambda path(path, 'Wubi.txt.in') |
Definition at line 112 of file Makefile.py.
Referenced by main().
tablesParser Makefile.zrmParser = lambda path(path, 'Ziranma.txt.in') |
Definition at line 113 of file Makefile.py.
Referenced by main().