Skip to content

Add userphrase without bopomofo#188

Open
ShengYenPeng wants to merge 1 commit intochewing:masterfrom
ShengYenPeng:master
Open

Add userphrase without bopomofo#188
ShengYenPeng wants to merge 1 commit intochewing:masterfrom
ShengYenPeng:master

Conversation

@ShengYenPeng
Copy link

when we typing sentense with libchewing, the sentense will be splitted
into separate phrase and stored into chewing-editor. we can use this
characteristic to reassemble the bopomofo of the phrase we want to add.

now we can add new phrase with chewing-editor without bopomofo.

when we typing sentense with libchewing, the sentense will be splitted
into separate phrase and stored into chewing-editor. we can use this
characteristic to reassemble the bopomofo of the phrase we want to add.

now we can add new phrase with chewing-editor without bopomofo.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.382% when pulling e80f79a on ShengYenPeng:master into 07871c9 on chewing:master.

@davy-tw
Copy link
Member

davy-tw commented May 8, 2016

Does this way always work?

For example, if there already have phrase 得(ㄉㄟˇ) and 得(ㄉㄜˊ) in database.
And then I add 得到(ㄉㄜˊㄉㄠˋ) without giving bopomofo, so what bopomofo will I get in the result?
ㄉㄜˊㄉㄠˋ or ㄉㄟˇㄉㄠˋ

@ShengYenPeng
Copy link
Author

because the related word will be refresh to the bottom of the database( chewing-editor list),
the 得(ㄉㄜˊ) would be found earlier than 得(ㄉㄟˇ), so you will get ㄉㄜˊ ㄉㄠˋ

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

Successfully merging this pull request may close these issues.

3 participants