mirror of
https://github.com/explosion/spaCy.git
synced 2025-06-06 06:03:11 +03:00
Add Doc.cats attribute and missing v2 tag
This commit is contained in:
parent
1ddbeddca2
commit
23d976ed00
|
@ -558,10 +558,20 @@ p
|
||||||
+cell The store of lexical types.
|
+cell The store of lexical types.
|
||||||
|
|
||||||
+row
|
+row
|
||||||
+cell #[code tensor]
|
+cell #[code tensor] #[+tag-new(2)]
|
||||||
+cell object
|
+cell object
|
||||||
+cell Container for dense vector representations.
|
+cell Container for dense vector representations.
|
||||||
|
|
||||||
|
+row
|
||||||
|
+cell #[code cats] #[+tag-new(2)]
|
||||||
|
+cell dictionary
|
||||||
|
+cell
|
||||||
|
| Maps either a label to a score for categories applied to whole
|
||||||
|
| document, or #[code (start_char, end_char, label)] to score for
|
||||||
|
| categories applied to spans. #[code start_char] and #[code end_char]
|
||||||
|
| should be character offsets, label can be either a string or an
|
||||||
|
| integer ID, and score should be a float.
|
||||||
|
|
||||||
+row
|
+row
|
||||||
+cell #[code user_data]
|
+cell #[code user_data]
|
||||||
+cell -
|
+cell -
|
||||||
|
|
Loading…
Reference in New Issue
Block a user