Skip to content

Implementation of the Baum-Welch EM algorithm for re-learning parameters on the Brown corpus.

Notifications You must be signed in to change notification settings

bakszero/HiddenMarkovModels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Baum Welch Algorithm

Implementation of Baum Welch-Algorithm for POS tagging using the expectation-minimization algorithm.

Has implementation of both online and batch training versions.

Usage

cd src/

python main_alter.py ../corpus/brown_nolines.txt

Other versions can be used depending on requirement. main_alter is the version used for calculating the results data.

Tasks

  • Implement Forward and Backward Algorithm.
  • Compute Gamma and Eta.
  • Implement Maximisation step
  • Implement scaling to avoid underflow.
  • Predict top 100 words(emission probabilities) for each tag.
  • Contains the report describing the workflow.

About

Implementation of the Baum-Welch EM algorithm for re-learning parameters on the Brown corpus.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages