summaryrefslogtreecommitdiff
path: root/test/data/translator-test-results.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-05-14 18:45:18 -0400
committerGitHub <noreply@github.com>2022-05-14 18:45:18 -0400
commit8b206e4d0458892d30661353bfb95c6dcefe5b67 (patch)
treedc18db4a7776b0a104b7b60827b55307f1a26770 /test/data/translator-test-results.json
parentfd75e91e7544939faf302caef453a81cef48f420 (diff)
Update structured content tests (#2134)
Diffstat (limited to 'test/data/translator-test-results.json')
-rw-r--r--test/data/translator-test-results.json111
1 files changed, 111 insertions, 0 deletions
diff --git a/test/data/translator-test-results.json b/test/data/translator-test-results.json
index cf2ced0a..98db0ef4 100644
--- a/test/data/translator-test-results.json
+++ b/test/data/translator-test-results.json
@@ -16117,5 +16117,116 @@
"frequencies": []
}
]
+ },
+ {
+ "name": "Structured content test",
+ "originalTextLength": 2,
+ "dictionaryEntries": [
+ {
+ "type": "term",
+ "isPrimary": true,
+ "inflections": [],
+ "score": 35,
+ "frequencyOrder": 0,
+ "dictionaryIndex": 0,
+ "dictionaryPriority": 0,
+ "sourceTermExactMatchCount": 1,
+ "maxTransformedTextLength": 2,
+ "headwords": [
+ {
+ "index": 0,
+ "term": "構造",
+ "reading": "こうぞう",
+ "sources": [
+ {
+ "originalText": "構造",
+ "transformedText": "構造",
+ "deinflectedText": "構造",
+ "matchType": "exact",
+ "matchSource": "term",
+ "isPrimary": true
+ }
+ ],
+ "tags": [
+ {
+ "name": "E1",
+ "category": "default",
+ "order": 0,
+ "score": 0,
+ "content": [
+ "example tag 1"
+ ],
+ "dictionaries": [
+ "Test Dictionary 2"
+ ],
+ "redundant": false
+ },
+ {
+ "name": "P",
+ "category": "popular",
+ "order": 0,
+ "score": 0,
+ "content": [
+ "popular term"
+ ],
+ "dictionaries": [
+ "Test Dictionary 2"
+ ],
+ "redundant": false
+ }
+ ],
+ "wordClasses": [
+ "n"
+ ]
+ }
+ ],
+ "definitions": [
+ {
+ "index": 0,
+ "headwordIndices": [
+ 0
+ ],
+ "dictionary": "Test Dictionary 2",
+ "dictionaryIndex": 0,
+ "dictionaryPriority": 0,
+ "id": 21,
+ "score": 35,
+ "frequencyOrder": 0,
+ "sequences": [
+ 101
+ ],
+ "isPrimary": true,
+ "tags": [
+ {
+ "name": "n",
+ "category": "partOfSpeech",
+ "order": 0,
+ "score": 0,
+ "content": [
+ "noun"
+ ],
+ "dictionaries": [
+ "Test Dictionary 2"
+ ],
+ "redundant": false
+ }
+ ],
+ "entries": [
+ "kouzou definition 1",
+ {
+ "type": "structured-content",
+ "content": "kouzou definition 2"
+ },
+ {
+ "type": "structured-content",
+ "content": "kouzou definition 3 (構造)"
+ }
+ ]
+ }
+ ],
+ "pronunciations": [],
+ "frequencies": []
+ }
+ ]
}
] \ No newline at end of file