CREATEPYMB(1)
π CREATEPYMB β the fcitx Pinyin tool squad π
okay bestie, so this is the createPYMB manual page from the General Commands Manual, and it's basically the whole girl gang of fcitx Pinyin tools: createPYMB, readPYBase, readPYMB, mb2org, and scel2org. they're all in here. let's go β¨
πΈ NAME πΈ
createPYMB, readPYBase, readPYMB, mb2org, scel2org β the fcitx Pinyin related tools, aka the friend group π
π SYNOPSIS π
createPYMB <PinyinFile> <PhraseFile>
readPYBase [-b <PinyinMBFile>] [-h]
readPYMB [-f <PhraseMBFile>] [-s] [-h]
mb2org [-b <PinyinMBFile>] [-f <PhraseMBFile>] [-s] [-h]
scel2org [-o <Phrase File>] [-h]
β¨ DESCRIPTION β¨
okay so first up, the flags β and note that these bad boys are shared across the tools, so pay attention π
-b<PinyinMBFile>β if you don't specify this, it's gonna read the system defaultpybase.mb. periodt.-f<PhraseMBFile>β if you don't specify this one, it reads your user defaultPhraseMBFile, which is literally~/.config/fcitx/pyusrphrase.mb. π«Ά-sβ if you pass this, it readsPhraseMBFileas system format; otherwise it reads it as user format. choose wisely bestie π-hβ display help and exit. the classic escape hatch. π¦
π Pinyin File π
Pinyin File is a file with pinyin and one character per line, separated with space. one available file lives in the source of fcitx, and it's named gbkpy.org. iconic. β¨
π Phrase File π
Phrase File is a file with full pinyin separated with ' and the corresponding phrase. the default phrase file of fcitx can be downloaded at http://fcitx.googlecode.com/files/pinyin.tar.gz. π
π Pinyin MB File π
Pinyin MB File is the binary format of Pinyin File. slay, but make it binary. π
π Phrase MB File π
Phrase MB File is the binary format of Pinyin File, and user's history phrase mb file is ~/.config/fcitx/pyuserphrase.mb. now listen, there are two different formats:
- one is system format, which can only be generated by
createPYMB - and the other is user format, which can only be generated while input with fcitx Pinyin IM
no cap, that's just how it is. π
okay so what actually comes OUT of these things? π
Output of createPYMB will be pybase.mb, which is Pinyin MB File, and pyphrase.mb, which is Phrase MB File. two files, one command, main character energy fr fr.
Output of mb2org, readPYBase and readPYMB will be stdout. readPYBase and readPYMB are designed to output more debug message of Pinyin MB File and Phrase MB File. mb2org will output in the format of Phrase File. π lowkey perfect
scel2org is used for transform Sogou Scel File to Phrase File of fcitx. Output of scel2org will be stdout if -o is not used. π§
π SEE ALSO π
Please see the homepage at https://fcitx-im.org/ β go look, bestie, it's giving essential reading π
and that's the whole page!! this one's from 2010-12-16, source/version tag CREATEPYMB(1) β vintage but still serving β¨π π«Ά
π¦ where this page comes from
- debian bookworm: fcitx-tools 1:4.2.9.9-1 Β· GPL-2.0-or-later
- debian trixie: fcitx-tools 1:4.2.9.9-2+b1 Β· GPL-2.0-or-later
- fedora 43: fcitx 4.2.9.9-10.fc43 Β· GPL-2.0-or-later
- fedora 44: fcitx 4.2.9.9-11.fc44 Β· GPL-2.0-or-later
- ubuntu jammy: fcitx-tools 1:4.2.9.8-5 Β· GPL-2.0-or-later
- ubuntu noble: fcitx-tools 1:4.2.9.9-2build2 Β· GPL-2.0-or-later
- ubuntu questing: fcitx-tools 1:4.2.9.9-2build3
- ubuntu resolute: fcitx-tools 1:4.2.9.9-2.1 Β· GPL-2.0-or-later
- ubuntu stonking: fcitx-tools 1:4.2.9.9-2.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms