aboutsummaryrefslogtreecommitdiff
path: root/test/data/translator-test-results.json
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2023-12-28 06:39:19 +0100
committerGitHub <noreply@github.com>2023-12-28 05:39:19 +0000
commitfc2123a45b3ceacc2ec887d24e5e752dca59bb4f (patch)
tree3a5105a6bff7a1755582c0cb9d38996933044b2b /test/data/translator-test-results.json
parent60cd218663f62f79394e9c0247e0fe40de6589b6 (diff)
add phonetic transcriptions term meta type (#434)
* move dictionary files to dictionary folder * wip * move dictionary files to dictionary folder * add ipa term meta * wip * fixing comments wip * fixing comments wip * fixing comments wip * fixing comments wip * fixing comments wip * fixing comments wip * fix comments * fix comments * update test data * fix gitignore * engines * add tests * update database test * fix test
Diffstat (limited to 'test/data/translator-test-results.json')
-rw-r--r--test/data/translator-test-results.json235
1 files changed, 203 insertions, 32 deletions
diff --git a/test/data/translator-test-results.json b/test/data/translator-test-results.json
index 0a7155b8..50d97775 100644
--- a/test/data/translator-test-results.json
+++ b/test/data/translator-test-results.json
@@ -1740,14 +1740,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -1927,14 +1929,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -2114,14 +2118,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -2301,14 +2307,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -4637,14 +4645,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -4824,14 +4834,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -5351,14 +5363,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -5538,14 +5552,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -6820,14 +6836,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -7055,14 +7073,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -8194,14 +8214,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -8215,14 +8237,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -9227,14 +9251,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -9418,14 +9444,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -9609,14 +9637,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -9800,14 +9830,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -11000,14 +11032,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -11187,14 +11221,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -11374,14 +11410,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -11561,14 +11599,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -12761,14 +12801,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -12948,14 +12990,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -13135,14 +13179,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -13322,14 +13368,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -15012,14 +15060,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -15033,14 +15083,16 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
"tags": []
},
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [],
"devoicePositions": [],
@@ -15674,8 +15726,9 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 2,
"nasalPositions": [],
"devoicePositions": [],
@@ -15696,6 +15749,7 @@
]
},
{
+ "type": "pitch-accent",
"position": 2,
"nasalPositions": [],
"devoicePositions": [],
@@ -15716,6 +15770,7 @@
]
},
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [],
"devoicePositions": [],
@@ -15820,8 +15875,9 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 3,
"nasalPositions": [
3
@@ -15914,8 +15970,9 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [
3
@@ -16008,8 +16065,9 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 0,
"nasalPositions": [
2
@@ -16102,8 +16160,9 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "pitches": [
+ "pronunciations": [
{
+ "type": "pitch-accent",
"position": 4,
"nasalPositions": [],
"devoicePositions": [
@@ -16119,6 +16178,118 @@
]
},
{
+ "name": "Test pronunciations 6 - phonetic transcriptions",
+ "originalTextLength": 2,
+ "dictionaryEntries": [
+ {
+ "type": "term",
+ "isPrimary": true,
+ "inflections": [],
+ "score": 1,
+ "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": [],
+ "wordClasses": []
+ }
+ ],
+ "definitions": [
+ {
+ "index": 0,
+ "headwordIndices": [
+ 0
+ ],
+ "dictionary": "Test Dictionary 2",
+ "dictionaryIndex": 0,
+ "dictionaryPriority": 0,
+ "id": 20,
+ "score": 1,
+ "frequencyOrder": 0,
+ "sequences": [
+ 14
+ ],
+ "isPrimary": true,
+ "tags": [
+ {
+ "name": "adj-na",
+ "category": "default",
+ "order": 0,
+ "score": 0,
+ "content": [],
+ "dictionaries": [
+ "Test Dictionary 2"
+ ],
+ "redundant": false
+ },
+ {
+ "name": "n",
+ "category": "partOfSpeech",
+ "order": 0,
+ "score": 0,
+ "content": [
+ "noun"
+ ],
+ "dictionaries": [
+ "Test Dictionary 2"
+ ],
+ "redundant": false
+ }
+ ],
+ "entries": [
+ "suki definition"
+ ]
+ }
+ ],
+ "pronunciations": [
+ {
+ "index": 0,
+ "headwordIndex": 0,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryIndex": 0,
+ "dictionaryPriority": 0,
+ "pronunciations": [
+ {
+ "type": "phonetic-transcription",
+ "ipa": "[sɨᵝkʲi]",
+ "tags": [
+ {
+ "name": "東京",
+ "category": "default",
+ "order": 0,
+ "score": 0,
+ "content": [],
+ "dictionaries": [
+ "Test Dictionary 2"
+ ],
+ "redundant": false
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "frequencies": []
+ }
+ ]
+ },
+ {
"name": "Structured content test",
"originalTextLength": 2,
"dictionaryEntries": [
@@ -16189,7 +16360,7 @@
"dictionary": "Test Dictionary 2",
"dictionaryIndex": 0,
"dictionaryPriority": 0,
- "id": 21,
+ "id": 22,
"score": 35,
"frequencyOrder": 0,
"sequences": [