Module: Nimono::OptionParse
- Included in:
- Cabocha
- Defined in:
- lib/nimono/option_parse.rb
Overview
Module ‘OptionParse’ encapsulates methods and behavior for parsing the various CaboCha options supported by ‘Nimono’.
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- SUPPORT_OPTS =
Supported CaboCha command line options are as follows. For further information please refer to CaboCha help.
{ '-f' => :output_format, '-I' => :input_layer, '-O' => :output_layer, '-n' => :ne, '-m' => :parser_model, '-M' => :chunker_model, '-N' => :ne_model, '-P' => :posset, '-t' => :charset, '-T' => :charset_file, '-r' => :rcfile, '-b' => :mecabrc, '-d' => :mecab_dicdir, '-u' => :mecab_userdic, '-o' => :output }.freeze
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
30 31 32 |
# File 'lib/nimono/option_parse.rb', line 30 def self.included(klass) klass.extend(ClassMethods) end |