Question: Please build your character - gram ( char - gram ) language models for the given training set. Please assume that you experiment will only
Please build your charactergram chargram language models for the given training set. Please assume that you experiment will only have the following characters
a b c d f h that exists in the training set.
Training set:
a a b c h d b f
b c h h a d f f a h b
b b a a h h c c h d d f a b f f h c c d f f h
h h f c f c a a c c d d d
Test set:
a b c d f
a b b c c d
Task:
Build charunigram language model,
Build charbigram language model,
Compute joint probability for the given test set using charunigram model.
Compute perplexity of your models charunigram, charbigram and compare which model is better.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
