1 Star 0 Fork 0

jostree / HMM-NER

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

#HMM-NER

##build method

  1. Make sure that there is cmake in your computer. If not, you can use sudo apt-get install cmake. to install cmake in ubuntu or brew install cmake to install cmake in Mac OS.
  2. Create a build folder in the project dir. You can us this command mkdir build.
  3. Go in the folder build with command cd build, and input the command cmake .. to generate the makefile.
  4. Type the command make to build all the project.

##Usage

  1. There are five executable files in the folder build/bin:
    • trainhmmwithtag can load People's Daily corpus, output the transmit probability and emit probability. *USAGE: * ./trainhmmwithtag input output.
    • gentestset can generate the test set and the right tag answer from Pelple's Daily corpus. **USAGE: ** ./gentestset input output.
    • vit is the decoder can recongise a word is a entity or not and give the tag.USAGE: ./vit model <input >output. *evaluate is used to evaluate the tag generated form vit is effective or not. **USAGE: **./evaluate yourtagedfile answer.

空文件

简介

Use a hmm model to recognize the named entity in Chinese. 展开 收起
C++
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/jostree/HMM-NER.git
git@gitee.com:jostree/HMM-NER.git
jostree
HMM-NER
HMM-NER
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891