Git Product home page Git Product logo

ner's Introduction

NER

中文命名实体识别算法,欢迎star!

1、目录结构

  • data: 训练数据集
  • models: 构造的模型
  • results_save: 存放结果
  • conlleval_rev: perl脚本,计算模型性能用
  • data_helper: 数据处理
  • eval: 调用perl脚本计算性能指标
  • run.py: 执行程序
  • train_val_test.py: 训练、验证和测试
  • utils.py: 包含一些用到的功能

2、数据

3、运行

python3 run.py --mode xxx
xxx: train/test/demo,默认为demo

4、效果

模型 指标 准确率 精确率 召回率 F1值
BiLSTM+CRF 平均 98.57% 90.04% 87.39% 88.83%
LOC - 92.73% 90.44 91.57%
ORG - 87.54% 86.03% 86.78%
PER - 87.82% 84.68% 86.22%

BiLSTM+CRF测试:

5、参考

[1] https://github.com/Determined22/zh-NER-TF

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.