MediaWiki
1.23.5
|
Functions | |
def | applyExcludes (mlist, path) |
def | charManualTable (path) |
def | customRules (path) |
def | defaultWordsTable (src_wordlist, src_tomany, char_conv_table, char_reconv_table) |
def | dictToSortedList (src_table, pos) |
def | download (url, dest) |
def | main () |
def | manualWordsTable (path, conv_table, reconv_table) |
def | parserCore (fp, pos, beginmark=None, endmark=None) |
def | PHPArray (table) |
def | phraseParser (path) |
def | removeRules (path, table) |
def | tablesParser (path, name) |
def | toManyRules (src_table) |
def | translate (text, conv_table) |
def | tsiParser (path) |
def | uncompress (fp, member, encoding='U8') |
def | unichr (i) |
def | unichr2 (*args) |
def | unichr3 (*args) |
def | unihanParser (path) |
Variables | |
_unichr = unichr | |
def | ezbigParser = lambda path: tablesParser( path, 'EZ-Big.txt.in' ) |
string | islinux = 'linux' |
string | LIBTABE_VER = '0.2.3' |
open = codecs.open | |
pyversion = platform.python_version() | |
string | SCIM_PINYIN_VER = '0.5.92' |
string | SCIM_TABLES_VER = '0.5.13' |
string | SF_MIRROR = 'dfn' |
unichr = chr | |
string | UNIHAN_VER = '6.3.0' |
string | untargz = 'U8': \ |
string | unzip = 'U8': \ |
def | wubiParser = lambda path: tablesParser( path, 'Wubi.txt.in' ) |
def | zrmParser = lambda path: tablesParser( path, 'Ziranma.txt.in' ) |
def Makefile.applyExcludes | ( | mlist, | |
path | |||
) |
Apply exclude rules from path to mlist.
Definition at line 141 of file Makefile.py.
References open.
Referenced by main().
def Makefile.charManualTable | ( | path | ) |
def Makefile.customRules | ( | path | ) |
def Makefile.defaultWordsTable | ( | src_wordlist, | |
src_tomany, | |||
char_conv_table, | |||
char_reconv_table | |||
) |
def Makefile.dictToSortedList | ( | src_table, | |
pos | |||
) |
Definition at line 213 of file Makefile.py.
Referenced by main().
def Makefile.download | ( | url, | |
dest | |||
) |
Definition at line 40 of file Makefile.py.
Referenced by main(), and wfPHPVersionError().
def Makefile.main | ( | ) |
Definition at line 278 of file Makefile.py.
References applyExcludes(), charManualTable(), customRules(), defaultWordsTable(), dictToSortedList(), download(), ezbigParser, manualWordsTable(), open, PHPArray(), phraseParser(), removeRules(), set, toManyRules(), tsiParser(), unihanParser(), wubiParser, and zrmParser.
def Makefile.manualWordsTable | ( | path, | |
conv_table, | |||
reconv_table | |||
) |
Definition at line 229 of file Makefile.py.
References list, open, set, and translate().
Referenced by main().
def Makefile.parserCore | ( | fp, | |
pos, | |||
beginmark = None , |
|||
endmark = None |
|||
) |
Definition at line 74 of file Makefile.py.
References set.
Referenced by phraseParser(), tablesParser(), and tsiParser().
def Makefile.PHPArray | ( | table | ) |
Definition at line 274 of file Makefile.py.
Referenced by main().
def Makefile.phraseParser | ( | path | ) |
Read phrase_lib.txt and parse it.
Definition at line 105 of file Makefile.py.
References parserCore(), and untargz.
Referenced by main().
def Makefile.removeRules | ( | path, | |
table | |||
) |
def Makefile.tablesParser | ( | path, | |
name | |||
) |
Read file from scim-tables and parse it.
Definition at line 94 of file Makefile.py.
References parserCore(), and untargz.
def Makefile.toManyRules | ( | src_table | ) |
def Makefile.translate | ( | text, | |
conv_table | |||
) |
Definition at line 216 of file Makefile.py.
Referenced by defaultWordsTable(), CheckLanguageCLI.help(), manualWordsTable(), UzConverter.translate(), SrConverter.translate(), KuConverter.translate(), and KkConverter.translate().
def Makefile.tsiParser | ( | path | ) |
Read tsi.src and parse it.
Definition at line 113 of file Makefile.py.
References parserCore(), and untargz.
Referenced by main().
def Makefile.uncompress | ( | fp, | |
member, | |||
encoding = 'U8' |
|||
) |
Definition at line 55 of file Makefile.py.
References open.
def Makefile.unichr | ( | i | ) |
Definition at line 17 of file Makefile.py.
def Makefile.unichr2 | ( | * | args | ) |
def Makefile.unichr3 | ( | * | args | ) |
def Makefile.unihanParser | ( | path | ) |
Read Unihan_Variants.txt and parse it.
Definition at line 120 of file Makefile.py.
References unichr2(), and unzip.
Referenced by main().
|
private |
Definition at line 15 of file Makefile.py.
Referenced by unichr().
def Makefile.ezbigParser = lambda path: tablesParser( path, 'EZ-Big.txt.in' ) |
Definition at line 101 of file Makefile.py.
Referenced by main().
string Makefile.islinux = 'linux' |
Definition at line 9 of file Makefile.py.
string Makefile.LIBTABE_VER = '0.2.3' |
Definition at line 37 of file Makefile.py.
Makefile.open = codecs.open |
Definition at line 14 of file Makefile.py.
Referenced by applyExcludes(), lessc_formatter_classic.block(), PPDStackElement_Hash.breakSyntax(), PPDStackElement.breakSyntax(), charManualTable(), customRules(), PPDStackElement.getFlags(), main(), manualWordsTable(), removeRules(), and uncompress().
Makefile.pyversion = platform.python_version() |
Definition at line 8 of file Makefile.py.
string Makefile.SCIM_PINYIN_VER = '0.5.92' |
Definition at line 36 of file Makefile.py.
string Makefile.SCIM_TABLES_VER = '0.5.13' |
Definition at line 35 of file Makefile.py.
string Makefile.SF_MIRROR = 'dfn' |
Definition at line 34 of file Makefile.py.
Makefile.unichr = chr |
Definition at line 24 of file Makefile.py.
string Makefile.UNIHAN_VER = '6.3.0' |
Definition at line 33 of file Makefile.py.
string Makefile.untargz = 'U8': \ |
Definition at line 71 of file Makefile.py.
Referenced by phraseParser(), tablesParser(), and tsiParser().
string Makefile.unzip = 'U8': \ |
Definition at line 68 of file Makefile.py.
Referenced by unihanParser().
def Makefile.wubiParser = lambda path: tablesParser( path, 'Wubi.txt.in' ) |
Definition at line 102 of file Makefile.py.
Referenced by main().
def Makefile.zrmParser = lambda path: tablesParser( path, 'Ziranma.txt.in' ) |
Definition at line 103 of file Makefile.py.
Referenced by main().