From fc2123a45b3ceacc2ec887d24e5e752dca59bb4f Mon Sep 17 00:00:00 2001 From: StefanVukovic99 Date: Thu, 28 Dec 2023 06:39:19 +0100 Subject: 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 --- test/data/anki-note-builder-test-results.json | 121 +++ .../valid-dictionary1/term_bank_1.json | 1 + .../valid-dictionary1/term_meta_bank_1.json | 10 + test/data/translator-test-inputs.json | 7 + test/data/translator-test-results-note-data1.json | 938 ++++++++++++++++++++- test/data/translator-test-results.json | 235 +++++- 6 files changed, 1274 insertions(+), 38 deletions(-) (limited to 'test/data') diff --git a/test/data/anki-note-builder-test-results.json b/test/data/anki-note-builder-test-results.json index 49542e39..86bffc6a 100644 --- a/test/data/anki-note-builder-test-results.json +++ b/test/data/anki-note-builder-test-results.json @@ -79,6 +79,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "だ", "screenshot": "", "search-query": "fullQuery", @@ -109,6 +110,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ダース", "screenshot": "", "search-query": "fullQuery", @@ -144,6 +146,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -174,6 +177,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -204,6 +208,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -234,6 +239,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -264,6 +270,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "だ", "screenshot": "", "search-query": "fullQuery", @@ -294,6 +301,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ダース", "screenshot": "", "search-query": "fullQuery", @@ -329,6 +337,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "うちこむ", "screenshot": "", "search-query": "fullQuery", @@ -359,6 +368,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "ぶちこむ", "screenshot": "", "search-query": "fullQuery", @@ -389,6 +399,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "うちこむ", "screenshot": "", "search-query": "fullQuery", @@ -419,6 +430,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "ぶちこむ", "screenshot": "", "search-query": "fullQuery", @@ -449,6 +461,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -479,6 +492,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -509,6 +523,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -539,6 +554,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -569,6 +585,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "だ", "screenshot": "", "search-query": "fullQuery", @@ -599,6 +616,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ダース", "screenshot": "", "search-query": "fullQuery", @@ -634,6 +652,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "がぞう", "screenshot": "", "search-query": "fullQuery", @@ -669,6 +688,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "だ", "screenshot": "", "search-query": "fullQuery", @@ -704,6 +724,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ダース", "screenshot": "", "search-query": "fullQuery", @@ -739,6 +760,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -769,6 +791,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -804,6 +827,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -834,6 +858,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -869,6 +894,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "うちこむ", "screenshot": "", "search-query": "fullQuery", @@ -899,6 +925,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "うちこむ", "screenshot": "", "search-query": "fullQuery", @@ -929,6 +956,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -959,6 +987,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -994,6 +1023,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "ぶちこむ", "screenshot": "", "search-query": "fullQuery", @@ -1024,6 +1054,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "ぶちこむ", "screenshot": "", "search-query": "fullQuery", @@ -1054,6 +1085,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -1084,6 +1116,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -1119,6 +1152,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "がぞう", "screenshot": "", "search-query": "fullQuery", @@ -1166,6 +1200,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "うちこむ", "screenshot": "", "search-query": "fullQuery", @@ -1196,6 +1231,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "ぶちこむ", "screenshot": "", "search-query": "fullQuery", @@ -1226,6 +1262,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -1256,6 +1293,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -1286,6 +1324,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "だ", "screenshot": "", "search-query": "fullQuery", @@ -1316,6 +1355,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ダース", "screenshot": "", "search-query": "fullQuery", @@ -1351,6 +1391,7 @@ "pitch-accents": "
  1. (うちこむ only)
  2. (うちこむ only)
  3. (ぶちこむ only)
  4. (ぶちこむ only)
", "pitch-accent-graphs": "
  1. (うちこむ only)
  2. (うちこむ only)
  3. (ぶちこむ only)
  4. (ぶちこむ only)
", "pitch-accent-positions": "
  1. (うちこむ only) [0]
  2. (うちこむ only) [3]
  3. (ぶちこむ only) [0]
  4. (ぶちこむ only) [3]
