项目作者: yzhangcs

项目描述 :
Hidden Markov Model
高级语言: Python
项目地址: git://github.com/yzhangcs/HMM.git
创建时间: 2018-07-15T09:35:19Z
项目社区:https://github.com/yzhangcs/HMM

开源协议:MIT License

下载


Hidden Markov Model

结构

  1. .
  2. ├── bigdata
  3. ├── dev.conll
  4. ├── test.conll
  5. └── train.conll
  6. ├── data
  7. ├── dev.conll
  8. └── train.conll
  9. ├── results
  10. ├── bhmm.txt
  11. └── hmm.txt
  12. ├── config.py
  13. ├── hmm.py
  14. ├── README.md
  15. └── run.py

用法

  1. $ python run.py -h
  2. usage: run.py [-h] [--bigdata] [--file FILE]
  3. Create Hidden Markov Model(HMM) for POS Tagging.
  4. optional arguments:
  5. -h, --help show this help message and exit
  6. --bigdata, -b use big data
  7. --file FILE, -f FILE set where to store the model
  8. # e.g.
  9. $ python run.py -b

结果

大数据集 alpha dev/P test/P mT(s)
× 0.3 75.7428% * 0:00:00.723058
0.01 88.3546% 88.4994% 0:00:02.846564