mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Update "requires model" tags
This commit is contained in:
parent
8ef6bfebca
commit
c8580da686
|
@ -142,7 +142,7 @@ p Get the number of tokens in the document.
|
|||
|
||||
+h(2, "similarity") Doc.similarity
|
||||
+tag method
|
||||
+tag requires model: vectors
|
||||
+tag-model("vectors")
|
||||
|
||||
p
|
||||
| Make a semantic similarity estimate. The default estimate is cosine
|
||||
|
@ -336,7 +336,7 @@ p
|
|||
|
||||
+h(2, "print_tree") Doc.print_tree
|
||||
+tag method
|
||||
+tag requires model: parse
|
||||
+tag-model("parse")
|
||||
|
||||
p
|
||||
| Returns the parse trees in JSON (dict) format. Especially useful for
|
||||
|
@ -391,7 +391,7 @@ p
|
|||
|
||||
+h(2, "noun_chunks") Doc.noun_chunks
|
||||
+tag property
|
||||
+tag requires model: parse
|
||||
+tag-model("parse")
|
||||
|
||||
p
|
||||
| Iterate over the base noun phrases in the document. Yields base
|
||||
|
@ -414,7 +414,7 @@ p
|
|||
|
||||
+h(2, "sents") Doc.sents
|
||||
+tag property
|
||||
+tag requires model: parse
|
||||
+tag-model("parse")
|
||||
|
||||
p
|
||||
| Iterate over the sentences in the document. Sentence spans have no label.
|
||||
|
@ -436,7 +436,7 @@ p
|
|||
|
||||
+h(2, "has_vector") Doc.has_vector
|
||||
+tag property
|
||||
+tag requires model: vectors
|
||||
+tag-model("vectors")
|
||||
|
||||
p
|
||||
| A boolean value indicating whether a word vector is associated with the
|
||||
|
@ -454,7 +454,7 @@ p
|
|||
|
||||
+h(2, "vector") Doc.vector
|
||||
+tag property
|
||||
+tag requires model: vectors
|
||||
+tag-model("vectors")
|
||||
|
||||
p
|
||||
| A real-valued meaning representation. Defaults to an average of the
|
||||
|
@ -473,7 +473,7 @@ p
|
|||
|
||||
+h(2, "vector_norm") Doc.vector_norm
|
||||
+tag property
|
||||
+tag requires model: vectors
|
||||
+tag-model("vectors")
|
||||
|
||||
p
|
||||
| The L2 norm of the document's vector representation.
|
||||
|
|
|
@ -118,7 +118,7 @@ p Get the number of tokens in the span.
|
|||
|
||||
+h(2, "similarity") Span.similarity
|
||||
+tag method
|
||||
+tag requires model: vectors
|
||||
+tag-model("vectors")
|
||||
|
||||
p
|
||||
| Make a semantic similarity estimate. The default estimate is cosine
|
||||
|
@ -165,7 +165,7 @@ p Retokenize the document, such that the span is merged into a single token.
|
|||
|
||||
+h(2, "root") Span.root
|
||||
+tag property
|
||||
+tag requires model: parse
|
||||
+tag-model("parse")
|
||||
|
||||
p
|
||||
| The token within the span that's highest in the parse tree. If there's a
|
||||
|
@ -187,7 +187,7 @@ p
|
|||
|
||||
+h(2, "lefts") Span.lefts
|
||||
+tag property
|
||||
+tag requires model: parse
|
||||
+tag-model("parse")
|
||||
|
||||
p Tokens that are to the left of the span, whose head is within the span.
|
||||
|
||||
|
@ -204,7 +204,7 @@ p Tokens that are to the left of the span, whose head is within the span.
|
|||
|
||||
+h(2, "rights") Span.rights
|
||||
+tag property
|
||||
+tag requires model: parse
|
||||
+tag-model("parse")
|
||||
|
||||
p Tokens that are to the right of the span, whose head is within the span.
|
||||
|
||||
|
@ -221,7 +221,7 @@ p Tokens that are to the right of the span, whose head is within the span.
|
|||
|
||||
+h(2, "subtree") Span.subtree
|
||||
+tag property
|
||||
+tag requires model: parse
|
||||
+tag-model("parse")
|
||||
|
||||
p Tokens that descend from tokens in the span, but fall outside it.
|
||||
|
||||
|
@ -238,7 +238,7 @@ p Tokens that descend from tokens in the span, but fall outside it.
|
|||
|
||||
+h(2, "has_vector") Span.has_vector
|
||||
+tag property
|
||||
+tag requires model: vectors
|
||||
+tag-model("vectors")
|
||||
|
||||
p
|
||||
| A boolean value indicating whether a word vector is associated with the
|
||||
|
@ -256,7 +256,7 @@ p
|
|||
|
||||
+h(2, "vector") Span.vector
|
||||
+tag property
|
||||
+tag requires model: vectors
|
||||
+tag-model("vectors")
|
||||
|
||||
p
|
||||
| A real-valued meaning representation. Defaults to an average of the
|
||||
|
@ -275,7 +275,7 @@ p
|
|||
|
||||
+h(2, "vector_norm") Span.vector_norm
|
||||
+tag property
|
||||
+tag requires model: vectors
|
||||
+tag-model("vectors")
|
||||
|
||||
p
|
||||
| The L2 norm of the span's vector representation.
|
||||
|
|
|
@ -75,7 +75,7 @@ p Check the value of a boolean flag.
|
|||
|
||||
+h(2, "similarity") Token.similarity
|
||||
+tag method
|
||||
+tag requires model: vectors
|
||||
+tag-model("vectors")
|
||||
|
||||
p Compute a semantic similarity estimate. Defaults to cosine over vectors.
|
||||
|
||||
|
@ -121,7 +121,7 @@ p Get a neighboring token.
|
|||
|
||||
+h(2, "is_ancestor") Token.is_ancestor
|
||||
+tag method
|
||||
+tag requires model: parse
|
||||
+tag-model("parse")
|
||||
|
||||
p
|
||||
| Check whether this token is a parent, grandparent, etc. of another
|
||||
|
@ -146,7 +146,7 @@ p
|
|||
|
||||
+h(2, "ancestors") Token.ancestors
|
||||
+tag property
|
||||
+tag requires model: parse
|
||||
+tag-model("parse")
|
||||
|
||||
p The rightmost token of this token's syntactic descendants.
|
||||
|
||||
|
@ -167,7 +167,7 @@ p The rightmost token of this token's syntactic descendants.
|
|||
|
||||
+h(2, "conjuncts") Token.conjuncts
|
||||
+tag property
|
||||
+tag requires model: parse
|
||||
+tag-model("parse")
|
||||
|
||||
p A sequence of coordinated tokens, including the token itself.
|
||||
|
||||
|
@ -184,7 +184,7 @@ p A sequence of coordinated tokens, including the token itself.
|
|||
|
||||
+h(2, "children") Token.children
|
||||
+tag property
|
||||
+tag requires model: parse
|
||||
+tag-model("parse")
|
||||
|
||||
p A sequence of the token's immediate syntactic children.
|
||||
|
||||
|
@ -201,7 +201,7 @@ p A sequence of the token's immediate syntactic children.
|
|||
|
||||
+h(2, "subtree") Token.subtree
|
||||
+tag property
|
||||
+tag requires model: parse
|
||||
+tag-model("parse")
|
||||
|
||||
p A sequence of all the token's syntactic descendents.
|
||||
|
||||
|
@ -218,7 +218,7 @@ p A sequence of all the token's syntactic descendents.
|
|||
|
||||
+h(2, "has_vector") Token.has_vector
|
||||
+tag property
|
||||
+tag requires model: vectors
|
||||
+tag-model("vectors")
|
||||
|
||||
p
|
||||
| A boolean value indicating whether a word vector is associated with the
|
||||
|
@ -237,7 +237,7 @@ p
|
|||
|
||||
+h(2, "vector") Token.vector
|
||||
+tag property
|
||||
+tag requires model: vectors
|
||||
+tag-model("vectors")
|
||||
|
||||
p
|
||||
| A real-valued meaning representation.
|
||||
|
@ -256,7 +256,7 @@ p
|
|||
|
||||
+h(2, "vector_norm") Span.vector_norm
|
||||
+tag property
|
||||
+tag requires model: vectors
|
||||
+tag-model("vectors")
|
||||
|
||||
p
|
||||
| The L2 norm of the token's vector representation.
|
||||
|
|
Loading…
Reference in New Issue
Block a user