

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Hw9 is the continuation of Hw7 and Hw8. The example files are under dropbox/07-08/570/hw7/examples/ as before. Parts I-III are very similar to Parts IV-VI at Hw8, and Parts IV-VII are the smoothed version of Parts I-III.
Part I (30 points): Write a script, create hmm2.sh, that creates an HMM for a trigram POS tagger given the annotated training data. It is the same as create hmm.sh in Hw8, except that the HMM is for a trigram tagger.
Part II (10 points): Write a script, test hmm2.sh, that tags sentences using the hmm created in Part I.
Part III (10 points): Use wsj sec0.word pos as the training data, and wsj sec0.word as the test data, run create hmm2.sh and test hmm2.sh, and compare the system output with the gold standard, what is the tagging accuracy?
Part IV (50 points): Write a script, create hmm3.sh, that creates a smoothed HMM for a trigram POS tagger given the annotated training data.
Part V (10 points): Write a script, test hmm3.sh, that tags sentences using the hmm created in Part IV.
Part VI (10 points): Write a wrapper, trigram tagger.sh, that does training, testing, and evalu- ation.