Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a roadmap/TodoList for JP schema #1

Open
InfinityLoop1308 opened this issue Jun 24, 2022 · 7 comments
Open

Add a roadmap/TodoList for JP schema #1

InfinityLoop1308 opened this issue Jun 24, 2022 · 7 comments

Comments

@InfinityLoop1308
Copy link

Hi. I am very happy to see someone is developing a JP schema for Trime. I'd like to help improve it to make it an alternative to Mozc.
A roadmap/Todolist will be helpful as a way to promote communication, since I am not using JP IME very often.

@Wenti-D
Copy link
Owner

Wenti-D commented Jun 27, 2022

Hello! I'm glad that someone can help me handle with these. I added something like todolist or directions recently, maybe you can check it.
I'm wondering whether using non-ascii characters like kana as input code is possible. If so, JP schema developing will be easier.

@InfinityLoop1308
Copy link
Author

Hello! I'm glad that someone can help me handle with these. I added something like todolist or directions recently, maybe you can check it. I'm wondering whether using non-ascii characters like kana as input code is possible. If so, JP schema developing will be easier.

Possibly yes but can not confirm. You may try it

@InfinityLoop1308
Copy link
Author

For your roadmap:
Theme: Can be solved using liquid keyboard.
Schema: hard to give a trivial solution.

回车直出平假名,而非内部编码;

If hana can be input directly, this should not be a problem.

增加符号词库(例如输入「ほし」会出现「☆」「★」等等)

No idea about where to find the dict.

扩展标点、符号输入(例如输入「=」会出现「≒」「≞」等等);

Maybe putting them in the liquid keyboard is a better solution.

输入预测(例如输入「あそ」会给出「遊ぶ」「遊び」等等)。

Seems still an issue even for Chinese.

@Wenti-D
Copy link
Owner

Wenti-D commented Jun 27, 2022

Well, for

扩展标点、符号输入(例如输入「=」会出现「≒」「≞」等等);

I'm inspired by other IMEs like GBoard and MS JP IME:

image

For

回车直出平假名

Actually at first I tried kana-as-code method, writing something like:

# schema
speller:
  alphabet: 'あいうえおかきくけこがぎぐげごさしすせそざじずぜぞたちつてとだぢづでどなにぬねのはひふへほばびぶべぼぱぴぷぺぽまみむめもやゆよらりるれろわをんぁぃぅぇぉゃゅょー'

# dict
ア	あ

But it cannot work.

Maybe I should consider lua script?

@InfinityLoop1308
Copy link
Author

Well, for

扩展标点、符号输入(例如输入「=」会出现「≒」「≞」等等);

I'm inspired by other IMEs like GBoard and MS JP IME: image

If you would like to do it in this way, you can just add dicts. You may use LunaPinyin as a reference.

For

回车直出平假名

Actually at first I tried kana-as-code method, writing something like:

# schema
speller:
  alphabet: 'あいうえおかきくけこがぎぐげごさしすせそざじずぜぞたちつてとだぢづでどなにぬねのはひふへほばびぶべぼぱぴぷぺぽまみむめもやゆよらりるれろわをんぁぃぅぇぉゃゅょー'

# dict
ア	あ

But it cannot work.

Maybe I should consider lua script?

I think you need to change the keyboard theme as well.

@InfinityLoop1308
Copy link
Author

BTW, I am very curious about where you find these dictionaries. Could you provide some information?

@Wenti-D
Copy link
Owner

Wenti-D commented Jul 4, 2022

I think you need to change the keyboard theme as well.

True. But the test above is after I change my theme, something like:
- {click: 'あ', label: あ}

BTW, I am very curious about where you find these dictionaries. Could you provide some information?

First I searched through GitHub and found this page, containing dicts now I use.
But it's out of date now, so I found newer versions on the web. All dict URLs are written in txts in dict_source.7z.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants