SpaCy - 术语在哪里定义?

问题描述 投票:0回答:1

GPEROOTLOC等术语,但它们在SpaCy文档中的什么位置定义?

ChatGPT 说:

在 SpaCy 中,GPE 代表“地缘政治实体”。它是一个命名实体标签,用于标识地缘政治实体,例如国家、城市和州。

但是人们如何理解和识别 SpaCy 中术语的定义?

spacy
1个回答
0
投票

似乎信息到处都是,似乎在 SpaCy 中不可用。

PERSON:      People, including fictional.
NORP:        Nationalities or religious or political groups.
FAC:         Buildings, airports, highways, bridges, etc.
ORG:         Companies, agencies, institutions, etc.
GPE:         Countries, cities, states.
LOC:         Non-GPE locations, mountain ranges, bodies of water.
PRODUCT:     Objects, vehicles, foods, etc. (Not services.)
EVENT:       Named hurricanes, battles, wars, sports events, etc.
WORK_OF_ART: Titles of books, songs, etc.
LAW:         Named documents made into laws.
LANGUAGE:    Any named language.
DATE:        Absolute or relative dates or periods.
TIME:        Times smaller than a day.
PERCENT:     Percentage, including ”%“.
MONEY:       Monetary values, including unit.
QUANTITY:    Measurements, as of weight or distance.
ORDINAL:     “first”, “second”, etc.
CARDINAL:    Numerals that do not fall under another type.
GPE: geopolitical entities, e.g. everything with a governing body like cities and countries. Examples: "Germany", "Buenos Aires".
LOC: everything else that's a physical location or area, like "Kalahari Desert" or "Silicon Valley"

ROOT 看起来是依赖语法句法依赖结构的根节点,虽然不是 100% 确定,因为到目前为止我在 SpaCy 文档中找不到定义。

当一个人正在努力识别给定短语的词根时,最负责确定该词组作为一个整体的分布的词就是它的词根。

© www.soinside.com 2019 - 2024. All rights reserved.