Searched refs:WnnDictionary (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | OpenWnnDictionaryImplJni.java | 34 …public static final int APPROX_PATTERN_EN_TOUPPER = WnnDictionary.APPROX_PATTERN_EN_… 41 …public static final int APPROX_PATTERN_EN_TOLOWER = WnnDictionary.APPROX_PATTERN_EN_… 48 …public static final int APPROX_PATTERN_EN_QWERTY_NEAR = WnnDictionary.APPROX_PATTERN_EN_… 55 …public static final int APPROX_PATTERN_EN_QWERTY_NEAR_UPPER = WnnDictionary.APPROX_PATTERN_EN_… 62 …public static final int APPROX_PATTERN_JAJP_12KEY_NORMAL = WnnDictionary.APPROX_PATTERN_JAJ… 70 public static final int SEARCH_EXACT = WnnDictionary.SEARCH_EXACT; 77 public static final int SEARCH_PREFIX = WnnDictionary.SEARCH_PREFIX; 84 public static final int SEARCH_LINK = WnnDictionary.SEARCH_LINK; 92 … public static final int ORDER_BY_FREQUENCY = WnnDictionary.ORDER_BY_FREQUENCY; 99 public static final int ORDER_BY_KEY = WnnDictionary.ORDER_BY_KEY; [all …]
|
D | OpenWnnDictionaryImpl.java | 32 public class OpenWnnDictionaryImpl implements WnnDictionary { 385 case WnnDictionary.INDEX_USER_DICTIONARY: in setDictionary() 393 case WnnDictionary.INDEX_LEARN_DICTIONARY: in setDictionary() 422 if( operation != WnnDictionary.SEARCH_LINK ) { in createQuery() 427 case WnnDictionary.SEARCH_EXACT: in createQuery() 436 case WnnDictionary.SEARCH_PREFIX: in createQuery() 437 case WnnDictionary.SEARCH_LINK: in createQuery() 496 case WnnDictionary.ORDER_BY_FREQUENCY: in createQuery() 499 case WnnDictionary.ORDER_BY_KEY: in createQuery()
|
D | WnnDictionary.java | 25 public interface WnnDictionary { interface
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
D | OpenWnnClauseConverterJAJP.java | 47 private WnnDictionary mDictionary; 87 public void setDictionary(WnnDictionary dict) { in setDictionary() 102 mPosDefault = dict.getPOS(WnnDictionary.POS_TYPE_MEISI); in setDictionary() 103 mPosEndOfClause1 = dict.getPOS(WnnDictionary.POS_TYPE_V1); in setDictionary() 104 mPosEndOfClause2 = dict.getPOS(WnnDictionary.POS_TYPE_V2); in setDictionary() 105 mPosEndOfClause3 = dict.getPOS(WnnDictionary.POS_TYPE_V3); in setDictionary() 285 …if (mDictionary.searchWord(WnnDictionary.SEARCH_PREFIX, WnnDictionary.ORDER_BY_FREQUENCY, str) <= … in singleClauseConvert() 409 WnnDictionary dict = mDictionary; in getAncillaryPattern() 426 dict.searchWord(WnnDictionary.SEARCH_EXACT, WnnDictionary.ORDER_BY_FREQUENCY, key); in getAncillaryPattern() 438 …dict.searchWord(WnnDictionary.SEARCH_EXACT, WnnDictionary.ORDER_BY_FREQUENCY, input.substring(star… in getAncillaryPattern() [all …]
|
D | OpenWnnEngineJAJP.java | 31 import jp.co.omronsoft.openwnn.WnnDictionary; 86 private WnnDictionary mDictionaryJP; 166 WnnDictionary dict = mDictionaryJP; in setDictionaryForPrediction() 176 dict.setDictionary(WnnDictionary.INDEX_LEARN_DICTIONARY, FREQ_LEARN, FREQ_LEARN); in setDictionaryForPrediction() 185 dict.setDictionary(WnnDictionary.INDEX_USER_DICTIONARY, FREQ_USER, FREQ_USER); in setDictionaryForPrediction() 186 dict.setDictionary(WnnDictionary.INDEX_LEARN_DICTIONARY, FREQ_LEARN, FREQ_LEARN); in setDictionaryForPrediction() 188 dict.setApproxPattern(WnnDictionary.APPROX_PATTERN_JAJP_12KEY_NORMAL); in setDictionaryForPrediction() 393 … return mDictionaryJP.searchWord(WnnDictionary.SEARCH_LINK, WnnDictionary.ORDER_BY_FREQUENCY, in predict() 398 … mDictionaryJP.searchWord(WnnDictionary.SEARCH_EXACT, WnnDictionary.ORDER_BY_FREQUENCY, in predict() 402 … mDictionaryJP.searchWord(WnnDictionary.SEARCH_PREFIX, WnnDictionary.ORDER_BY_FREQUENCY, in predict() [all …]
|
D | KanaConverter.java | 24 import jp.co.omronsoft.openwnn.WnnDictionary; 502 public void setDictionary(WnnDictionary dict) { in setDictionary() 504 mPosDefault = dict.getPOS(WnnDictionary.POS_TYPE_MEISI); in setDictionary() 505 mPosNumber = dict.getPOS(WnnDictionary.POS_TYPE_SUUJI); in setDictionary() 506 mPosSymbol = dict.getPOS(WnnDictionary.POS_TYPE_KIGOU); in setDictionary()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
D | OpenWnnEngineEN.java | 43 private WnnDictionary mDictionary; 93 mDictionary.setDictionary(WnnDictionary.INDEX_USER_DICTIONARY, FREQ_USER, FREQ_USER); in OpenWnnEngineEN() 94 mDictionary.setDictionary(WnnDictionary.INDEX_LEARN_DICTIONARY, FREQ_LEARN, FREQ_LEARN); in OpenWnnEngineEN() 96 mDictionary.setApproxPattern(WnnDictionary.APPROX_PATTERN_EN_QWERTY_NEAR); in OpenWnnEngineEN() 190 mDictionary.setApproxPattern(WnnDictionary.APPROX_PATTERN_EN_QWERTY_NEAR); in setDictionary() 263 WnnDictionary dict = mDictionary; in predict() 274 dict.setDictionary(WnnDictionary.INDEX_USER_DICTIONARY, FREQ_USER, FREQ_USER); in predict() 275 dict.setDictionary(WnnDictionary.INDEX_LEARN_DICTIONARY, FREQ_LEARN, FREQ_LEARN); in predict() 278 dict.searchWord(WnnDictionary.SEARCH_PREFIX, WnnDictionary.ORDER_BY_FREQUENCY, mSearchKey); in predict() 319 WnnDictionary dict = mDictionary; in addWord() [all …]
|