Class: Raingrams::OpenVocabulary::TrigramModel
- Inherits:
-
TrigramModel
- Object
- Model
- MultigramModel
- TrigramModel
- Raingrams::OpenVocabulary::TrigramModel
- Includes:
- OpenModel
- Defined in:
- lib/raingrams/open_vocabulary/trigram_model.rb
Instance Attribute Summary
Attributes included from OpenModel
Attributes inherited from MultigramModel
Attributes inherited from Model
#convert_abbrev, #convert_acronyms, #frequency, #ignore_case, #ignore_phone_numbers, #ignore_punc, #ignore_references, #ignore_urls, #ngram_size, #probability
Method Summary
Methods included from OpenModel
#initialize, #train_ngram, #within_lexicon?
Methods inherited from TrigramModel
Methods inherited from MultigramModel
#build, #clear, #common_fragment_probability, #common_ngrams_from_fragment, #common_ngrams_from_sentence, #common_ngrams_from_text, #common_ngrams_from_words, #common_sentence_probability, #common_text_probability, #fragment_probability, #grams_following, #grams_preceeding, #initialize, #ngrams_following, #ngrams_from_fragment, #ngrams_from_sentence, #ngrams_from_text, #ngrams_from_words, #ngrams_postfixed_by, #ngrams_preceeding, #ngrams_prefixed_by, #sentence_probability, #similar_fragment_probability, #similar_sentence_probability, #similar_text_probability, #text_probability, #train_with_ngram, #train_with_sentence, #train_with_text
Methods inherited from Model
#clear, #each_ngram, #has_ngram?, #initialize, #ngrams, #ngrams_ending_with, #ngrams_starting_with, #ngrams_with, #parse_sentence, #parse_text, #probabilities_for, #probability_of_gram, #probability_of_ngram, #probability_of_ngrams, #train_with_ngram, #train_with_ngrams, #vocabulary, #within_vocabulary?