Git Product home page Git Product logo

Comments (4)

leafpool243 avatar leafpool243 commented on August 16, 2024

rime/rime-cangjie#13 這裡有人說沒辦法,可是行列輸入法(rime-array)就有萬用字符

行列的「我」是lox,可以打l?x來輸入「我」,而且還會顯示正確的打法
圖片

from home.

ksqsf avatar ksqsf commented on August 16, 2024

可以實現。思路是使用 spelling algebra 生成帶萬用符的拼寫。正確打法提示可用 spelling_hints。

from home.

leafpool243 avatar leafpool243 commented on August 16, 2024

array30_query.schema.yaml 有一堆 regex, 但我完全看不懂

speller:
  alphabet: "abcdefghjiklmnopqrstuvwxyz;,./?"
  delimiter: "'"
  algebra:
    - xform/^(.*)!$/$1/                 # 簡碼
    - xform/^(.*)@$/$1/                 # 特別碼(須置於簡碼之後)
    # "?"萬用字元
    - derive/^([^?])([^?])?([^?])?[^?](i)?$/$1$2$3\?$4/   # .(.)(.)?(i)
    - derive/^([^?])([^?])[^?]([^?])(i)?$/$1$2\?$3$4/     # ..?.(i)
    - derive/^([^?])([^?])?[^?][^?](i)?$/$1$2\?\?$3/      # .(.)??(i)
    - derive/^([^?])[^?]([^?])([^?])?(i)?$/$1\?$2$3$4/    # .?.(.)(i)
    - derive/^([^?])[^?]([^?])[^?](i)?$/$1\?$2\?$3/       # .?.?(i)
    - derive/^([^?])[^?][^?]([^?])(i)?$/$1\?\?$2$3/       # .??.(i)
    - derive/^([^?])[^?][^?][^?](i)?$/$1\?\?\?$2/         # .???(i)
    - derive/^[^?]([^?])([^?])?([^?])?(i)?$/\?$1$2$3$4/   # ?.(.)(.)(i)
    - derive/^[^?]([^?])([^?])?[^?](i)?$/\?$1$2\?$3/      # ?.(.)?(i)
    - derive/^[^?]([^?])[^?]([^?])(i)?$/\?$1\?$2$3/       # ?.?.(i)
    - derive/^[^?]([^?])[^?][^?](i)?$/\?$1\?\?$2/         # ?.??(i)
    - derive/^[^?][^?]([^?])([^?])?(i)?$/\?\?$1$2$3/      # ??.(.)(i)
    - derive/^[^?][^?]([^?])[^?](i)?$/\?\?$1\?$2/         # ??.?(i)
    - derive/^[^?][^?][^?]([^?])(i)?$/\?\?\?$1$2/         # ???.(i)

可是我還是不懂它是如何知道array_query這個方案要用來做這件事

from home.

leafpool243 avatar leafpool243 commented on August 16, 2024

我以為看一下行列是怎麽做的就可以模仿,結果沒那麼容易 🤣

from home.

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.