请问,我使用用了语言模型之后,词典里的词条就不出现在候选项里了,这是可能是什么问题?我是 ibus-rime,下面图片里是抄来的配置和现象。
我的主要配置:
# file: default.custom.yaml
patch:
schema_list:
- schema: luna_pinyin_simp
# file: luna_pinyin_simp.custom.yaml
patch:
translator:
dictionary: luna_pinyin_simp.extended
__include: octagram # 启用语言模型
# 语言模型
octagram:
__patch:
grammar:
language: amz-v2n3m1-zh-hans
# 命中的最长词组
collocation_max_length: 5
# 命中的最短词组,搭配词频健全的词库时候应当最小值设为3避开2字
# 高频词
collocation_min_length: 2
translator/contextual_suggestions: true
translator/max_homophones: 7
translator/max_homographs: 7
# file: luna_pinyin_simp.extended.dict.yaml
# Rime dictionary
# encoding: utf-8
#
---
name: luna_pinyin_simp.extended
version: "2015.12.02"
sort: by_weight
use_preset_vocabulary: false
import_tables:
- luna_pinyin
- dicts/base
- dicts/ext
- dicts/others
- dicts/tencent
- dicts/41448
- dicts/8105
...
另外,默认情况下,rime 是不是不支持带有声调的词典?
# Rime dictionary
# encoding: utf-8
#https://github.com/amzxyz/RIME-LMDG
# ------- 诗词-------
---
name: poetry
version: "LTS"
sort: by_weight
...
霭霭春空 ǎi ǎi chūn kōng 8
哀此孤生 āi cǐ gū shēng 8
哀此鳏寡 āi cǐ guān guǎ 8


