/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | WnnClause.java | 47 public WnnClause (String stroke, WnnWord stem) { in WnnClause() argument 48 super(stem.id, in WnnClause() 49 stem.candidate, in WnnClause() 51 stem.partOfSpeech, in WnnClause() 52 stem.frequency, in WnnClause() 63 public WnnClause (String stroke, WnnWord stem, WnnWord fzk) { in WnnClause() argument 64 super(stem.id, in WnnClause() 65 stem.candidate + fzk.candidate, in WnnClause() 67 new WnnPOS(stem.partOfSpeech.left, fzk.partOfSpeech.right), in WnnClause() 68 stem.frequency, in WnnClause()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
D | nj_lib.h | 253 } stem; member 277 } stem; member 287 #define NJ_GET_FPOS_FROM_STEM(s) ((NJ_UINT16)((s)->stem.info1 >> 7)) 288 #define NJ_GET_BPOS_FROM_STEM(s) ((NJ_UINT16)((s)->stem.info2 >> 7)) 291 #define NJ_SET_FPOS_TO_STEM(s,v) ((s)->stem.info1 = ((s)->stem.info1 & 0x007F) | (NJ_UINT16)((v) <<… 292 #define NJ_GET_YLEN_FROM_STEM(s) ((NJ_UINT8)((s)->stem.info1 & 0x7F)) 293 #define NJ_GET_KLEN_FROM_STEM(s) ((NJ_UINT8)((s)->stem.info2 & 0x7F)) 294 #define NJ_SET_YLEN_TO_STEM(s,v) ((s)->stem.info1 = ((s)->stem.info1 & 0xFF80) | (NJ_UINT16)((v) & … 295 #define NJ_SET_BPOS_TO_STEM(s,v) ((s)->stem.info2 = ((s)->stem.info2 & 0x007F) | (NJ_UINT16)((v) <<… 296 #define NJ_SET_KLEN_TO_STEM(s,v) ((s)->stem.info2 = ((s)->stem.info2 & 0xFF80) | (NJ_UINT16)((v) & …
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
D | ndapi.c | 225 tmp_word.stem.info1 = cursor->cond.ylen; in get_word_and_search_next_word() 227 tmp_result.word.stem.info1 = cursor->cond.ylen; in get_word_and_search_next_word() 291 ((j == max_len) && (loctset->cache_freq > result->word.stem.hindo)) || in get_word_and_search_next_word() 486 if (result->word.stem.loc.handle == NULL) { in njd_get_stroke() 490 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem.loc.handle); in njd_get_stroke() 499 if (GET_LOCATION_OPERATION(result->word.stem.loc.status) != NJ_CUR_OP_COMP) { in njd_get_stroke() 544 if (result->word.stem.loc.handle == NULL) { in njd_get_candidate() 548 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem.loc.handle); in njd_get_candidate() 889 word->stem.info1 = 0; in njd_init_word() 890 word->stem.info2 = 0; in njd_init_word() [all …]
|
D | ndfdic.c | 334 word->stem.loc = loctset->loct; in njd_f_get_word() 339 word->stem.info1 = yomilen; in njd_f_get_word() 340 word->stem.info1 |= (NJ_UINT16)(DATA_FHINSI(data) << HINSI_OFFSET); in njd_f_get_word() 341 word->stem.info2 = (NJ_UINT16)(DATA_BHINSI(data) << HINSI_OFFSET); in njd_f_get_word() 347 word->stem.info2 |= kouholen; in njd_f_get_word() 348 word->stem.hindo = CALCULATE_HINDO(DATA_HINDO(data), loctset->dic_freq.base, in njd_f_get_word() 352 word->stem.type = 0; in njd_f_get_word() 369 loc = &word->stem.loc; in njd_f_get_stroke() 412 loc = &word->stem.loc; in njd_f_get_candidate()
|
D | ndbdic.c | 1356 word->stem.info1 = (NJ_UINT16)(stem_set.yomi_size / sizeof(NJ_CHAR)); in njd_b_get_word() 1358 word->stem.info1 = WORD_LEN(word->stem.info1); in njd_b_get_word() 1359 word->stem.info1 |= (NJ_UINT16)(stem_set.fhinsi_jitu << 7); in njd_b_get_word() 1365 word->stem.info2 = (NJ_UINT16)(stem_set.yomi_size / sizeof(NJ_CHAR)); in njd_b_get_word() 1368 word->stem.info2 = (NJ_UINT16)NJ_GET_YLEN_FROM_STEM(word); in njd_b_get_word() 1372 word->stem.info2 = (NJ_UINT16)(stem_set.candidate_size / sizeof(NJ_CHAR)); in njd_b_get_word() 1376 word->stem.info2 = (NJ_UINT16)NJ_GET_YLEN_FROM_STEM(word); in njd_b_get_word() 1379 word->stem.info2 = WORD_LEN(word->stem.info2); in njd_b_get_word() 1380 word->stem.info2 |= (NJ_UINT16)(stem_set.bhinsi_jitu << 7); in njd_b_get_word() 1381 word->stem.hindo = CALCULATE_HINDO(stem_set.hindo_jitu, loctset->dic_freq.base, in njd_b_get_word() [all …]
|
D | ndldic.c | 1743 word->stem.loc = loctset->loct; in njd_l_get_word() 1745 word->stem.loc.current &= 0x0000ffff; in njd_l_get_word() 1746 word->stem.loc.current |= ((NJ_UINT32)que_id << 16); in njd_l_get_word() 1749 word->stem.hindo = loctset->cache_freq; in njd_l_get_word() 1762 word->stem.type = 0; in njd_l_get_word() 1774 que_id = (NJ_UINT16)(word->stem.loc.current >> 16); in njd_l_get_stroke() 1786 str = get_string(iwnn, word->stem.loc.handle, que_id, &slen); in njd_l_get_stroke() 1812 que_id = (NJ_UINT16)(word->stem.loc.current >> 16); in njd_l_get_candidate() 1821 str = get_hyouki(iwnn, word->stem.loc.handle, que_id, &slen); in njd_l_get_candidate()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
D | OpenWnnClauseConverterJAJP.java | 264 WnnWord stem = stemsi.next(); in singleClauseConvert() local 265 if (addClause(clauseList, input, stem, null, terminal, all)) { in singleClauseConvert() 294 WnnWord stem = stemsi.next(); in singleClauseConvert() local 295 if (all || stem.frequency > max) { in singleClauseConvert() 299 if (addClause(clauseList, input, stem, fzk, terminal, all)) { in singleClauseConvert() 301 max = stem.frequency; in singleClauseConvert() 321 …private boolean addClause(LinkedList<WnnClause> clauseList, String input, WnnWord stem, WnnWord fz… in addClause() argument 326 if (connectible(stem.partOfSpeech.right, terminal.left)) { in addClause() 327 clause = new WnnClause(input, stem); in addClause() 330 if (connectible(stem.partOfSpeech.right, fzk.partOfSpeech.left) in addClause() [all …]
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
D | OpenWnnDictionaryImplJni.c | 570 return ( jint )( work->result.word.stem.hindo ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getFrequency()
|