Last active
September 6, 2024 03:44
-
-
Save lotem/5443073 to your computer and use it in GitHub Desktop.
導入碼表示例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# luna_pinyin.custom.yaml | |
# 修改字典名爲 luna_pinyin.kunki | |
# 其對應的用戶詞典名取句點之前部分即 luna_pinyin | |
patch: | |
translator/dictionary: luna_pinyin.kunki |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime dictionary | |
# encoding: utf-8 | |
--- | |
name: luna_pinyin.kunki | |
version: "2013.04.23" | |
sort: by_weight | |
use_preset_vocabulary: true | |
# 從 luna_pinyin.dict.yaml 導入包含單字的碼表 | |
import_tables: | |
- luna_pinyin | |
... | |
# table begins | |
# 自定義的詞條 | |
瑾昀 jin yun 100 | |
瑾昀 kun ki 100 | |
自動註音的詞 | |
又一個詞 | |
再一個詞 |
请问三个点是字面的三个点还是表示省略?
同问
---
...
此處 ---
和 ...
分別是YAML文檔的開始和結束標記。
在YAML語法裏這些標記不是必須的,但 *.dict.yaml
要求寫出,因爲後面的碼表部分不再是YAML格式。
是否支持包含非同级文件夹下的文件?
是否支持包含非同级文件夹下的文件?
按照指定的詞典名字在兩處數據文件夾依次查找文件。
沒有設計額外指定文件路徑的用法。
如何在 linux fcitx5 环境下使用 custom_phrase.txt 定义 「用户自定义短语」 呢?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请问三个点是字面的三个点还是表示省略?