Menu

#4 Inconsistant validation of word

v1.0 (example)
open
nobody
None
5
2014-06-17
2014-05-31
Tom
No

Hi, I am giving the OpenAdatxt Android API a try to see if it will work for my keyboard IME app. While it looks promising I am having some issues. I'll cover the one that might be bug here.

The first is inconsistencies when calling KPTCMD_INPUTMGR_ISVALIDWORD.

    :::java
    KPTParamValidSubjectDictWord word = new KPTParamValidSubjectDictWord(1, text, false);
    mSuggStatusCode = mAdaptxtCore.KPTFwkRunCmd(KPTCmd.KPTCMD_INPUTMGR_ISVALIDWORD, word);

    if(mSuggStatusCode == KPTStatusCode.KPT_SC_SUCCESS) {
        return word.mIsStringValid;
    ...

It will report true one time and then false another for the same word. For example, if I enter is in my app, it will sometimes return false, and thinking is is not a valid word will offer up issue as first prediction instead. Yet at other times it will say is is a word and work as expected. Clearly something funky is going on. Maybe it is a bug? Or maybe there is some configuration change I need to make?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB