class TSS::Tries::AC

Aho-Corasick trie class

Public Instance Methods

backtrace_to_word() click to toggle source

Returns hash with word and indexes at dictionary

# File lib/tss/tries/ac.rb, line 15
def backtrace_to_word
  raise 'WIP'
end
extend_dictionay() click to toggle source

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

# File lib/tss/tries/ac.rb, line 21
def extend_dictionay
  raise 'WIP'
end
parse() click to toggle source

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

# File lib/tss/tries/ac.rb, line 9
def parse
  raise 'WIP'
end