Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用户导入的词库文件以何种方式存储? #459

Open
hwypengsir opened this issue Apr 7, 2024 · 1 comment
Open

用户导入的词库文件以何种方式存储? #459

hwypengsir opened this issue Apr 7, 2024 · 1 comment

Comments

@hwypengsir
Copy link

编辑一个用户词库文件

vim  /tmp/sample.txt
# 用户词汇
圣坛 shen'tan

导入完成后,查看

tree  .cache/ibus/pinyin
.cache/ibus/pinyin
├── english-user.db
└── user-1.0.db

1 directory, 2 files
 tree  /usr/share/ibus-libpinyin
/usr/share/ibus-libpinyin
├── base.lua
├── db
│   ├── english.db
│   ├── local.db
│   └── table.db
├── icons
│   ├── chinese.svg
│   ├── english.svg
│   ├── full-punct.svg
│   ├── full.svg
│   ├── half-punct.svg
│   ├── half.svg
│   ├── ibus-bopomofo.svg
│   ├── ibus-pinyin.svg
│   ├── simp-chinese.svg
│   └── trad-chinese.svg
├── network.txt
├── setup
│   ├── config.py
│   ├── dicttreeview.py
│   ├── ibus-libpinyin-preferences.ui
│   ├── keyboardshortcut.py
│   ├── main2.py
│   ├── __pycache__
│   │   ├── config.cpython-311.pyc
│   │   ├── dicttreeview.cpython-311.pyc
│   │   ├── keyboardshortcut.cpython-311.pyc
│   │   ├── main2.cpython-311.pyc
│   │   └── shortcuteditor.cpython-311.pyc
│   └── shortcuteditor.py
└── user.lua

究竟在哪里?

@epico
Copy link
Member

epico commented Apr 8, 2024

保存在用户目录中,文件路径 ~/.cache/ibus/libpinyin .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants