What do spaCy's part-of-speech and dependency tags mean?

后端 未结 4 1942
时光取名叫无心
时光取名叫无心 2021-01-30 02:50

spaCy tags up each of the Tokens in a Document with a part of speech (in two different formats, one stored in the pos and pos_

4条回答
  •  庸人自扰
    2021-01-30 03:05

    The official documentation now provides much more details for all those annotations at https://spacy.io/api/annotation (and the list of other attributes for tokens can be found at https://spacy.io/api/token).

    As the documentation shows, their parts-of-speech (POS) and dependency tags have both Universal and specific variations for different languages and the explain() function is a very useful shortcut to get a better description of a tag's meaning without the documentation, e.g.

    spacy.explain("VBD")
    

    which gives "verb, past tense".

提交回复
热议问题