← pandyaHomeLab

Part-of-Speech Tagger

Hand-built HMM + Viterbi vs spaCy · 12 universal tags · UD English Web Treebank

One or more English sentences

Try an example:

Tagging failed. Please try again.

1 · Tags: HMM vs spaCy

HMM + ViterbispaCy taggers disagreeunknown to the HMM (its <UNK> class below)

2 · The Viterbi trellis

One column per word, one row per tag. Brightness = the tag's share of that column's best-path probability; outlined cells = the path Viterbi backtracked. Hover a cell for its log score and the tag it came from. The bottom row is the tag the word's emission alone would pick: yellow where the transitions overruled it.

HMM vs spaCy on the EWT test set

Counting the HMM and tagging 2,077 test sentences with both taggers — this fills in when warm-up finishes (under a minute).