Due to problem with the problem of custom phrase saving mechanism of win11, only the last current date phrase takes effect**
1. First find the specific path to the custom phrase storage file:%AppData%\Microsoft\InputMethod\Chs\
-
The pinyin input method is:
-
The Wubi input method is:
2. Download python script:/dcren/my-script-tools/blob/master/python/
-
Modify the .lex file name in the script to be the corresponding Wubi or pinyin file name
-
Modify custom phrases in the format
Enter character Candidate position Content
, separated by spaces, one custom phrase per line
3. If you have installed python environment, you can use the command linepython script path
Run directly
-
After the modification is completed, the modification will be prompted to be completed. Close the window
-
If the modification is not successful, you can try to run the script with the administrator, or see if the lex path and file name in the script are correct and if the custom phrase settings are correct.
Excerpted from the following:
/question/410885155
/scruel/36cb4614665acc5943ff8c563e884081