zh-NER-keras icon indicating copy to clipboard operation
zh-NER-keras copied to clipboard

details

zh-NER-keras

this project is a sample for Chinese Named Entity Recognition(NER) by Keras 2.1.4

requirements

  • keras=>2.1.4
  • keras contribute 2.0.8 (https://github.com/keras-team/keras-contrib)
  • h5py
  • pickle

demo


python val.py

input:

中华人民共和国国务院总理周恩来在外交部长陈毅,
副部长王东的陪同下,
连续访问了埃塞俄比亚等非洲10国以及阿尔巴尼亚

output:

['person: 周恩来 陈毅, 王东', 'location: 埃塞俄比亚 非洲 阿尔巴尼亚', 'organzation: 中华人民共和国国务院 外交部']