diff --git a/docs/source/index.rst b/docs/source/index.rst index 8cb220363..f9f29f764 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -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