You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/faq.en.md
+36-7Lines changed: 36 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,12 @@ Some frequently asked questions.
4
4
5
5
## How to import table
6
6
7
-
[fcitx5-android#175](https://github.com/fcitx5-android/fcitx5-android/pull/175) adds the support of importing table based input method, so after `0.0.3-43`, you can import table using following steps:
7
+
[fcitx5-android#175](https://github.com/fcitx5-android/fcitx5-android/pull/175) adds the support of importing table based input method, so after `0.0.3-43`, you can import table with following steps:
8
8
9
9
1. Obtain the configuration file of the input method (the filename extension should be `.conf` or `.conf.in`) and table dictionary (the filename extension should be `.dict` or `.txt`) to be imported. Take "zhengma" as an example, you can download `zhengma.conf.in` and `zhengma.txt` at [fcitx/fcitx5-table-extra](https://github.com/fcitx/fcitx5-table-extra).
10
10
2. Open the App, navigate to Addons → Table (click the gear button on the right) → Manage Table Input Methods, and click the plus button in the lower right corner. Select the second term, i.e. "From separate files", in the dialog that pops up.
11
11
3. In the new dialog, click "Input method configuration file" and select `zhengma.conf.in` obtained in step 1; click "Table dictionary" and select `zhengma.txt` obtained in step 1; and click OK button.
12
-
4. A notification of "Importing zheng,a.conf.in" should be created by the App. If the file are correct, the operation may take a few seconds. Then, you will see "Zhengma" in the list.
12
+
4. A notification of "Importing zheng,a.conf.in" should be created by the App. If the files are correct, the operation may take a few seconds. Then, you will see "Zhengma" in the list.
13
13
14
14
## How to import table manually
15
15
@@ -25,7 +25,7 @@ In order to import a table manually, you need to have a correct input method con
25
25
26
26
!!! warning
27
27
28
-
Above absolute paths may not apply if you configured [work profile](https://developer.android.com/work/versions/android-11#work).
28
+
Absolute paths above may not apply if you configured [work profile](https://developer.android.com/work/versions/android-11#work).
29
29
We recommend using the builtin file manager (via DocumentsUI) to manage the data of Fcitx5 for Android.
30
30
You can access the files in `/sdcard/Android/data/org.fcitx.fcitx5.android/files/` by selecting "Fcitx 5 for Android" in the sidebar of DocumentsUI. No third-party file manager/adb/root permission are required.
31
31
@@ -75,15 +75,44 @@ The input history and user dinctionary for Pinyin/Shuangpin are at `data/pinyin/
75
75
76
76
!!! warning
77
77
78
-
Above absolute paths may not apply if you configured [work profile](https://developer.android.com/work/versions/android-11#work).
78
+
Absolute paths above may not apply if you configured [work profile](https://developer.android.com/work/versions/android-11#work).
79
79
We recommend using the builtin file manager (via DocumentsUI) to manage the data of Fcitx5 for Android.
80
80
You can access the files in `/sdcard/Android/data/org.fcitx.fcitx5.android/files/` by selecting "Fcitx 5 for Android" in the sidebar of DocumentsUI. No third-party file manager/adb/root permission are required.
81
81
82
82
## How to import Pinyin dictionary
83
83
84
-
Fcitx 5 supports custom dictionaries. They are stored in `data/pinyin/dictionaries`.
85
-
Fcitx 5 for Android registers three supported file types: `.dict`, `.scel`, and `.txt`, so uou can import the the dictionary by opening the file with Fcitx5 for Android.
86
-
You can also manage the dictionary using *Pinyin Dictionaries* in settings.
84
+
Fcitx 5 supports custom pinyin dictionaries, which are stored in `data/pinyin/dictionaries`.
85
+
Fcitx 5 for Android registers three supported file types: `.dict`, `.scel`, and `.txt`, so you can import the the dictionary by opening the file with Fcitx5 for Android.
86
+
87
+
!!! hint
88
+
89
+
You can also manage dictionaries using *Pinyin Dictionaries* in settings.
90
+
91
+
## What's the format of Pinyin dictionary
92
+
93
+
The pinyin dictionary to be imported has to be in one of the following three formats:
94
+
95
+
*[sougou scel dict](https://pinyin.sogou.com/dict/), a `.scel` file
96
+
* libime text format, a `.txt` file where word, full pinyin, and weight form into three columns, e.g.
97
+
```
98
+
拼音 pin'yin 0
99
+
```
100
+
* libime binary format, a `.dict` file which can be converted from text format using command line tool `libime_pinyindict`
101
+
102
+
103
+
We recommend using `.txt` format if you want to make your own dictionary.
104
+
105
+
!!! note
106
+
107
+
When importing `.scel` or `.txt` dictionary, it will be automatically converted into `.dict` format.
108
+
109
+
!!! hint
110
+
111
+
You may refer to the builtin [emoji dictionary](https://github.com/fcitx/fcitx5-chinese-addons/blob/5.0.16/im/pinyin/emoji.txt) as an example of libime text format.
112
+
113
+
!!! hint
114
+
115
+
Some third-party pinyin dictionaries may provide libime binary format ready to be imported, such as [fcitx5-pinyin-zhwiki](https://github.com/felixonmars/fcitx5-pinyin-zhwiki) and [mw2fcitx](https://github.com/outloudvi/mw2fcitx).
87
116
88
117
## How to input emoticon, emoji, or specific unicode symbol
0 commit comments