Fix formatting and add missing v2 label

This commit is contained in:
ines 2017-10-29 01:18:09 +02:00
parent 53bfcdba31
commit 5147cdc468
3 changed files with 6 additions and 3 deletions

View File

@ -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").

View File

@ -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

View File

@ -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