mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-24 00:04:15 +03:00
Remove simply
(#11017)
I was reading this page, and as a relative beginner, nothing about it was simple :)
This commit is contained in:
parent
4155a59d47
commit
308a612ec9
|
@ -587,7 +587,7 @@ consists of either two or three subnetworks:
|
||||||
run once for each batch.
|
run once for each batch.
|
||||||
- **lower**: Construct a feature-specific vector for each `(token, feature)`
|
- **lower**: Construct a feature-specific vector for each `(token, feature)`
|
||||||
pair. This is also run once for each batch. Constructing the state
|
pair. This is also run once for each batch. Constructing the state
|
||||||
representation is then simply a matter of summing the component features and
|
representation is then a matter of summing the component features and
|
||||||
applying the non-linearity.
|
applying the non-linearity.
|
||||||
- **upper** (optional): A feed-forward network that predicts scores from the
|
- **upper** (optional): A feed-forward network that predicts scores from the
|
||||||
state representation. If not present, the output from the lower model is used
|
state representation. If not present, the output from the lower model is used
|
||||||
|
@ -628,7 +628,7 @@ same signature, but the `use_upper` argument was `True` by default.
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
Build a tagger model, using a provided token-to-vector component. The tagger
|
Build a tagger model, using a provided token-to-vector component. The tagger
|
||||||
model simply adds a linear layer with softmax activation to predict scores given
|
model adds a linear layer with softmax activation to predict scores given
|
||||||
the token vectors.
|
the token vectors.
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
|
@ -920,5 +920,5 @@ A function that reads an existing `KnowledgeBase` from file.
|
||||||
A function that takes as input a [`KnowledgeBase`](/api/kb) and a
|
A function that takes as input a [`KnowledgeBase`](/api/kb) and a
|
||||||
[`Span`](/api/span) object denoting a named entity, and returns a list of
|
[`Span`](/api/span) object denoting a named entity, and returns a list of
|
||||||
plausible [`Candidate`](/api/kb/#candidate) objects. The default
|
plausible [`Candidate`](/api/kb/#candidate) objects. The default
|
||||||
`CandidateGenerator` simply uses the text of a mention to find its potential
|
`CandidateGenerator` uses the text of a mention to find its potential
|
||||||
aliases in the `KnowledgeBase`. Note that this function is case-dependent.
|
aliases in the `KnowledgeBase`. Note that this function is case-dependent.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user