Module: Natto::OptionParse

Included in:
MeCab
Defined in:
lib/natto/option_parse.rb

Overview

Module OptionParse encapsulates methods and behavior for parsing the various MeCab options supported by Natto.

Constant Summary collapse

WARNING_LATTICE_LEVEL =
":lattice-level is DEPRECATED, please use :marginal or :nbest\n".freeze
SUPPORTED_OPTS =

Mapping of MeCab short-style configuration options to the MeCab Tagger. See the MeCab help for more details.

{ '-r' => :rcfile, 
'-d' => :dicdir, 
'-u' => :userdic, 
'-l' => :lattice_level, 
'-O' => :output_format_type, 
'-a' => :all_morphs,
'-N' => :nbest, 
'-p' => :partial, 
'-m' => :marginal, 
'-M' => :max_grouping_size, 
'-F' => :node_format, 
'-U' => :unk_format,
'-B' => :bos_format, 
'-E' => :eos_format, 
'-S' => :eon_format, 
'-x' => :unk_feature, 
'-b' => :input_buffer_size, 
'-C' => :allocate_sentence, 
'-t' => :theta, 
'-c' => :cost_factor }.freeze