Module: MeCab::Heavy::Extension::Tagger

Defined in:
lib/mecab/heavy/modular.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


7
8
9
10
11
12
13
14
# File 'lib/mecab/heavy/modular.rb', line 7

def self.included(base)
  base.class_eval do
    alias initialize_before_mecab_heavy initialize
    def initialize(argument = '')
      initialize_before_mecab_heavy(argument + " -d #{::MeCab::Heavy::DICTIONARY_PATH}")
    end
  end
end