class TSS::Tries::Flat

Main class for creating Flat Trie from array of words of dictionary

Public Instance Methods

backtrace_to_word(_vertex) click to toggle source

Returns hash with word and indexes at dictionary

# File lib/tss/tries/flat.rb, line 16
def backtrace_to_word(_vertex)
  raise 'WIP'
end
extend_dictionary(_dict) click to toggle source

Adds additional words(chains of vertexes) to the trie object

# File lib/tss/tries/flat.rb, line 22
def extend_dictionary(_dict)
  raise 'WIP'
end
parse(_text) click to toggle source

Executes text analyze and returns map occurring words with indexes from dictionary

# File lib/tss/tries/flat.rb, line 10
def parse(_text)
  raise 'WIP'
end