package mecab
Module Mecab.Node
Parsing results
Parsing results
val stat_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> statval sexp_of_stat : stat -> Ppx_sexp_conv_lib.Sexp.ttype t = {surface : string;(*surface string.
*)feature : string;(*feature string.
*)id : int;(*unique node id
*)rc_attr : int;(*right attribute id
*)lc_attr : int;(*left attribute id
*)posid : int;(*unique part of speech id. This value is defined in
*)pos.deffile.char_type : int;(*character type
*)stat : stat;(*status of this model.
*)isbest : bool;(*
*)trueif this node is best node.alpha : float;(*forward accumulative log summation. * This value is only available when
*)MECAB_MARGINAL_PROBis passed.beta : float;(*backward accumulative log summation. * This value is only available when
*)MECAB_MARGINAL_PROBis passed.prob : float;(*marginal probability. * This value is only available when
*)MECAB_MARGINAL_PROBis passed.wcost : int;(*word cost.
*)cost : int;(*best accumulative cost from bos node to this node.
*)
}val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> tval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t