aboutsummaryrefslogtreecommitdiff
path: root/test/data/translator-test-results-note-data1.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-note-data1.json
parentfd75e91e7544939faf302caef453a81cef48f420 (diff)
Update structured content tests (#2134)
Diffstat (limited to 'test/data/translator-test-results-note-data1.json')
-rw-r--r--test/data/translator-test-results-note-data1.json150
1 files changed, 150 insertions, 0 deletions
diff --git a/test/data/translator-test-results-note-data1.json b/test/data/translator-test-results-note-data1.json
index a297f587..d686563c 100644
--- a/test/data/translator-test-results-note-data1.json
+++ b/test/data/translator-test-results-note-data1.json
@@ -28213,5 +28213,155 @@
"media": {}
}
]
+ },
+ {
+ "name": "Structured content test",
+ "noteDataList": [
+ {
+ "marker": "{marker}",
+ "definition": {
+ "type": "term",
+ "id": 21,
+ "source": "構造",
+ "rawSource": "構造",
+ "sourceTerm": "構造",
+ "reasons": [],
+ "score": 35,
+ "isPrimary": true,
+ "sequence": 101,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryOrder": {
+ "index": 0,
+ "priority": 0
+ },
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "構造",
+ "reading": "こうぞう",
+ "expressions": [
+ {
+ "sourceTerm": "構造",
+ "expression": "構造",
+ "reading": "こうぞう",
+ "termTags": [
+ {
+ "name": "E1",
+ "category": "default",
+ "notes": "example tag 1",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "P",
+ "category": "popular",
+ "notes": "popular term",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "furiganaSegments": [
+ {
+ "text": "構造",
+ "furigana": "こうぞう"
+ }
+ ],
+ "termFrequency": "normal",
+ "wordClasses": [
+ "n"
+ ]
+ }
+ ],
+ "glossary": [
+ "kouzou definition 1",
+ {
+ "type": "structured-content",
+ "content": "kouzou definition 2"
+ },
+ {
+ "type": "structured-content",
+ "content": "kouzou definition 3 (構造)"
+ }
+ ],
+ "definitionTags": [
+ {
+ "name": "n",
+ "category": "partOfSpeech",
+ "notes": "noun",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "E1",
+ "category": "default",
+ "notes": "example tag 1",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "P",
+ "category": "popular",
+ "notes": "popular term",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1,
+ "url": "url:",
+ "cloze": {
+ "sentence": "",
+ "prefix": "",
+ "body": "",
+ "suffix": ""
+ },
+ "furiganaSegments": [
+ {
+ "text": "構造",
+ "furigana": "こうぞう"
+ }
+ ]
+ },
+ "glossaryLayoutMode": "default",
+ "compactTags": false,
+ "group": false,
+ "merge": false,
+ "modeTermKanji": false,
+ "modeTermKana": false,
+ "modeKanji": false,
+ "compactGlossaries": false,
+ "uniqueExpressions": [
+ "構造"
+ ],
+ "uniqueReadings": [
+ "こうぞう"
+ ],
+ "pitches": [],
+ "pitchCount": 0,
+ "context": {
+ "query": "query",
+ "fullQuery": "fullQuery",
+ "document": {
+ "title": "title"
+ }
+ },
+ "media": {}
+ }
+ ]
}
] \ No newline at end of file