", + "phonetic-transcriptions": "", "reading": "うちこむ、ぶちこむ", "screenshot": "", "search-query": "fullQuery", @@ -1381,6 +1422,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ、ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -1411,6 +1453,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "だ", "screenshot": "", "search-query": "fullQuery", @@ -1441,6 +1484,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ダース", "screenshot": "", "search-query": "fullQuery", @@ -1476,6 +1520,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "うちこむ", "screenshot": "", "search-query": "fullQuery", @@ -1506,6 +1551,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "ぶちこむ", "screenshot": "", "search-query": "fullQuery", @@ -1536,6 +1582,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "うちこむ", "screenshot": "", "search-query": "fullQuery", @@ -1566,6 +1613,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "ぶちこむ", "screenshot": "", "search-query": "fullQuery", @@ -1596,6 +1644,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -1626,6 +1675,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -1656,6 +1706,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -1686,6 +1737,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -1716,6 +1768,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "だ", "screenshot": "", "search-query": "fullQuery", @@ -1746,6 +1799,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ダース", "screenshot": "", "search-query": "fullQuery", @@ -1781,6 +1835,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "うちこむ", "screenshot": "", "search-query": "fullQuery", @@ -1811,6 +1866,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "ぶちこむ", "screenshot": "", "search-query": "fullQuery", @@ -1841,6 +1897,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "うちこむ", "screenshot": "", "search-query": "fullQuery", @@ -1871,6 +1928,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "ぶちこむ", "screenshot": "", "search-query": "fullQuery", @@ -1901,6 +1959,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -1931,6 +1990,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -1961,6 +2021,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -1991,6 +2052,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -2021,6 +2083,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "だ", "screenshot": "", "search-query": "fullQuery", @@ -2051,6 +2114,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ダース", "screenshot": "", "search-query": "fullQuery", @@ -2086,6 +2150,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "うちこむ", "screenshot": "", "search-query": "fullQuery", @@ -2116,6 +2181,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "ぶちこむ", "screenshot": "", "search-query": "fullQuery", @@ -2146,6 +2212,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "うちこむ", "screenshot": "", "search-query": "fullQuery", @@ -2176,6 +2243,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [0]
  2. [3]
", + "phonetic-transcriptions": "", "reading": "ぶちこむ", "screenshot": "", "search-query": "fullQuery", @@ -2206,6 +2274,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -2236,6 +2305,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -2266,6 +2336,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ", "screenshot": "", "search-query": "fullQuery", @@ -2296,6 +2367,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -2326,6 +2398,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "だ", "screenshot": "", "search-query": "fullQuery", @@ -2356,6 +2429,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "ダース", "screenshot": "", "search-query": "fullQuery", @@ -2391,6 +2465,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "よむ", "screenshot": "", "search-query": "fullQuery", @@ -2426,6 +2501,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "つよみ", "screenshot": "", "search-query": "fullQuery", @@ -2461,6 +2537,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "よむ", "screenshot": "", "search-query": "fullQuery", @@ -2496,6 +2573,7 @@ "pitch-accents": "
  1. (うちこむ only)
  2. (うちこむ only)
  3. (ぶちこむ only)
  4. (ぶちこむ only)
", "pitch-accent-graphs": "
  1. (うちこむ only)
  2. (うちこむ only)
  3. (ぶちこむ only)
  4. (ぶちこむ only)
", "pitch-accent-positions": "
  1. (うちこむ only) [0]
  2. (うちこむ only) [3]
  3. (ぶちこむ only) [0]
  4. (ぶちこむ only) [3]
", + "phonetic-transcriptions": "", "reading": "うちこむ、ぶちこむ", "screenshot": "", "search-query": "fullQuery", @@ -2526,6 +2604,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "うつ、ぶつ", "screenshot": "", "search-query": "fullQuery", @@ -2561,6 +2640,7 @@ "pitch-accents": "
", "pitch-accent-graphs": "
", "pitch-accent-positions": "
  1. [2]
  2. [2]
  3. [0]
