Git Product home page Git Product logo

jscin's Introduction

JavaScript based Chinese Input Method

Porting input method environment (IME) everywhere is painful, especially when
you failed to find your favorite IME on new tablet / phone devices. It would be
great if we can have IME as web browser extension since it'll be easy to sync
your favorite input method everywhere. Moreoever, some OS like Google ChromeOS
does not allow installing userland native programs (it supports NaCl more
widely after we've started this project).

Chrome browser now supports an "extension API":
http://dev.chromium.org/developers/design-documents/extensions/input-method-editor

This project is a JavaScript implementation of Chinese Input Method that is
compatible with XCIN 2.5 to serve ChromeOS and other platforms allowing IMEs
implemented in JavaScript.

jscin's People

Contributors

google-admin avatar hungte avatar johnathan79717 avatar kcwu avatar mathiasrw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jscin's Issues

實驗中的倚天輸入法(et26)

目前的卡關及困難點:
1.ㄘ的辨識有問題,有可能是'上標逗號符號無法辨識,期望��
�找到解決方法,否則未來應該會把把該字元換位置
2.無法寫出自動選字的模組,必須如同傳統的ㄅ半手動選字,
期望能找到解決方法
3.在jscin模式下,被反白的字元會自動被刪除,例如:選擇修�
��檔案名稱,右鍵點選檔案後,選擇重新命名,被選擇的檔案
,其檔名會直接消失,只剩下副檔名,期望能找到解決方法

倚天輸入法,持續研發中~~

Original issue reported on code.google.com by [email protected] on 2 Feb 2015 at 7:49

Attachments:

注音輸入法建議考慮聲母韻母與聲調順序

快速打字的時候, 偶爾有聲母韻母順序錯掉的問題. 例如:

  ㄨㄈ/  

如果可以自動調整順序, 將可以讓輸入速度變快.

有個簡單的方法是將所有的注音符號對應到四個位置中的一��
�, 例:

  聲母(ㄅㄆㄈ)   韻母0(一ㄨㄩ)  韻母1(ㄢㄣㄤ...)  聲調

每次輸入時都照這個順序安置, 即可解決這個問題.

Original issue reported on code.google.com by [email protected] on 4 Sep 2013 at 2:39

Difference for commit-on-blur

What steps will reproduce the problem?
1. Enable IME with lcch (ex, chewing)
2. Do some composition so lcch is not empty (and the setComposition contains 
text)
3. Click somewhere else

What is the expected output? What do you see instead?
On ChromeOS, all in setComposition is committed, but the internal lcch is still 
hold.
On Chrome, nothing is committed - simply kept in lcch

What version of the product are you using? On what operating system?
ChromeOS ToT / Chrome R28~31

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 6 Oct 2013 at 3:30

JS error even jscin is disabled on non-ChromeOS

What steps will reproduce the problem?
1. Maks sure you disable jscin for non-ChromOS
2. Open a webpage
3. Open Chrome developer console, then switch to Console tab

What is the expected output? What do you see instead?
No jscin js error

What version of the product are you using? On what operating system?
Version 30.0.1599.66 beta, Mac OS

Please provide any additional information below.

Error in event handler for (unknown): TypeError: Cannot read property 'debug' 
of undefined
    at chrome-extension://cdkhibgadomdghgnknpmgegpjjmfecfk/input_api/impl_chromeext.js:308:27
    at messaging:319:11
    at Function.target.(anonymous function) (extensions::SafeBuiltins:19:14)
    at Event.dispatchToListener (event_bindings:382:22)
    at Event.dispatch_ (event_bindings:367:27)
    at Event.dispatch (event_bindings:388:17)
    at dispatchOnDisconnect (messaging:279:27) 

Original issue reported on code.google.com by [email protected] on 6 Oct 2013 at 3:25

Handling of input state after special key

For example, in zhuyin.

Case 1.
1. Input "5j/ " and it enters selection mode.
2. press [Right]
Even after the cursor moves right, the selection window will show.
(I feel this is good behavior)

Case 2.
1. Input "5j/". Pre-edit window still show because it didn't enter selection 
mode.
2. press [Right]
After the cursor moves right, pre-edit window disappears.
(I feel this is confusing behavior. There are states hidden to users)


There are two solutions:
1. Always clear input states after special key. or
2. Still show pre-edit window for case 2.

Original issue reported on code.google.com by [email protected] on 12 Sep 2013 at 5:10

無法輸入

升級 Google Chrome 作業系統 版本 70.0.3538.34 (正式版本) beta (64 位元)
後 JsCIN 就無法正常輸入了。請問需要如何處理?感謝

Cannot input Phonetic anymore

Way to reproduce: press the following key sequence when Phonetic is enabled:

  1 (ㄅ)
  2 (ㄉ)
  Down key

Then ㄅㄉ is shown. However, if you pres Up key, the ㄅㄉ is repeated 
unexpectedly. If you try to enter another symbols, it only shows symbols 
instead of Chinese character. Like

  ㄕㄥㄉ  where ㄉ is what I meant to select the 2nd candidate character in list.


Original issue reported on code.google.com by [email protected] on 4 Sep 2013 at 2:45

Can't load table from Google Drive

What steps will reproduce the problem?
1. "Add Input Table from Google Drive"
2. oauth accepted
3. "Add Input Method Table" pops up
4. optionally select from the dropdown, then hit OK
5. JS error

What is the expected output? What do you see instead?

EXPECT: perhaps a file selector for Google Drive
ACTUAL: javascript error
  Uncaught TypeError: Cannot read property '0' of undefined
  addTableDrive options.js:243

What version of the product are you using? On what operating system?
Chrome OS 30.0.1599.21 dev

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 3 Sep 2013 at 9:08

Related Text (associated words) does not always work

There are several issues here.

1. The help messages said you have to press Shift+Number.
   However that does not work - actually we can't press Shift.

2. Some IMs (to be more specific, those without auto_compose) like
   注音 or 簡易 , fail to use it.

Original issue reported on code.google.com by [email protected] on 29 Jul 2014 at 4:02

Does not work for gmail (non-chromeos)

What steps will reproduce the problem?
1. browse http://gmail.com
2. try to reply

What is the expected output? What do you see instead?
Expected: IME appears
Actual: never appear

Please use labels and text to provide additional information.
1. gmail users [contenteditable] attribute with div.
2. gmail creates composition window dynamically

Original issue reported on code.google.com by [email protected] on 4 Sep 2013 at 12:37

無瞎米多個候選字時,要按兩次空白鍵,才能選第一個字

例如: 要輸入「活」這個字時,打 WGO 
會出現三個候選字,如果要選第一個字,要連續按兩個空白��
�。與 Windows 上的習慣不同。

如果要選第二個字,要先按一次空白鍵,再按 2 
才行。由於數字鍵並不是無瞎米的字碼,空白鍵顯得有點多��
�。

注音也有一樣的問題,出現在一聲的字時。例如要輸入「因��
�,打完一ㄣ後,要按一次空白鍵,才能選 1 的因字。

Original issue reported on code.google.com by [email protected] on 12 Sep 2013 at 10:16

Main menu items will come to no-reaction after keyboard removed physically with Lenovo IdeaPad Duet

Dear Sir,
very appreciate for this works which let me can input with Traditional BoPoMoFo with my Lenovo IdeaPad Duet.
Basically this project works great without much trouble.
But after some test I found that when I select JsCIN as current input method then remove the keyboard cover of my IdeaPad Duet, some operation with touch seem been locked or influenced and not able to interact with.
I have a short video for this symptom:

https://drive.google.com/file/d/1zkwBD6xnVMTLBuR0Yyhr-BuVj6Xq07wF/view?usp=sharing

The symptom can be solved by re-connect the keyboard then switch to other input method, then again remove keyboard the problem will be solved. I assume there is something strange when physical keyboard removed.

Please have a check about this symptom. Will be glad to hear any solution.

utf-8 4-byte character output incorrectly

What steps will reproduce the problem?
1. when .cin file has utf-8 4-byte character such as 𡃁
2. it cannot output correctly
3.

What is the expected output? What do you see instead?
1. when typing a utf-8 4-byte character such as 𡃁
2. it will output �

What version of the product are you using? On what operating system?
Chrome OS ver. 38.0.2125.110 (64 bit) stable channel

Please provide any additional information below.
I use a propriety .cin file with Hong Kong chars which I create characters by 
myself
o59 𡃁

Original issue reported on code.google.com by [email protected] on 21 Nov 2014 at 6:18

Attachments:

[Non-ChromeOS] IME does not popup inside a scrolled iframe

What steps will reproduce the problem?
1. Browse a page with multiple level of iframes, like gmail
2. Scroll then Shift to bring up IME

What is the expected output? What do you see instead?
Expected: See IME menu on screen.
Actual: See nothing.

Please use labels and text to provide additional information.

The real problem is we didn't calculate iframe scroll when deciding final 
layout position, and makes it anchored in a very large Y coordinate -- and then 
can't see IME UI.

Thanks for Peter's reporting this.

Original issue reported on code.google.com by [email protected] on 21 Oct 2013 at 11:18

怎样生成双拼的Input Table?

你好,我是简体用户,苦于CB上没有双拼输入法。
看到jscin是唯一的CB上可用的第三方输入法,而且神奇在于可�
��配置新输入法。想请您指点一下如何配置双拼输入,简体正
体均可。
谢谢

Original issue reported on code.google.com by [email protected] on 24 Sep 2014 at 2:54

點選文字輸入區時,原有文字會被清空

What steps will reproduce the problem?
1.在行列輸入模式,會導致點選網址列時,網址直接被清空,
以致於無法剪下網址。也會導致按Ctrl+C(複製)時,變成執行Ctr
l+X(剪下)的行為,不易編輯文字。

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 7 Jan 2015 at 3:21

Ctrl-Space (toggle IME) won't close IME UI

What steps will reproduce the problem?
1. Enable IME (on ChromeOS)
2. Input some incomplete composition keystroke (so candidate list is non-empty)
3. Press Ctrl+Space

What is the expected output? What do you see instead?
Expected: UI closed
Actual: UI keeps open

Please use labels and text to provide additional information.
Only on ChromeOS.

Original issue reported on code.google.com by [email protected] on 21 Oct 2013 at 8:08

After upgrade to the latest Chrome OS version, JsCIN cannot be used completely

What steps will reproduce the problem?
1. upgrade to the latest chrome os
2.
3.

What is the expected output? What do you see instead?
no matter it is within Chrome OS or outside, JsCIN are failed to perform


What version of the product are you using? On what operating system?
版本 36.0.1985.126
平台 5841.74.0 (Official Build) stable-channel peppy
韌體 Google_Peppy.4389.86.0

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Jul 2014 at 12:04

Can not load table from Google Drive

What steps will reproduce the problem?
1. Go "Options" page
2. Add Input Table From Google Drive
3. Grant oauth1 permission request

What is the expected output? What do you see instead?

Expect to see table added.  But instead, I found error in js console:

Denying load of 
chrome-extension://cdkhibgadomdghgnknpmgegpjjmfecfk/oauth/chrome_ex_oauth.h…ke
n=4/kKazUAv59oAjPczghXCoqEEkKzUj&oauth_verifier=9TkbaQrz8_0LeogwdG58xyot. 
Resources must be listed in the web_accessible_resources manifest key in order 
to be loaded by pages outside the extension. 

(FWIW, chrome.identity.getAuthToken is something worth to try.)

What version of the product are you using? On what operating system?

Chrome OS 37

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 5 Jul 2014 at 6:25

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.