Update Doc.char_span docs [ci skip]

This commit is contained in:
ines 2018-02-07 01:08:30 +01:00
parent e839ba6c85
commit 58eb178667
1 changed files with 4 additions and 2 deletions

View File

@ -245,7 +245,9 @@ p Check whether an extension has been registered on the #[code Doc] class.
+tag method +tag method
+tag-new(2) +tag-new(2)
p Create a #[code Span] object from the slice #[code doc.text[start : end]]. p
| Create a #[code Span] object from the slice #[code doc.text[start : end]].
| Returns #[code None] if the character indices don't map to a valid span.
+aside-code("Example"). +aside-code("Example").
doc = nlp(u'I like New York') doc = nlp(u'I like New York')
@ -276,7 +278,7 @@ p Create a #[code Span] object from the slice #[code doc.text[start : end]].
+row("foot") +row("foot")
+cell returns +cell returns
+cell #[code Span] +cell #[code Span]
+cell The newly constructed object. +cell The newly constructed object or #[code None].
+h(2, "similarity") Doc.similarity +h(2, "similarity") Doc.similarity
+tag method +tag method