module Natto::Binding::ClassMethods
@private
Public Instance Methods
find_library()
click to toggle source
# File lib/natto/binding.rb, line 107 def find_library Natto::Binding.find_library end
mecab_destroy(tptr)
click to toggle source
Tagger interface ———————–
# File lib/natto/binding.rb, line 133 def mecab_destroy(tptr) Natto::Binding.mecab_destroy(tptr) end
mecab_format_node(tptr, nptr)
click to toggle source
# File lib/natto/binding.rb, line 145 def mecab_format_node(tptr, nptr) Natto::Binding.mecab_format_node(tptr, nptr) end
mecab_lattice_add_request_type(lptr, rt)
click to toggle source
# File lib/natto/binding.rb, line 190 def mecab_lattice_add_request_type(lptr, rt) Natto::Binding.mecab_lattice_add_request_type(lptr, rt) end
mecab_lattice_clear(lptr)
click to toggle source
# File lib/natto/binding.rb, line 154 def mecab_lattice_clear(lptr) Natto::Binding.mecab_lattice_clear(lptr) end
mecab_lattice_destroy(lptr)
click to toggle source
Lattice interface ———————-
# File lib/natto/binding.rb, line 150 def mecab_lattice_destroy(lptr) Natto::Binding.mecab_lattice_destroy(lptr) end
mecab_lattice_get_bos_node(lptr)
click to toggle source
# File lib/natto/binding.rb, line 233 def mecab_lattice_get_bos_node(lptr) Natto::Binding.mecab_lattice_get_bos_node(lptr) end
mecab_lattice_get_boundary_constraint(lptr, pos)
click to toggle source
# File lib/natto/binding.rb, line 198 def mecab_lattice_get_boundary_constraint(lptr, pos) Natto::Binding.mecab_lattice_get_boundary_constraint(lptr, pos) end
mecab_lattice_get_feature_constraint(lptr, bpos)
click to toggle source
# File lib/natto/binding.rb, line 206 def mecab_lattice_get_feature_constraint(lptr, bpos) Natto::Binding.mecab_lattice_get_feature_constraint(lptr, bpos) end
mecab_lattice_get_request_type(lptr)
click to toggle source
# File lib/natto/binding.rb, line 186 def mecab_lattice_get_request_type(lptr) Natto::Binding.mecab_lattice_get_request_type(lptr) end
mecab_lattice_get_sentence(lptr)
click to toggle source
# File lib/natto/binding.rb, line 166 def mecab_lattice_get_sentence(lptr) Natto::Binding.mecab_lattice_get_sentence(lptr) end
mecab_lattice_get_size(lptr)
click to toggle source
# File lib/natto/binding.rb, line 174 def mecab_lattice_get_size(lptr) Natto::Binding.mecab_lattice_get_size(lptr) end
mecab_lattice_is_available(lptr)
click to toggle source
# File lib/natto/binding.rb, line 158 def mecab_lattice_is_available(lptr) Natto::Binding.mecab_lattice_is_available(lptr) end
mecab_lattice_nbest_tostr(lptr, n)
click to toggle source
# File lib/natto/binding.rb, line 229 def mecab_lattice_nbest_tostr(lptr, n) Natto::Binding.mecab_lattice_nbest_tostr(lptr, n) end
mecab_lattice_next(lptr)
click to toggle source
# File lib/natto/binding.rb, line 221 def mecab_lattice_next(lptr) Natto::Binding.mecab_lattice_next(lptr) end
mecab_lattice_set_boundary_constraint(lptr, pos, btype)
click to toggle source
# File lib/natto/binding.rb, line 202 def mecab_lattice_set_boundary_constraint(lptr, pos, btype) Natto::Binding.mecab_lattice_set_boundary_constraint(lptr, pos, btype) end
mecab_lattice_set_feature_constraint(lptr, bpos, epos, feat)
click to toggle source
# File lib/natto/binding.rb, line 210 def mecab_lattice_set_feature_constraint(lptr, bpos, epos, feat) Natto::Binding.mecab_lattice_set_feature_constraint(lptr, bpos, epos, feat) end
mecab_lattice_set_request_type(lptr, rtype)
click to toggle source
# File lib/natto/binding.rb, line 194 def mecab_lattice_set_request_type(lptr, rtype) Natto::Binding.mecab_lattice_set_request_type(lptr, rtype) end
mecab_lattice_set_sentence(lptr, str)
click to toggle source
# File lib/natto/binding.rb, line 170 def mecab_lattice_set_sentence(lptr, str) Natto::Binding.mecab_lattice_set_sentence(lptr, str) end
mecab_lattice_set_theta(lptr, t)
click to toggle source
# File lib/natto/binding.rb, line 178 def mecab_lattice_set_theta(lptr, t) Natto::Binding.mecab_lattice_set_theta(lptr, t) end
mecab_lattice_set_z(lptr, z)
click to toggle source
# File lib/natto/binding.rb, line 182 def mecab_lattice_set_z(lptr, z) Natto::Binding.mecab_lattice_set_z(lptr, z) end
mecab_lattice_strerror(lptr)
click to toggle source
# File lib/natto/binding.rb, line 162 def mecab_lattice_strerror(lptr) Natto::Binding.mecab_lattice_strerror(lptr) end
mecab_lattice_tostr(lptr)
click to toggle source
# File lib/natto/binding.rb, line 225 def mecab_lattice_tostr(lptr) Natto::Binding.mecab_lattice_tostr(lptr) end
mecab_model_destroy(mptr)
click to toggle source
# File lib/natto/binding.rb, line 116 def mecab_model_destroy(mptr) Natto::Binding.mecab_model_destroy(mptr) end
mecab_model_dictionary_info(mptr)
click to toggle source
# File lib/natto/binding.rb, line 128 def mecab_model_dictionary_info(mptr) Natto::Binding.mecab_model_dictionary_info(mptr) end
mecab_model_new2(opts_str)
click to toggle source
Model interface ————————
# File lib/natto/binding.rb, line 112 def mecab_model_new2(opts_str) Natto::Binding.mecab_model_new2(opts_str) end
mecab_model_new_lattice(mptr)
click to toggle source
# File lib/natto/binding.rb, line 124 def mecab_model_new_lattice(mptr) Natto::Binding.mecab_model_new_lattice(mptr) end
mecab_model_new_tagger(mptr)
click to toggle source
# File lib/natto/binding.rb, line 120 def mecab_model_new_tagger(mptr) Natto::Binding.mecab_model_new_tagger(mptr) end
mecab_parse_lattice(tptr, lptr)
click to toggle source
# File lib/natto/binding.rb, line 217 def mecab_parse_lattice(tptr, lptr) Natto::Binding.mecab_parse_lattice(tptr, lptr) end
mecab_strerror(tptr)
click to toggle source
# File lib/natto/binding.rb, line 141 def mecab_strerror(tptr) Natto::Binding.mecab_strerror(tptr) end
mecab_version()
click to toggle source
# File lib/natto/binding.rb, line 137 def mecab_version Natto::Binding.mecab_version end