mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
* Fix typo from toby
This commit is contained in:
parent
f5fab2d9d7
commit
a5a9417d92
|
@ -208,7 +208,7 @@ problematic, given our starting assumptions:
|
|||
>>> def is_bad_adverb(token, target_verb, tol):
|
||||
... if token.pos != ADV
|
||||
... return False
|
||||
... elif toke.head.pos != VERB:
|
||||
... elif token.head.pos != VERB:
|
||||
... return False
|
||||
... elif cosine(token.head.repvec, target_verb) < tol:
|
||||
... return False
|
||||
|
|
Loading…
Reference in New Issue
Block a user