", + "phonetic-transcriptions": "", "reading": "おてまえ", "screenshot": "", "search-query": "fullQuery", @@ -2596,6 +2676,7 @@ "pitch-accents": "", "pitch-accent-graphs": "", "pitch-accent-positions": "[3]", + "phonetic-transcriptions": "", "reading": "ばんごう", "screenshot": "", "search-query": "fullQuery", @@ -2631,6 +2712,7 @@ "pitch-accents": "", "pitch-accent-graphs": "", "pitch-accent-positions": "[0]", + "phonetic-transcriptions": "", "reading": "ちゅうごし", "screenshot": "", "search-query": "fullQuery", @@ -2666,6 +2748,7 @@ "pitch-accents": "", "pitch-accent-graphs": "", "pitch-accent-positions": "[0]", + "phonetic-transcriptions": "", "reading": "しょぎょう", "screenshot": "", "search-query": "fullQuery", @@ -2701,6 +2784,7 @@ "pitch-accents": "", "pitch-accent-graphs": "", "pitch-accent-positions": "[4]", + "phonetic-transcriptions": "", "reading": "どぼくこうじ", "screenshot": "", "search-query": "fullQuery", @@ -2712,6 +2796,42 @@ } ] }, + { + "name": "Test pronunciations 6 - phonetic transcriptions", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "好き", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "好き", + "frequencies": "", + "furigana": "き", + "furigana-plain": "好[す]き", + "glossary": "
(adj-na, n, Test Dictionary 2) suki definition
", + "glossary-brief": "
suki definition
", + "glossary-no-dictionary": "
(adj-na, n) suki definition
", + "part-of-speech": "Unknown", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", + "reading": "すき", + "screenshot": "", + "search-query": "fullQuery", + "selection-text": "", + "sentence": "cloze-prefix好きcloze-suffix", + "sentence-furigana": "cloze-prefix好きcloze-suffix", + "tags": "adj-na, n", + "url": "url:" + } + ] + }, { "name": "Structured content test", "results": [ @@ -2736,6 +2856,7 @@ "pitch-accents": "No pitch accent data", "pitch-accent-graphs": "No pitch accent data", "pitch-accent-positions": "No pitch accent data", + "phonetic-transcriptions": "", "reading": "こうぞう", "screenshot": "", "search-query": "fullQuery", diff --git a/test/data/dictionaries/valid-dictionary1/term_bank_1.json b/test/data/dictionaries/valid-dictionary1/term_bank_1.json index 14f66d95..ce4290bd 100644 --- a/test/data/dictionaries/valid-dictionary1/term_bank_1.json +++ b/test/data/dictionaries/valid-dictionary1/term_bank_1.json @@ -18,6 +18,7 @@ ["中腰", "ちゅうごし", "n", "n", 1, ["chuugoshi definition"], 11, ""], ["所業", "しょぎょう", "n", "n", 1, ["shogyouu definition"], 12, ""], ["土木工事", "どぼくこうじ", "n", "n", 1, ["dobokukouji definition"], 13, ""], + ["好き", "すき", "adj-na n", "", 1, ["suki definition"], 14, ""], [ "内容", "ないよう", "n", "n", 35, [ diff --git a/test/data/dictionaries/valid-dictionary1/term_meta_bank_1.json b/test/data/dictionaries/valid-dictionary1/term_meta_bank_1.json index 069ea16b..56296648 100644 --- a/test/data/dictionaries/valid-dictionary1/term_meta_bank_1.json +++ b/test/data/dictionaries/valid-dictionary1/term_meta_bank_1.json @@ -108,5 +108,15 @@ {"position": 4, "devoice": 3} ] } + ], + [ + "好き", + "ipa", + { + "reading": "すき", + "transcriptions": [ + {"ipa": "[sɨᵝkʲi]", "tags": ["東京"]} + ] + } ] ] \ No newline at end of file diff --git a/test/data/translator-test-inputs.json b/test/data/translator-test-inputs.json index 5afb6a60..ec7f1a11 100644 --- a/test/data/translator-test-inputs.json +++ b/test/data/translator-test-inputs.json @@ -330,6 +330,13 @@ "text": "土木工事", "options": "default" }, + { + "name": "Test pronunciations 6 - phonetic transcriptions", + "func": "findTerms", + "mode": "split", + "text": "好き", + "options": "default" + }, { "name": "Structured content test", "func": "findTerms", diff --git a/test/data/translator-test-results-note-data1.json b/test/data/translator-test-results-note-data1.json index 34f7c21a..1342a63f 100644 --- a/test/data/translator-test-results-note-data1.json +++ b/test/data/translator-test-results-note-data1.json @@ -151,6 +151,7 @@ "uniqueReadings": [], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -313,6 +314,7 @@ "uniqueReadings": [], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -595,6 +597,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -626,6 +629,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -908,6 +912,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -939,6 +944,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -1213,6 +1219,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -1248,6 +1255,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -1517,6 +1525,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -1552,6 +1561,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -1821,6 +1831,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -1856,6 +1867,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -2125,6 +2137,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -2160,6 +2173,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -2433,6 +2447,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -2464,6 +2479,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -2746,6 +2762,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -2777,6 +2794,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -3103,6 +3121,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "うちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -3176,6 +3208,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -3497,6 +3535,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "ぶちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -3570,6 +3622,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -3891,6 +3949,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "うちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -3964,6 +4036,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -4285,6 +4363,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "ぶちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -4358,6 +4450,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -4629,6 +4727,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -4664,6 +4763,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -4935,6 +5035,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -4970,6 +5071,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -5241,6 +5343,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -5276,6 +5379,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -5547,6 +5651,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -5582,6 +5687,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -5855,6 +5961,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -5886,6 +5993,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -6168,6 +6276,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -6199,6 +6308,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -6320,6 +6430,7 @@ ], "frequencies": [], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -6351,6 +6462,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -6629,6 +6741,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -6660,6 +6773,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -6947,6 +7061,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -6978,6 +7093,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -7252,6 +7368,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -7287,6 +7404,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -7556,6 +7674,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -7591,6 +7710,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -7865,6 +7985,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -7900,6 +8021,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -8169,6 +8291,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -8204,6 +8327,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -8530,6 +8654,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "うちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -8603,6 +8741,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -8924,6 +9068,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "うちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -8997,6 +9155,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -9268,6 +9432,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -9303,6 +9468,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -9574,6 +9740,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -9609,6 +9776,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -9935,6 +10103,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "ぶちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -10008,6 +10190,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -10329,6 +10517,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "ぶちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -10402,6 +10604,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -10673,6 +10881,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -10708,6 +10917,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -10979,6 +11189,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -11014,6 +11225,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -11135,6 +11347,7 @@ ], "frequencies": [], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -11166,6 +11379,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -11545,6 +11759,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "うちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -11600,6 +11828,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -11962,6 +12196,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "ぶちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -12017,6 +12265,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -12329,6 +12583,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -12354,6 +12609,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -12666,6 +12922,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -12691,6 +12948,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -12968,6 +13226,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -12993,6 +13252,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -13279,6 +13539,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -13304,6 +13565,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -13954,6 +14216,32 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "うちこむ", + "phoneticTranscriptions": [] + }, + { + "index": 1, + "expressionIndex": 1, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "ぶちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 2, "url": "url:", "cloze": { @@ -14042,6 +14330,12 @@ } ], "pitchCount": 4, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -14586,6 +14880,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 2, "url": "url:", "cloze": { @@ -14612,6 +14907,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -14882,6 +15178,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -14907,6 +15204,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -15186,6 +15484,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -15211,6 +15510,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -15541,6 +15841,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "うちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -15614,6 +15928,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -15939,6 +16259,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "ぶちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -16012,6 +16346,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -16337,6 +16677,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "うちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -16410,6 +16764,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -16735,6 +17095,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "ぶちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -16808,6 +17182,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -17079,6 +17459,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -17114,6 +17495,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -17385,6 +17767,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -17420,6 +17803,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -17691,6 +18075,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -17726,6 +18111,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -17997,6 +18383,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -18032,6 +18419,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -18305,6 +18693,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -18336,6 +18725,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -18618,6 +19008,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -18649,6 +19040,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -18975,11 +19367,25 @@ ] } ], - "sourceTermExactMatchCount": 1, - "url": "url:", - "cloze": { - "sentence": "", - "prefix": "", + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "うちこむ", + "phoneticTranscriptions": [] + } + ], + "sourceTermExactMatchCount": 1, + "url": "url:", + "cloze": { + "sentence": "", + "prefix": "", "body": "", "suffix": "" }, @@ -19048,6 +19454,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -19369,6 +19781,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "ぶちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -19442,6 +19868,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -19763,6 +20195,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "うちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -19836,6 +20282,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -20157,6 +20609,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "ぶちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -20230,6 +20696,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -20501,6 +20973,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -20536,6 +21009,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -20807,6 +21281,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -20842,6 +21317,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -21113,6 +21589,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -21148,6 +21625,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -21419,6 +21897,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -21454,6 +21933,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -21727,6 +22207,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -21758,6 +22239,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -22040,6 +22522,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -22071,6 +22554,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -22397,6 +22881,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "うちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -22470,6 +22968,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -22791,6 +23295,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "ぶちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -22864,6 +23382,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -23185,6 +23709,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "うちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -23258,6 +23796,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -23579,6 +24123,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "ぶちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -23652,6 +24210,12 @@ } ], "pitchCount": 2, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -23923,6 +24487,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -23958,6 +24523,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -24229,6 +24795,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -24264,6 +24831,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -24535,6 +25103,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -24570,6 +25139,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -24841,6 +25411,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -24876,6 +25447,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -25149,6 +25721,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -25180,6 +25753,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -25462,6 +26036,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -25493,6 +26068,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -25610,6 +26186,7 @@ ], "frequencies": [], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -25645,6 +26222,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -25760,6 +26338,7 @@ ], "frequencies": [], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -25795,6 +26374,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -25912,6 +26492,7 @@ ], "frequencies": [], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -25947,6 +26528,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -26597,6 +27179,32 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "うちこむ", + "phoneticTranscriptions": [] + }, + { + "index": 1, + "expressionIndex": 1, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "打ち込む", + "reading": "ぶちこむ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -26685,6 +27293,12 @@ } ], "pitchCount": 4, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -27229,6 +27843,7 @@ } ], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 0, "url": "url:", "cloze": { @@ -27255,6 +27870,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", @@ -27444,6 +28060,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "お手前", + "reading": "おてまえ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -27563,6 +28193,12 @@ } ], "pitchCount": 3, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -27672,6 +28308,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "番号", + "reading": "ばんごう", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -27723,6 +28373,12 @@ } ], "pitchCount": 1, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -27832,6 +28488,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "中腰", + "reading": "ちゅうごし", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -27883,6 +28553,12 @@ } ], "pitchCount": 1, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -27992,6 +28668,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "所業", + "reading": "しょぎょう", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -28043,6 +28733,12 @@ } ], "pitchCount": 1, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -28152,6 +28848,20 @@ ] } ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "土木工事", + "reading": "どぼくこうじ", + "phoneticTranscriptions": [] + } + ], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -28203,6 +28913,220 @@ } ], "pitchCount": 1, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [] + } + ], + "context": { + "query": "query", + "fullQuery": "fullQuery", + "document": { + "title": "title" + } + }, + "media": {} + } + ] + }, + { + "name": "Test pronunciations 6 - phonetic transcriptions", + "noteDataList": [ + { + "marker": "{marker}", + "definition": { + "type": "term", + "id": 20, + "source": "好き", + "rawSource": "好き", + "sourceTerm": "好き", + "reasons": [], + "score": 1, + "isPrimary": true, + "sequence": 14, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "dictionaryNames": [ + "Test Dictionary 2" + ], + "expression": "好き", + "reading": "すき", + "expressions": [ + { + "sourceTerm": "好き", + "expression": "好き", + "reading": "すき", + "termTags": [], + "frequencies": [], + "pitches": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "好き", + "reading": "すき", + "pitches": [] + } + ], + "furiganaSegments": [ + { + "text": "好", + "furigana": "す" + }, + { + "text": "き", + "furigana": "" + } + ], + "termFrequency": "normal", + "wordClasses": [] + } + ], + "glossary": [ + "suki definition" + ], + "definitionTags": [ + { + "name": "adj-na", + "category": "default", + "notes": "", + "order": 0, + "score": 0, + "dictionary": "Test Dictionary 2", + "redundant": false + }, + { + "name": "n", + "category": "partOfSpeech", + "notes": "noun", + "order": 0, + "score": 0, + "dictionary": "Test Dictionary 2", + "redundant": false + } + ], + "termTags": [], + "frequencies": [], + "pitches": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "好き", + "reading": "すき", + "pitches": [] + } + ], + "phoneticTranscriptions": [ + { + "index": 0, + "expressionIndex": 0, + "dictionary": "Test Dictionary 2", + "dictionaryOrder": { + "index": 0, + "priority": 0 + }, + "expression": "好き", + "reading": "すき", + "phoneticTranscriptions": [ + { + "ipa": "[sɨᵝkʲi]", + "tags": [ + { + "name": "東京", + "category": "default", + "notes": "", + "order": 0, + "score": 0, + "dictionary": "Test Dictionary 2", + "redundant": false + } + ] + } + ] + } + ], + "sourceTermExactMatchCount": 1, + "url": "url:", + "cloze": { + "sentence": "", + "prefix": "", + "body": "", + "suffix": "" + }, + "furiganaSegments": [ + { + "text": "好", + "furigana": "す" + }, + { + "text": "き", + "furigana": "" + } + ] + }, + "glossaryLayoutMode": "default", + "compactTags": false, + "group": false, + "merge": false, + "modeTermKanji": false, + "modeTermKana": false, + "modeKanji": false, + "compactGlossaries": false, + "uniqueExpressions": [ + "好き" + ], + "uniqueReadings": [ + "すき" + ], + "pitches": [ + { + "dictionary": "Test Dictionary 2", + "pitches": [] + } + ], + "pitchCount": 0, + "phoneticTranscriptions": [ + { + "dictionary": "Test Dictionary 2", + "phoneticTranscriptions": [ + { + "expressions": [ + "好き" + ], + "reading": "すき", + "ipa": "[sɨᵝkʲi]", + "tags": [ + { + "name": "東京", + "category": "default", + "order": 0, + "score": 0, + "content": [], + "dictionaries": [ + "Test Dictionary 2" + ], + "redundant": false + } + ], + "exclusiveExpressions": [], + "exclusiveReadings": [] + } + ] + } + ], "context": { "query": "query", "fullQuery": "fullQuery", @@ -28221,7 +29145,7 @@ "marker": "{marker}", "definition": { "type": "term", - "id": 21, + "id": 22, "source": "構造", "rawSource": "構造", "sourceTerm": "構造", @@ -28322,6 +29246,7 @@ ], "frequencies": [], "pitches": [], + "phoneticTranscriptions": [], "sourceTermExactMatchCount": 1, "url": "url:", "cloze": { @@ -28353,6 +29278,7 @@ ], "pitches": [], "pitchCount": 0, + "phoneticTranscriptions": [], "context": { "query": "query", "fullQuery": "fullQuery", 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": [ @@ -16118,6 +16177,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, @@ -16189,7 +16360,7 @@ "dictionary": "Test Dictionary 2", "dictionaryIndex": 0, "dictionaryPriority": 0, - "id": 21, + "id": 22, "score": 35, "frequencyOrder": 0, "sequences": [ -- cgit v1.2.3