GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - poccajknjkn/hmm_ner_organization: 使用HMM模型实现的机构名实体识别

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
data
data
 
 
OrgRecognize.py
OrgRecognize.py
 
 
README.md
README.md
 
 
generate_datas.py
generate_datas.py
 
 

Repository files navigation

基于HMM模型的机构名实体识别

1.环境依赖

  • python 2.7
  • jieba (可选)

2.算法说明

参考《基于角色标注的中文机构名识别》论文,结合HanLP提供的针对机构名的HMM语料,实现了基于HMM模型的机构名实体识别算法。

详细说明文档,可前往我的博客围观:用隐马尔可夫模型(HMM)做命名实体识别——NER系列(二)

3.使用说明

首先,运行以下脚本:

python generate_data.py

会在./data下生成transition_probability.txt,emit_probability.txt以及initial_vector.txt

然后,运行:

python OrgRecognize.py

就可以了,不出意外,“中海油集团在哪里”这句话,会识别出“中海油集团”这个机构实体。

4.参考资料

  • 张华平, 刘群. 基于角色标注的中国人名自动识别研究[J]. 计算机学报, 2004, 27(1):85-91.
  • 俞鸿魁, 张华平, 刘群. 基于角色标注的中文机构名识别[C]// Advances in Computation of Oriental Languages--Proceedings of the, International Conference on Computer Processing of Oriental Languages. 2003.
  • 俞鸿魁, 张华平, 刘群,等. 基于层叠隐马尔可夫模型的中文命名实体识别[J]. 通信学报, 2006, 27(2):87-94.
  • 码农场文章:层叠HMM-Viterbi角色标注模型下的机构名识别

About

使用HMM模型实现的机构名实体识别

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.