1CREATEPYMB(1) General Commands Manual CREATEPYMB(1)
2
3
4
6 createPYMB, readPYBase, readPYMB, mb2org, scel2org - fcitx Pinyin
7 related tools
8
10 createPYMB <PinyinFile> <PhraseFile>
11
12 readPYBase [-b <PinyinMBFile>] [-h]
13
14 readPYMB [-f <PhraseMBFile>] [-s] [-h]
15
16 mb2org [-b <PinyinMBFile>] [-f <PhraseMBFile>] [-s] [-h]
17
18 scel2org [-o <Phrase File>] [-h]
19
21 -b <PinyinMBFile>
22 If not specified, it will read system default pybase.mb.
23
24 -f <PhraseMBFile>
25 If not specified, it will read user default PhraseMBFile, which
26 is ~/.config/fcitx/pyusrphrase.mb.
27
28 -s If specified, it will read PhraseMBFile as system format, other‐
29 wise will read it as user format.
30
31 -h display help and exit
32
33 Pinyin File
34 Pinyin File is a file with pinyin and one character per line,
35 seperated with space. One available file is in the source of
36 fcitx, named gbkpy.org.
37
38 Phrase File
39 Phrase File is a file with full pinyin seperated with ' and the
40 corresponding phrase. The default phrase file of fcitx can be
41 downloaded at http://fcitx.googlecode.com/files/pinyin.tar.gz.
42
43 Pinyin MB File
44 Pinyin MB File is the binary format of Pinyin File.
45
46 Phrase MB File
47 Phrase MB File is the binary format of Pinyin File, user's his‐
48 tory phrase mb file is ~/.config/fcitx/pyuserphrase.mb. There is
49 two different format, one is system format which can only gener‐
50 ated by createPYMB , and other is user format which can only
51 generated while input with fcitx Pinyin IM.
52
53 Output of createPYMB will be pybase.mb, which is Pinyin MB File, and
54 pyphrase.mb, which is Phrase MB File.
55
56 Output of mb2org, readPYBase and readPYMB will be stdout. readPYBase
57 and readPYMB are designed to output more debug message of Pinyin MB
58 File and Phrase MB File. mb2org will output in the format of Phrase
59 File.
60
61 scel2org is used for transform Sogou Scel File to Phrase File of fcitx.
62 Output of scel2org will be stdout if -o is not used.
63
65 Please see the homepage at http://www.fcitx.org/ and
66 http://fcitx.googlecode.com/
67
68
69
70
71 2010-12-16 CREATEPYMB(1)