timdream / jszhuyin

JS 注音:JavaScript 自動選字注音輸入法;"Smart" Chinese Zhuyin Input Method in JavaScript.
https://jszhuyin.timdream.org/
MIT License
223 stars 19 forks source link

Lax-symbol matching (e.g. ㄣ/ㄥ, ㄌ/ㄖ) #17

Closed timdream closed 9 years ago

timdream commented 9 years ago

There are a few pairs of symbols, if the matching can be made more relaxed, it could help users to type more easily.

This can be done easily now the that we have JSZhuyinDataPackCollection to hold a collections of results.

Out of "correctness", the feature should be opted-in only.

timdream commented 9 years ago

Possible pairs:

ㄣㄥ ㄌㄖ ㄈㄏ ㄢㄤ

The underlining feature can be made freely set-able, but we would need a good UI to least all possible pairs. I don't think this can be a close list if we want to satisfy everyone, but input validation for a free form input box is going to be really painful...

timdream commented 9 years ago

ㄔㄘ ㄡ & ㄨㄛ ㄕㄙ

timdream commented 9 years ago

ㄇㄋ

timdream commented 9 years ago

ㄜㄦ

timdream commented 9 years ago

Feature completed but no UI on demo page yet.

timdream commented 9 years ago

ㄓㄗ

timdream commented 9 years ago

ㄌㄋ

this is going to collide with ㄇㄋ and ㄌㄖ

timdream commented 9 years ago

Fixed in 9bd639ca89f56307bebd58cca2ae8d1fdc1c9e00 and c81fdcf101e2a7209fc2927189b39f1482411884.