php_mecabのAPI一覧
php_mecab-0.2.0の関数一覧を整形してみました。
- mecab_version – Get the version number of MeCab.
- mecab_split – Split string into an array of morphemes.
- mecab_new – Create new tagger resource of MeCab.
- mecab_destroy – Free the tagger.
- mecab_sparse_tostr – Get the parse result as a string.
- mecab_sparse_tonode – Get the parse result as a node.
- mecab_nbest_sparse_tostr – Get the N-Best list as a string.
- mecab_nbest_init – Initialize the N-Best list.
- mecab_nbest_next_tostr – Get the next result of N-Best as a string.
- mecab_nbest_next_tonode – Get the next result of N-Best as a node.
- mecab_format_node – Format a node to string. The format is specified by “-O” option or –{node|unk|bos|eos}-format=STR. The detail is found in the web site and/or the manpage of MeCab.
- mecab_dictionary_info – Get the information of using dictionary as an associative array.
- mecab_node_toarray – Get all elements of the node as an associated array.
- mecab_node_tostring – Get the formatted string of the node.
- mecab_node_current – [Iterator implementation] Return the current element.
- mecab_node_key – [Iterator implementation] Return the key of the current element.
- mecab_node_valid – [Iterator implementation] Check if there is a current element after calls to rewind() or next().
- mecab_node_rewind – [Iterator implementation] Set the node pointer to the beginning.
- mecab_node_next – Get the next node.
- mecab_node_prev – Get the previous node.
- mecab_node_next – Get the next node.
- mecab_node_enext – Get the enext node.
- mecab_node_bnext – Get the bnext node.
- mecab_node_rpath – Get the rpath.
- mecab_node_lpath – Get the lpath.
- mecab_node_begin_node_list – Get the given index of begin-node list.
- mecab_node_end_node_list – Get the given index of end-node list.
- mecab_node_surface – Get the surface.
- mecab_node_feature – Get the feature.
- mecab_node_id – Get the ID.
- mecab_node_length – Get the length of the surface.
- mecab_node_rlength – Get the length of the surface and its leading whitespace.
- mecab_node_rcattr – Get the ID of the right context.
- mecab_node_lcattr – Get the ID of the left context.
- mecab_node_posid – Get the ID of the Part-of-Speech. (node->posid is not used in MeCab-0.90)
- mecab_node_char_type – Get the type of the character.
- mecab_node_stat – Get the status.
- mecab_node_isbest – Determine whether the node is the best solution.
- mecab_node_alpha – Get the forward log probability.
- mecab_node_beta – Get the backward log probability.
- mecab_node_prob – Get the marginal probability.
- mecab_node_wcost – Get the word arising cost.
- mecab_node_cost – Get the cumulative cost.
- mecab_path_rnext – Get the rnext path.
- mecab_path_lnext – Get the lnext path.
- mecab_path_rnode – Get the rnode.
- mecab_path_lnode – Get the lnode.
- mecab_path_prob – Get the marginal probability.
- mecab_path_cost – Get the cumulative cost.