Searched refs:stem (Results 1 - 8 of 8) sorted by relevance
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | WnnClause.java | 45 * @param stem The independent word part of the clause 47 public WnnClause (String stroke, WnnWord stem) { argument 48 super(stem.id, 49 stem.candidate, 51 stem.partOfSpeech, 52 stem.frequency, 60 * @param stem The independent word part of the clause 63 public WnnClause (String stroke, WnnWord stem, WnnWord fzk) { argument 64 super(stem.id, 65 stem [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
H A D | nj_lib.h | 253 } stem; member in struct:__anon46 277 } stem; member in struct:__anon49 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) << 7)) 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 [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | OpenWnnClauseConverterJAJP.java | 264 WnnWord stem = stemsi.next(); 265 if (addClause(clauseList, input, stem, null, terminal, all)) { 281 /* get candidates of stem in a clause */ 294 WnnWord stem = stemsi.next(); 295 if (all || stem.frequency > max) { 299 if (addClause(clauseList, input, stem, fzk, terminal, all)) { 301 max = stem.frequency; 315 * @param stem Stem of the clause (a independent word) 321 private boolean addClause(LinkedList<WnnClause> clauseList, String input, WnnWord stem, WnnWord fzk, argument 326 if (connectible(stem [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndapi.c | 225 tmp_word.stem.info1 = cursor->cond.ylen; 227 tmp_result.word.stem.info1 = cursor->cond.ylen; 291 ((j == max_len) && (loctset->cache_freq > result->word.stem.hindo)) || 486 if (result->word.stem.loc.handle == NULL) { 490 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem.loc.handle); 499 if (GET_LOCATION_OPERATION(result->word.stem.loc.status) != NJ_CUR_OP_COMP) { 544 if (result->word.stem.loc.handle == NULL) { 548 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem [all...] |
H A D | ndfdic.c | 334 word->stem.loc = loctset->loct; 339 word->stem.info1 = yomilen; 340 word->stem.info1 |= (NJ_UINT16)(DATA_FHINSI(data) << HINSI_OFFSET); 341 word->stem.info2 = (NJ_UINT16)(DATA_BHINSI(data) << HINSI_OFFSET); 347 word->stem.info2 |= kouholen; 348 word->stem.hindo = CALCULATE_HINDO(DATA_HINDO(data), loctset->dic_freq.base, 352 word->stem.type = 0; 369 loc = &word->stem.loc; 412 loc = &word->stem.loc;
|
H A D | ndbdic.c | 1356 word->stem.info1 = (NJ_UINT16)(stem_set.yomi_size / sizeof(NJ_CHAR)); 1358 word->stem.info1 = WORD_LEN(word->stem.info1); 1359 word->stem.info1 |= (NJ_UINT16)(stem_set.fhinsi_jitu << 7); 1365 word->stem.info2 = (NJ_UINT16)(stem_set.yomi_size / sizeof(NJ_CHAR)); 1368 word->stem.info2 = (NJ_UINT16)NJ_GET_YLEN_FROM_STEM(word); 1372 word->stem.info2 = (NJ_UINT16)(stem_set.candidate_size / sizeof(NJ_CHAR)); 1376 word->stem.info2 = (NJ_UINT16)NJ_GET_YLEN_FROM_STEM(word); 1379 word->stem.info2 = WORD_LEN(word->stem [all...] |
H A D | ndldic.c | 1743 word->stem.loc = loctset->loct; 1745 word->stem.loc.current &= 0x0000ffff; 1746 word->stem.loc.current |= ((NJ_UINT32)que_id << 16); 1749 word->stem.hindo = loctset->cache_freq; 1762 word->stem.type = 0; 1774 que_id = (NJ_UINT16)(word->stem.loc.current >> 16); 1786 str = get_string(iwnn, word->stem.loc.handle, que_id, &slen); 1812 que_id = (NJ_UINT16)(word->stem.loc.current >> 16); 1821 str = get_hyouki(iwnn, word->stem.loc.handle, que_id, &slen);
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
H A D | OpenWnnDictionaryImplJni.c | 570 return ( jint )( work->result.word.stem.hindo );
|
Completed in 306 milliseconds