Back to Ailearning

zh-NER-keras

src/py3.x/tensorflow2.x/zh-NER-keras-master/README.md

2.0618 B
Original Source

zh-NER-keras

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

requirements

demo

python

python val.py

input:

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

output:

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