Giter Club home page Giter Club logo

Comments (5)

ssnhd avatar ssnhd commented on August 19, 2024

无法复现,你在后面加个数字试试,如果是这个原因,请告知。

经测试和顺序无关,建议重新部署。

from rime.

crazywhalecc avatar crazywhalecc commented on August 19, 2024

image
image
image
image
image

这种情况是什么造成的,我打这句也是候选好多次才打正确。上面这些前面的词从来没打过。

from rime.

ssnhd avatar ssnhd commented on August 19, 2024

image image image image image

这种情况是什么造成的,我打这句也是候选好多次才打正确。上面这些前面的词从来没打过。

无法复现,建议备份个人词库,重新下载配置部署

from rime.

crazywhalecc avatar crazywhalecc commented on August 19, 2024

无法复现,建议备份个人词库,重新下载配置部署

目前主要是使用了朙月拼音的词库部份和英文部份,luna_pinyin_simp.custom.yaml 配置文件如下:

# 这个文件用于【朙月拼音简化字】的相关配置选项
patch:
  punctuator: 
    # 这个貌似是用于朙月拼音简化字的预置符号的
    import_preset: symbols
    # 这些是额外加出来的直接上屏的符号们
    half_shape:
      "#": "#"
      "*": "*"
      "`": "`"
      "~": "~"
      "@": "@"
      "=": "="
      '\': ""
      "/": "/"
      "%": "%"
      "$": "¥"
      "|": ["|", "|", "·"]
      "[": ""
      "]": ""
      "<": ""
      ">": ""
  # 启用罕见字過濾
  engine/filters:
    - simplifier
    - simplifier@emoji_conversion
    - uniquifier
    - charset_filter@gbk # (※3) GBK 过滤
    - single_char_filter
  # 改写拼写运算,含英文的词汇(luna_pinyin.cn_en.dict.yaml)不影响简拼
  "speller/algebra/@before 0": xform/^([b-df-hj-np-tv-z])$/$1_/
  # 载入朙月拼音扩充词库
  "translator/dictionary": luna_pinyin.extended
  # 加载easy_en依赖
  "schema/dependencies/@1": easy_en
  # 载入翻译英文的码表翻译器,取名为 english
  "engine/translators/@4": table_translator@english
  # english翻译器的设定项
  english:
    dictionary: easy_en
    spelling_hints: 9
    enable_completion: false # 是否启用英文输入联想补全
    enable_sentence: false # 混输时不出现带有图案的英文
    initial_quality: -0.5 # 英文候选词的位置, 数值越大越靠前。
  # 模糊拼音
  "speller/algebra":
    - erase/^xx$/ # 第一行保留

    # 模糊音定義先於簡拼定義,方可令簡拼支持以上模糊音
    - abbrev/^([a-z]).+$/$1/ # 簡拼(首字母)
    - abbrev/^([zcs]h).+$/$1/ # 簡拼(zh, ch, sh)

对于词库扩展,我是直接复制粘贴进来的,文件 luna_pinyin.extended.dict.yaml

# Rime dictionary
# encoding: utf-8
# Luna Pinyin Extended Dictionary(Basic)  - 明月拼音扩充词库(基本)

---
name: luna_pinyin.extended      # 词库名
version: "2021.02.07"
sort: by_weight                 # by_weight(按词频高低排序)或 original(保持原码表中的顺序)
use_preset_vocabulary: true     # true 或 false,选择是否导入预设词汇表【八股文】

import_tables:
  - luna_pinyin
  - luna_pinyin.chat
  - luna_pinyin.chengshi
  - luna_pinyin.gongcheng
  - luna_pinyin.nongye
  - luna_pinyin.renwen
  - luna_pinyin.shehui
  - luna_pinyin.shenghuo
  - luna_pinyin.yishu
  - luna_pinyin.yixue
  - luna_pinyin.youxi
  - luna_pinyin.yule
  - luna_pinyin.yundong
  - luna_pinyin.ziran

from rime.

crazywhalecc avatar crazywhalecc commented on August 19, 2024

此配置在小狼毫和鼠须管上面都成功复现,虽然输入一次正确的,就可以变到第一个,可是默认情况几乎一些很常见的词语,比如这句话里面的“可是”、“几乎”、“好用”、“不是”,都不是首要候选词:
image

from rime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.