命名实体识别工具——Stanza

简介

Stanza is a collection of accurate and efficient tools for many human languages in one place. Starting from raw text to syntactic analysis and entity recognition, Stanza brings state-of-the-art NLP models to languages of your choosing.

重点在于使用pytorch框架构建的深度学习模型解决了本质是序列标注的一系列问题,如NER,词性标注等

2020年的Stanford团队推出的,就是做Stanford CoreNLP的那个

项目资源

github
docs

Pre-trained Models

在这里插入图片描述

使用

pip install stanza

通过提取token,里面包含各项属性,比如实体类别

import stanza

# 使用前需要download
clinical_ner_model = stanza.Pipeline('en', package='mimic', processors={
   
   'ner': 'i2b2'}, verbose=False)
disease_ner_model = stanza.Pipeline('en', package='mimic', processors={
   
   'ner': 'ncbi_disease'}, verbose=False
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值