/HMM

Primary LanguagePython

HMM

This program implements a partially supervised model for tagging using HMM and forward-backward algorithm.

Data

The data is available at http://www.cs.jhu.edu/~jason/465/hw-hmm/data/

Usage

python HMMem.py <train_file> <test_file> <raw_file>

Reference

Eisner, Jason. "An interactive spreadsheet for teaching the forward-backward algorithm." Proceedings of the ACL-02 Workshop on Effective tools and methodologies for teaching natural language processing and computational linguistics-Volume 1. Association for Computational Linguistics, 2002.