diff --git a/website/usage/_spacy-101/_lightning-tour.jade b/website/usage/_spacy-101/_lightning-tour.jade index acc7d5835..acf423c48 100644 --- a/website/usage/_spacy-101/_lightning-tour.jade +++ b/website/usage/_spacy-101/_lightning-tour.jade @@ -105,6 +105,7 @@ p +h(3, "lightning-tour-displacy") Visualize a dependency parse and named entities in your browser +tag-model("dependency parse", "NER") + +tag-new(2) +aside .u-text-center(style="overflow: auto"). diff --git a/website/usage/_spacy-101/_similarity.jade b/website/usage/_spacy-101/_similarity.jade index cb3611f92..74ed98941 100644 --- a/website/usage/_spacy-101/_similarity.jade +++ b/website/usage/_spacy-101/_similarity.jade @@ -28,7 +28,10 @@ p | #[strong #[+procon("yes", "similar", false, 16)] similarity:] similar (higher is more similar) #[br] | #[strong #[+procon("no", "dissimilar", false, 16)] similarity:] dissimilar (lower is less similar) -+table(["", "dog", "cat", "banana"]) ++table + +row("head") + for column in ["", "dog", "cat", "banana"] + +head-cell.u-text-center=column each cells, label in {"dog": [1, 0.8, 0.24], "cat": [0.8, 1, 0.28], "banana": [0.24, 0.28, 1]} +row +cell.u-text-label.u-color-theme=label diff --git a/website/usage/_vectors-similarity/_in-context.jade b/website/usage/_vectors-similarity/_in-context.jade index 6d4fb8b3d..becd74348 100644 --- a/website/usage/_vectors-similarity/_in-context.jade +++ b/website/usage/_vectors-similarity/_in-context.jade @@ -108,8 +108,7 @@ p - var examples = {"dog bites man": [1, 0.9, 0.89, 0.92], "man bites dog": [0.9, 1, 0.93, 0.9], "man dog bites": [0.89, 0.93, 1, 0.92], "dog man bites": [0.92, 0.9, 0.92, 1]} - var counter = 0 - +row - +row + +row("head") +cell for _, label in examples +cell.u-text-center=label