Classical k-gram Language Models


[Up] [Top]

Documentation for package ‘kgrams’ version 0.2.0

Help Pages

%+% String concatenation
%|% Word-context conditional expression
as.character.kgrams_dictionary Word dictionaries
as_dictionary Word dictionaries
as_dictionary.character Word dictionaries
as_dictionary.kgrams_dictionary Word dictionaries
BOS Special Tokens
dictionary Word dictionaries
dictionary.character Word dictionaries
dictionary.connection Word dictionaries
dictionary.kgram_freqs Word dictionaries
EOS Special Tokens
info k-gram Probability Smoothers
kgram_freqs k-gram Frequency Tables
kgram_freqs.character k-gram Frequency Tables
kgram_freqs.connection k-gram Frequency Tables
kgram_freqs.kgram_freqs k-gram Frequency Tables
kgram_freqs.numeric k-gram Frequency Tables
language_model k-gram Language Models
language_model.kgram_freqs k-gram Language Models
language_model.language_model k-gram Language Models
midsummer A Midsummer Night's Dream
much_ado Much Ado About Nothing
param Language Model Parameters
param.kgram_freqs Language Model Parameters
param<- Language Model Parameters
parameters Language Model Parameters
perplexity Language Model Perplexities
perplexity.character Language Model Perplexities
perplexity.connection Language Model Perplexities
preprocess Text preprocessing
probability Language Model Probabilities
probability.character Language Model Probabilities
probability.kgrams_word_context Language Model Probabilities
process_sentences k-gram Frequency Tables
process_sentences.character k-gram Frequency Tables
process_sentences.connection k-gram Frequency Tables
query Query k-gram frequency tables or dictionaries
query.kgrams_dictionary Query k-gram frequency tables or dictionaries
query.kgram_freqs Query k-gram frequency tables or dictionaries
sample_sentences Random Text Generation
smoothers k-gram Probability Smoothers
special_tokens Special Tokens
tknz_sent Sentence tokenizer
UNK Special Tokens
word_context Word-context conditional expression