From a5a9417d926dca4fb5a0262e2aa812f31811caeb Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 27 Jan 2015 18:53:29 +1100 Subject: [PATCH] * Fix typo from toby --- docs/source/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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