pavanlupane / pos-tagger-hmm Goto Github PK
View Code? Open in Web Editor NEWThis is a POS tagging utility based on supervised learning and Hidden Markov Model.
This is a POS tagging utility based on supervised learning and Hidden Markov Model.
##### README file for hmm-pos-tagger ##### This is a Hidden Markov Model part-of-speech tagger for Catalan. Program uses HMM for modeling/learning the tagged corpus and the Viterbi Algorithm for decoding. Laplace smoothing is used in learning to cover unseen words and tags transitions. The accuracy of this utility is 94.23% Source Code : There are 2 main python files. Usage: 1. hmmlearn3.py --> This is the python code to learn existing tagged corpus and generate the model for decoding. Input: Give the input path of tagged corpus file (corpus -> catalan_corpus_train_tagged.txt) eg. > python hmmlearn3.py /path/to/input Output: This will output "hmmmodel.txt" file (sample model fileavailable in Sample Outputs folder). 2. hmmdecode3.py --> This is the python code to decode untagged corpus and assign tags to them. Input: Give the input path of raw untagged corpus file (corpus -> catalan_corpus_dev_raw.txt). The code picks up the hmmmodel.txt internally. > python hmmdecode3.py /path/to/input Output: This will output "hmmoutput.txt" file (sample model fileavailable in Sample Outputs folder). You can compare this output with standard output file available in (corpus -> catalan_corpus_dev_tagged.txt) for accuracy calculation. Note: Corpus folder also includes a small english corpus for small scale testing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.