bigram-hmm
This is an implementation of first-order HMM which is trained on the Brown corpus
How to use:
- Download and extract Brown Corpus (More information: https://en.wikipedia.org/wiki/Brown_Corpus)
- Checkout code from github (https://github.com/viettrung/bigram-hmm/)
- Put main.py to same folder with Brown Corpus folder
- Run file with python3
- After train time, input random sentence to pos.