Skip to content

viniciusarruda/pos-tagging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HMM Viterbi PoS-Tagging

PoS-Tagging using Hidden Markov Model (HMM) with Viterbi Algorithm: Live demo.

Dependencies

pip install numpy tqdm

Usage

Inside the code folder:

python main.py

Results

Check https://nlpprogress.com/english/part-of-speech_tagging.html to compare.

Mac-Morpho

Dataset: http://nilc.icmc.usp.br/macmorpho/

Accuracy training with the training set (macmorpho-train.txt) and testing on the test set (macmorpho-test.txt): 92.18%

WSJ

Dataset: https://aclanthology.org/J93-2004/

Accuracy training with the training set (WSJ_02-21.txt) and testing on the test set (WSJ_24.txt): 94.18%