Class: TopPred

Inherits:
Object
  • Object
show all
Includes:
TransmemIndex
Defined in:
lib/transmem/toppred.rb,
lib/transmem/toppred.rb

Defined Under Namespace

Modules: Parser, Parser_XML Classes: Index, Parser_Text

Class Method Summary collapse

Methods included from TransmemIndex

#avg_overlap, filetype, new, #num_certain_index, #num_overlapping_chars, #num_transmem_aa, #reference_to_key

Class Method Details

.default_index(file, index = {}) ⇒ Object

returns the default index



53
54
55
# File 'lib/transmem/toppred.rb', line 53

def self.default_index(file, index={})
  TopPred::Parser.new(TopPred::Parser.filetype(file)).file_to_index(file, index)
end