Skip to content

Instantly share code, notes, and snippets.

@lotem
Last active December 31, 2015 19:59
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lotem/f879a020d56ef9b3b792 to your computer and use it in GitHub Desktop.
Save lotem/f879a020d56ef9b3b792 to your computer and use it in GitHub Desktop.
自動上屏及頂字上屏測試(輸入「abd」→上屏「日月雲」)
# Rime dict
---
name: test
version: 0.1
...
日 a
月 b
星 c
雲 d
辰 abc
# Rime schema settings
# encoding: utf-8
schema:
schema_id: test
name: "Test"
version: "0.2"
author:
- Fred
description: |
Test
dependencies:
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
engine:
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- punct_translator
- table_translator
speller:
alphabet: "abcdefghijklmnopqrstuvwxyz"
delimiter: " '"
auto_select: true
translator:
dictionary: test
enable_sentence: false
sentence_over_completion: true
punctuator:
import_preset: default
key_binder:
import_preset: default
recognizer:
import_preset: default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment