悟了

悟了

悟了 污了 误了 吴乐 无了
twitter

Setting Method for Sogou Word Library in XiaoLanHao

Importing Sogou Personal Word Library into Xiaoheimei#

Backup Sogou Personal Word Library#

Sogou Input Method Settings -> Property Settings -> Word Library -> Chinese Word Library -> Export/Backup

Backup your personal word library to your computer. Follow the steps below and export the file as Sogou Word Library Backup_2023_8_10.bin

Note: The latest version of Sogou Input Method's exported word library cannot be converted. Here provides an older version 12.2.0.6275 that has been tested and works.

Convert Sogou Personal Word Library#

Then download Deep Blue Dictionary Conversion Download, unzip and open the software, and select the backed up Sogou personal word library file as shown below.

Set the conversion options as shown below.

Save the word library file as a txt file.

Importing the Word Library into Xiaoheimei Input Method#

Right-click the Xiaoheimei input method icon in the lower right corner, select User Dictionary Management

Select the current dictionary, click Import Text Code Table at the bottom right, and select the txt text file that was just converted.

Converting Sogou Cell Word Library to Xiaoheimei Word Library#

There are two methods to convert Sogou Cell Word Library to Xiaoheimei Word Library.

1. Using Deep Blue Dictionary Conversion#

Use Deep Blue Dictionary Conversion as mentioned above to convert the cell word library to a txt file, and then import it using Xiaoheimei dictionary management.

2. Using Python to Batch Convert scel to Xiaoheimei Dictionary File#

Download the scel2txt.py file Download

Sogou Dictionary Download Address https://pinyin.sogou.com/dict/

Create a new scel folder and place all downloaded cell word libraries (.scel) in this directory.

The final directory structure is as follows:

Then execute scel2txt.py to convert all the word library files.

The output results are in the out folder in the same directory.

Save the output luna_pinyin.sogou.dict.yaml to the Xiaoheimei user folder.

Modify weasel.custom.yaml to include the following content, save it, and redeploy.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.