Module: Zenlish::Lex::EmptyLexiconFactory

Defined in:
lib/zenlish/lex/empty_lexicon_factory.rb

Instance Method Summary collapse

Instance Method Details

#create_empty_lexiconObject



7
8
9
10
11
12
13
# File 'lib/zenlish/lex/empty_lexicon_factory.rb', line 7

def create_empty_lexicon()
  lexicon = Lexicon.new

  add_word_classes(lexicon)
  add_punctuation(lexicon)
  lexicon
end