Method: LexM::LemmaList#allWords

Defined in:
lib/lexm/lemma_list.rb

#allWordsArray<String>

Get an array of all words (both lemmas and sublemmas)

Returns:

  • (Array<String>)

    array of all words



56
57
58
59
60
# File 'lib/lexm/lemma_list.rb', line 56

def allWords
    words = []
    eachWord { |word| words << word }
    words
end