mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-14 21:57:15 +03:00
968f6f0bda
## Description This PR adds the most relevant documentation of spaCy's Cython API. (Todo for when we publish this: rewrite `/api/#section-cython` and `/api/#cython` to `/api/cython#conventions`.) ### Types of change docs ## Checklist <!--- Before you submit the PR, go over this checklist and make sure you can tick off all the boxes. [] -> [x] --> - [x] I have submitted the spaCy Contributor Agreement. - [x] I ran the tests, and all new and existing tests passed. - [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
24 lines
786 B
Plaintext
24 lines
786 B
Plaintext
//- 💫 DOCS > API > CYTHON > CLASSES > STRINGSTORE
|
|
|
|
p A lookup table to retrieve strings by 64-bit hashes.
|
|
|
|
+infobox
|
|
| This section documents the extra C-level attributes and methods that
|
|
| can't be accessed from Python. For the Python documentation, see
|
|
| #[+api("stringstore") #[code StringStore]].
|
|
|
|
+h(3, "stringstore_attributes") Attributes
|
|
|
|
+table(["Name", "Type", "Description"])
|
|
+row
|
|
+cell #[code mem]
|
|
+cell #[code cymem.Pool]
|
|
+cell
|
|
| A memory pool. Allocated memory will be freed once the
|
|
| #[code StringStore] object is garbage collected.
|
|
|
|
+row
|
|
+cell #[code keys]
|
|
+cell #[+abbr("vector[uint64_t]") #[code vector[hash_t]]]
|
|
+cell A list of hash values in the #[code StringStore].
|