BERT-CRF-for-Chinese-NER
Using BERT+CRF model to do Chinese NER task
如何运行
链接: 密码: 0qtc
请从网盘链接下载bert-chinese预训练模型,放在chinese-bert文件夹下
直接python run_ner.py即可
你好 :grinning_face:
内尔
使用NLTK和Spacy的NLP命名实体识别
def ner ( text )
docx = nlp ( text )
html = displacy . render ( docx , style = "ent" )
html = html . replace ("\n\ n ","\n")
result = HTML_WRAPPER . format ( html )