mirror of https://github.com/doccano/doccano.git
Hironsan
5 years ago
11 changed files with 53 additions and 54 deletions
Split View
Diff Options
-
12app/server/api.py
-
0app/server/tests/data/classification.jsonl
-
2app/server/tests/data/example.csv
-
21app/server/tests/data/example.jsonl
-
3app/server/tests/data/example.labeling.jsonl
-
4app/server/tests/data/example.valid.1.csv
-
0app/server/tests/data/labeling.conll
-
0app/server/tests/data/labeling.invalid.conll
-
3app/server/tests/data/labeling.jsonl
-
0app/server/tests/data/seq2seq.jsonl
-
62app/server/tests/test_api.py
@ -1,4 +1,4 @@ |
|||
text, label |
|||
text,label |
|||
AAA,Positive |
|||
BBB,Positive |
|||
CCC,Negative |
@ -1,18 +1,3 @@ |
|||
{"id": 5, "label": "2", "text": "\u30a2\u30f3\u30d1\u30b5\u30f3\u30c9", "manual": true, "prob": 0.5, "manual": true, "prob": 0.5} |
|||
{"id": 10, "label": "2", "text": "\u8a00\u8a9e", "manual": true, "prob": 0.5} |
|||
{"id": 11, "label": "1", "text": "\u65e5\u672c\u8a9e", "manual": true, "prob": 0.5} |
|||
{"id": 12, "label": "1", "text": "\u5730\u7406\u5b66", "manual": true, "prob": 0.5} |
|||
{"id": 23, "label": "2", "text": "\u56fd\u306e\u4e00\u89a7", "manual": false, "prob": 0.5} |
|||
{"id": 31, "label": "2", "text": "\u30d1\u30ea", "manual": false, "prob": 0.5} |
|||
{"id": 32, "label": "3", "text": "\u30e8\u30fc\u30ed\u30c3\u30d1", "manual": false, "prob": 0.5} |
|||
{"id": 42, "label": "2", "text": "\u751f\u7269", "manual": true, "prob": 0.5} |
|||
{"id": 43, "label": "3", "text": "\u30b3\u30b1\u690d\u7269", "manual": false, "prob": 0.5} |
|||
{"id": 47, "label": "3", "text": "\u793e\u4f1a\u5b66", "manual": true, "prob": 0.5} |
|||
{"id": 111, "label": "1", "text": "\u65e5\u672c\u8a9e", "manual": true, "prob": 0.5} |
|||
{"id": 112, "label": "1", "text": "\u5730\u7406\u5b66", "manual": true, "prob": 0.5} |
|||
{"id": 123, "label": "2", "text": "\u56fd\u306e\u4e00\u89a7", "manual": false, "prob": 0.5} |
|||
{"id": 131, "label": "2", "text": "\u30d1\u30ea", "manual": false, "prob": 0.5} |
|||
{"id": 132, "label": "3", "text": "\u30e8\u30fc\u30ed\u30c3\u30d1", "manual": true, "prob": 0.5} |
|||
{"id": 142, "label": "2", "text": "\u751f\u7269", "manual": true, "prob": 0.5} |
|||
{"id": 143, "label": "1", "text": "\u30b3\u30b1\u690d\u7269", "manual": false, "prob": 0.5} |
|||
{"id": 147, "label": "3", "text": "\u793e\u4f1a\u5b66", "manual": true, "prob": 0.5} |
|||
{"text": "example"} |
|||
{"text": "example"} |
|||
{"text": "example"} |
@ -1,3 +0,0 @@ |
|||
{"text": "example", "entities": [[0, 1, "LOC"], [0, 2, "ORG"]]} |
|||
{"text": "example", "entities": [[0, 1, "LOC"]]} |
|||
{"text": "example", "entities": [[0, 1, "PER"]]} |
@ -1,4 +0,0 @@ |
|||
text |
|||
AAA |
|||
BBB |
|||
CCC |
@ -0,0 +1,3 @@ |
|||
{"text": "example", "labels": [[0, 1, "LOC"], [0, 2, "ORG"]]} |
|||
{"text": "example", "labels": [[0, 1, "LOC"]]} |
|||
{"text": "example", "labels": [[0, 1, "PER"]]} |
Write
Preview
Loading…
Cancel
Save