gboard中文词库不是很大,如果一个一个添加个人字典就相对比较麻烦。
1.用UserDictionaryBackup,免root,可以批量导入个人字典。启用输入法-保存-导出,即可备份,备份文件在内存卡更目录,storage/emulated/0/backup.txt
启用输入法-读取-导入,即可恢复备份。
2.UserDictionary plus批量一清除个人字典,有时候批量导入的个人字典,会乱码,导致输入体验大大降低,就可以批量清空字典。
3.使用深蓝词库转换,将搜狗输入法等国产手机输入法,转换成可以导入手机字典的格式。
搜狗输入法细胞词库:https://pinyin.sogou.com/dict/
深蓝词库转换:https://github.com/studyzy/imewlconverter
转换成自定义短语:
["zh","编码","短语"],
backup.txt格式:转换之后的字典,放在[],建议使用notepad+进行编辑,编码用utf-8,不然容易出现乱码。
[["zh","aayunbo","吖吖云播"], ["zh","abigaier","阿比盖尔"], ["zh","abuchacha","阿部察察"], ["zh","abudoushalamu","阿不都沙拉木"], ["zh","abudouwaili","阿布都外力"]]4.下载:UserDictionary plus,UserDictionarybackup