Develop Text Prediction Models Based on N-Grams


[Up] [Top]

Documentation for package ‘wordpredictor’ version 0.0.3

Help Pages

Base Base class for all other classes
DataAnalyzer Analyzes input text files and n-gram token files
DataCleaner Provides data cleaning functionality
DataSampler Generates data samples from text files
EnvManager Allows managing the test environment
Model Represents n-gram models
ModelEvaluator Evaluates performance of n-gram models
ModelGenerator Generates n-gram models from a text file
ModelPredictor Allows predicting text, calculating word probabilities and Perplexity
TokenGenerator Generates n-grams from text files
TPGenerator Generates transition probabilities for n-grams