Skip to content

Implementation of a POS-tagger using the Viterbi Algorithm in python

Notifications You must be signed in to change notification settings

zjesko/hmm-pos-tagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Implementation of a POS-tagger using the Viterbi Algorithm in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages