N-GRAM LANGUAGE MODEL
Assignment 7 — NLTK + Laplace Smoothing
Blank = use the auto-split held-out portion from training.
🎲
Train a Language Model
Provide a corpus, select N, and click Train Model. Then generate text or compute perplexity.
MODEL TRAINED
GENERATED TEXT
(train the model and click Generate Text)
PERPLEXITY
—
Click Compute Perplexity to evaluate the model.