Lines Matching refs:mw

69   struct meta_word* mw; /* この遷移状態に対応するmeta_word */  member
97 if (node->mw) { in print_lattice_node()
98 anthy_print_metaword(info->sc, node->mw); in print_lattice_node()
119 get_form_bias(struct meta_word *mw) in get_form_bias() argument
124 while (mw->type == MW_WRAP) { in get_form_bias()
125 mw = mw->mw1; in get_form_bias()
128 r = mw->len; in get_form_bias()
135 if (mw->seg_class == SEG_RENTAI_SHUSHOKU && in get_form_bias()
162 if (node && node->mw) { in build_feature_list()
163 struct meta_word *mw = node->mw; in build_feature_list() local
164 anthy_feature_list_set_dep_class(features, mw->dep_class); in build_feature_list()
166 mw->dep_word_hash); in build_feature_list()
167 anthy_feature_list_set_mw_features(features, mw->mw_features); in build_feature_list()
168 anthy_feature_list_set_noun_cos(features, mw->core_wt); in build_feature_list()
214 probability *= get_form_bias(node->mw); in get_transition_probability()
239 node->seg_class = node->mw ? node->mw->seg_class : SEG_HEAD; in calc_node_parameters()
246 (node->mw ? node->mw->score : 1000); in calc_node_parameters()
257 struct meta_word* mw, int border) in alloc_lattice_node() argument
264 node->mw = mw; in alloc_lattice_node()
304 if (lhs_before->mw && rhs_before->mw && in cmp_node()
305 lhs_before->mw->from + lhs_before->mw->len == rhs_before->mw->from + rhs_before->mw->len) { in cmp_node()
307 if (lhs->mw->type == MW_OCHAIRE && rhs->mw->type != MW_OCHAIRE) in cmp_node()
309 else if (lhs->mw->type != MW_OCHAIRE && rhs->mw->type == MW_OCHAIRE) in cmp_node()
313 if (lhs->mw->type != MW_COMPOUND_PART && rhs->mw->type == MW_COMPOUND_PART) in cmp_node()
315 else if (lhs->mw->type == MW_COMPOUND_PART && rhs->mw->type != MW_COMPOUND_PART) in cmp_node()
447 anthy_mark_border_by_metaword(info->sc, node->mw); in choose_path()
476 struct meta_word *mw; in build_graph() local
479 for (mw = info->sc->word_split_info->cnode[i].mw; mw; mw = mw->next) { in build_graph()
484 if (mw->can_use != ok) { in build_graph()
487 position = i + mw->len; in build_graph()
488 new_node = alloc_lattice_node(info, left_node, mw, i); in build_graph()