diff --git a/website/docs/api/language.jade b/website/docs/api/language.jade index cc713f93c..93df56f1a 100644 --- a/website/docs/api/language.jade +++ b/website/docs/api/language.jade @@ -63,9 +63,8 @@ p | is preserved. +aside-code("Example"). - tokens = nlp('An example sentence. Another example sentence.') - tokens[0].text, tokens[0].head.tag_ - # ('An', 'NN') + doc = nlp(u'An example sentence. Another sentence.') + assert (doc[0].text, doc[0].head.tag_) == ('An', 'NN') +table(["Name", "Type", "Description"]) +row