mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +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.
|
||||
|
||||
+row
|
||||
+cell #[code tensor]
|
||||
+cell #[code tensor] #[+tag-new(2)]
|
||||
+cell object
|
||||
+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
|
||||
+cell #[code user_data]
|
||||
+cell -
|
||||
|
|
Loading…
Reference in New Issue
Block a user