Merge pull request #2127 from SebastinSanty/docs-patch

Docs patch
This commit is contained in:
Ines Montani 2018-03-22 09:03:50 +01:00 committed by GitHub
commit 40c444eaae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -674,7 +674,7 @@ p
| token vectors. | token vectors.
+aside-code("Example"). +aside-code("Example").
apples = nlp(u'I like apples') doc = nlp(u'I like apples')
assert doc.vector.dtype == 'float32' assert doc.vector.dtype == 'float32'
assert doc.vector.shape == (300,) assert doc.vector.shape == (300,)

View File

@ -37,7 +37,7 @@ p
+cell.u-text-label.u-color-theme=label +cell.u-text-label.u-color-theme=label
for cell in cells for cell in cells
+cell.u-text-center +cell.u-text-center
- var result = cell > 0.5 ? ["yes", "similar"] : cell != 1 ? ["no", "dissimilar"] : ["neutral", "identical"] - var result = cell < 0.5 ? ["no", "dissimilar"] : cell != 1 ? ["yes", "similar"] : ["neutral", "identical"]
| #[code=cell.toFixed(2)] #[+procon(...result)] | #[code=cell.toFixed(2)] #[+procon(...result)]
p p