Class: Raingrams::OpenVocabulary::HexagramModel

Inherits:
HexagramModel show all
Includes:
OpenModel
Defined in:
lib/raingrams/open_vocabulary/hexagram_model.rb

Instance Attribute Summary

Attributes included from OpenModel

#lexicon

Attributes inherited from Model

#ignore_case, #ignore_phone_numbers, #ignore_punctuation, #ignore_references, #ignore_urls, #ngram_size, #prefixes, #starting_ngram, #stoping_ngram

Method Summary

Methods included from OpenModel

#initialize, #train_ngram, #within_lexicon?

Methods inherited from Model

#build, build, #clear, #common_ngrams_from_fragment, #common_ngrams_from_sentence, #common_ngrams_from_text, #common_ngrams_from_words, #each_ngram, #fragment_commonality, #fragment_probability, #fragment_similarity, #frequencies_for, #frequency_of_ngram, #frequency_of_ngrams, #grams, #grams_following, #grams_preceeding, #has_gram?, #has_ngram?, #initialize, #ngrams, #ngrams_ending_with, #ngrams_following, #ngrams_from_fragment, #ngrams_from_sentence, #ngrams_from_text, #ngrams_from_words, #ngrams_including_all, #ngrams_including_any, #ngrams_postfixed_by, #ngrams_preceeding, #ngrams_prefixed_by, #ngrams_starting_with, #ngrams_with, open, #parse_sentence, #parse_text, #probabilities_for, #probability_of_ngram, #probability_of_ngrams, #random_gram, #random_gram_sentence, #random_ngram, #random_paragraph, #random_sentence, #random_text, #refresh, #save, #sentence_commonality, #sentence_probability, #sentence_similarity, #set_ngram_frequency, #text_commonality, #text_probability, #text_similarity, #train_with_file, train_with_file, #train_with_ngram, #train_with_ngrams, #train_with_paragraph, train_with_paragraph, #train_with_sentence, #train_with_text, train_with_text, train_with_url, #train_with_url