Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 356 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 356 Bytes

Viterbi POS-Tagger

An implementation of the HMM Viterbi Algorithm for POS-tagging.

hmmmodel.txt contains the HMM model

Usage

Install requirements

pip install -r requirements.txt

Run and provide interactive input

python decode.py

Run from a test file containing a sentence

python decode.py < test.txt