spaCy token.tag_ 完整列表 [英] spaCy token.tag_ full list

查看:118
本文介绍了spaCy token.tag_ 完整列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

token.tag_的官方文档spaCy 如下:

一个细粒度、更详细的标签,代表词类和标记的一些基本形态信息.这些标签主要被设计为后续模型的良好特性,尤其是句法解析器.它们依赖于语言和树库.标记器经过训练来预测这些细粒度的标签,然后使用映射表将它们缩减为粗粒度的 .pos 标签.

A fine-grained, more detailed tag that represents the word-class and some basic morphological information for the token. These tags are primarily designed to be good features for subsequent models, particularly the syntactic parser. They are language and treebank dependent. The tagger is trained to predict these fine-grained tags, and then a mapping table is used to reduce them to the coarse-grained .pos tags.

但它没有列出完整的可用标签和每个标签的解释.我在哪里可以找到它?

But it doesn't list the full available tags and each tag's explanation. Where can I find it?

推荐答案

最后我在 spaCy 的源代码中找到了它:glossary.py.而这个 链接 解释不同标签的含义.

Finally I found it inside spaCy's source code: glossary.py. And this link explains the meaning of different tags.

这篇关于spaCy token.tag_ 完整列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