summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/data/dictionaries/valid-dictionary1/term_bank_1.json32
-rw-r--r--test/data/dictionaries/valid-dictionary2/image.gifbin0 -> 45 bytes
-rw-r--r--test/data/dictionaries/valid-dictionary2/index.json6
-rw-r--r--test/data/dictionaries/valid-dictionary2/kanji_bank_1.json42
-rw-r--r--test/data/dictionaries/valid-dictionary2/kanji_meta_bank_1.json4
-rw-r--r--test/data/dictionaries/valid-dictionary2/tag_bank_1.json7
-rw-r--r--test/data/dictionaries/valid-dictionary2/tag_bank_2.json9
-rw-r--r--test/data/dictionaries/valid-dictionary2/tag_bank_3.json4
-rw-r--r--test/data/dictionaries/valid-dictionary2/term_bank_1.json13
-rw-r--r--test/data/dictionaries/valid-dictionary2/term_meta_bank_1.json33
-rw-r--r--test/data/test-translator-data.json16507
-rw-r--r--test/test-database.js143
-rw-r--r--test/test-dictionary.js1
-rw-r--r--test/test-translator.js175
14 files changed, 16838 insertions, 138 deletions
diff --git a/test/data/dictionaries/valid-dictionary1/term_bank_1.json b/test/data/dictionaries/valid-dictionary1/term_bank_1.json
index a62ad117..b86f6219 100644
--- a/test/data/dictionaries/valid-dictionary1/term_bank_1.json
+++ b/test/data/dictionaries/valid-dictionary1/term_bank_1.json
@@ -16,20 +16,20 @@
["打つ", "うつ", "tag1 tag2", "v5", 15, ["definition13a (打つ, うつ)", "definition13b (打つ, うつ)"], 3, "tag3 tag4 tag5"],
["打つ", "うつ", "tag1 tag2", "v5", 16, ["definition14a (打つ, うつ)", "definition14b (打つ, うつ)"], 3, "tag3 tag4 tag5"],
["打つ", "うつ", "tag1 tag2", "v5", 17, ["definition15a (打つ, うつ)", "definition15b (打つ, うつ)"], 3, "tag3 tag4 tag5"],
- ["打つ", "ぶつ", "tag1 tag2", "v5", 18, ["definition1a (打つ, ぶつ)", "definition1b (打つ, ぶつ)"], 4, "tag3 tag4 tag5"],
- ["打つ", "ぶつ", "tag1 tag2", "v5", 19, ["definition2a (打つ, ぶつ)", "definition2b (打つ, ぶつ)"], 4, "tag3 tag4 tag5"],
- ["打ち込む", "うちこむ", "tag1 tag2", "v5", 20, ["definition1a (打ち込む, うちこむ)", "definition1b (打ち込む, うちこむ)"], 5, "tag3 tag4 tag5"],
- ["打ち込む", "うちこむ", "tag1 tag2", "v5", 21, ["definition2a (打ち込む, うちこむ)", "definition2b (打ち込む, うちこむ)"], 5, "tag5 tag6 tag7"],
- ["打ち込む", "うちこむ", "tag1 tag2", "v5", 22, ["definition3a (打ち込む, うちこむ)", "definition3b (打ち込む, うちこむ)"], 5, "tag5 tag6 tag7"],
- ["打ち込む", "うちこむ", "tag1 tag2", "v5", 23, ["definition4a (打ち込む, うちこむ)", "definition4b (打ち込む, うちこむ)"], 5, "tag5 tag6 tag7"],
- ["打ち込む", "うちこむ", "tag1 tag2", "v5", 24, ["definition5a (打ち込む, うちこむ)", "definition5b (打ち込む, うちこむ)"], 5, "tag5 tag6 tag7"],
- ["打ち込む", "うちこむ", "tag1 tag2", "v5", 25, ["definition6a (打ち込む, うちこむ)", "definition6b (打ち込む, うちこむ)"], 5, "tag5 tag6 tag7"],
- ["打ち込む", "うちこむ", "tag1 tag2", "v5", 26, ["definition7a (打ち込む, うちこむ)", "definition7b (打ち込む, うちこむ)"], 5, "tag5 tag6 tag7"],
- ["打ち込む", "うちこむ", "tag1 tag2", "v5", 27, ["definition8a (打ち込む, うちこむ)", "definition8b (打ち込む, うちこむ)"], 5, "tag5 tag6 tag7"],
- ["打ち込む", "うちこむ", "tag1 tag2", "v5", 28, ["definition9a (打ち込む, うちこむ)", "definition9b (打ち込む, うちこむ)"], 5, "tag5 tag6 tag7"],
- ["打ち込む", "ぶちこむ", "tag1 tag2", "v5", 29, ["definition1a (打ち込む, ぶちこむ)", "definition1b (打ち込む, ぶちこむ)"], 6, "tag3 tag4 tag5"],
- ["打ち込む", "ぶちこむ", "tag1 tag2", "v5", 30, ["definition2a (打ち込む, ぶちこむ)", "definition2b (打ち込む, ぶちこむ)"], 6, "tag3 tag4 tag5"],
- ["打ち込む", "ぶちこむ", "tag1 tag2", "v5", 31, ["definition3a (打ち込む, ぶちこむ)", "definition3b (打ち込む, ぶちこむ)"], 6, "tag3 tag4 tag5"],
- ["打ち込む", "ぶちこむ", "tag1 tag2", "v5", 32, ["definition4a (打ち込む, ぶちこむ)", "definition4b (打ち込む, ぶちこむ)"], 6, "tag3 tag4 tag5"],
- ["画像", "がぞう", "tag1 tag2", "", 33, ["definition1a (画像, がぞう)", {"type": "image", "path": "image.gif", "width": 350, "height": 350, "description": "An image", "pixelated": true}], 7, "tag3 tag4 tag5"]
+ ["打つ", "ぶつ", "tag1 tag2", "v5", 18, ["definition1a (打つ, ぶつ)", "definition1b (打つ, ぶつ)"], 3, "tag3 tag4 tag5"],
+ ["打つ", "ぶつ", "tag1 tag2", "v5", 19, ["definition2a (打つ, ぶつ)", "definition2b (打つ, ぶつ)"], 3, "tag3 tag4 tag5"],
+ ["打ち込む", "うちこむ", "tag1 tag2", "v5", 20, ["definition1a (打ち込む, うちこむ)", "definition1b (打ち込む, うちこむ)"], 4, "tag3 tag4 tag5"],
+ ["打ち込む", "うちこむ", "tag1 tag2", "v5", 21, ["definition2a (打ち込む, うちこむ)", "definition2b (打ち込む, うちこむ)"], 4, "tag5 tag6 tag7"],
+ ["打ち込む", "うちこむ", "tag1 tag2", "v5", 22, ["definition3a (打ち込む, うちこむ)", "definition3b (打ち込む, うちこむ)"], 4, "tag5 tag6 tag7"],
+ ["打ち込む", "うちこむ", "tag1 tag2", "v5", 23, ["definition4a (打ち込む, うちこむ)", "definition4b (打ち込む, うちこむ)"], 4, "tag5 tag6 tag7"],
+ ["打ち込む", "うちこむ", "tag1 tag2", "v5", 24, ["definition5a (打ち込む, うちこむ)", "definition5b (打ち込む, うちこむ)"], 4, "tag5 tag6 tag7"],
+ ["打ち込む", "うちこむ", "tag1 tag2", "v5", 25, ["definition6a (打ち込む, うちこむ)", "definition6b (打ち込む, うちこむ)"], 4, "tag5 tag6 tag7"],
+ ["打ち込む", "うちこむ", "tag1 tag2", "v5", 26, ["definition7a (打ち込む, うちこむ)", "definition7b (打ち込む, うちこむ)"], 4, "tag5 tag6 tag7"],
+ ["打ち込む", "うちこむ", "tag1 tag2", "v5", 27, ["definition8a (打ち込む, うちこむ)", "definition8b (打ち込む, うちこむ)"], 4, "tag5 tag6 tag7"],
+ ["打ち込む", "うちこむ", "tag1 tag2", "v5", 28, ["definition9a (打ち込む, うちこむ)", "definition9b (打ち込む, うちこむ)"], 4, "tag5 tag6 tag7"],
+ ["打ち込む", "ぶちこむ", "tag1 tag2", "v5", 29, ["definition1a (打ち込む, ぶちこむ)", "definition1b (打ち込む, ぶちこむ)"], 4, "tag3 tag4 tag5"],
+ ["打ち込む", "ぶちこむ", "tag1 tag2", "v5", 30, ["definition2a (打ち込む, ぶちこむ)", "definition2b (打ち込む, ぶちこむ)"], 4, "tag3 tag4 tag5"],
+ ["打ち込む", "ぶちこむ", "tag1 tag2", "v5", 31, ["definition3a (打ち込む, ぶちこむ)", "definition3b (打ち込む, ぶちこむ)"], 4, "tag3 tag4 tag5"],
+ ["打ち込む", "ぶちこむ", "tag1 tag2", "v5", 32, ["definition4a (打ち込む, ぶちこむ)", "definition4b (打ち込む, ぶちこむ)"], 4, "tag3 tag4 tag5"],
+ ["画像", "がぞう", "tag1 tag2", "", 33, ["definition1a (画像, がぞう)", {"type": "image", "path": "image.gif", "width": 350, "height": 350, "description": "An image", "pixelated": true}], 5, "tag3 tag4 tag5"]
] \ No newline at end of file
diff --git a/test/data/dictionaries/valid-dictionary2/image.gif b/test/data/dictionaries/valid-dictionary2/image.gif
new file mode 100644
index 00000000..f089d07c
--- /dev/null
+++ b/test/data/dictionaries/valid-dictionary2/image.gif
Binary files differ
diff --git a/test/data/dictionaries/valid-dictionary2/index.json b/test/data/dictionaries/valid-dictionary2/index.json
new file mode 100644
index 00000000..6a957ad5
--- /dev/null
+++ b/test/data/dictionaries/valid-dictionary2/index.json
@@ -0,0 +1,6 @@
+{
+ "title": "Test Dictionary 2",
+ "format": 3,
+ "revision": "test",
+ "sequenced": true
+} \ No newline at end of file
diff --git a/test/data/dictionaries/valid-dictionary2/kanji_bank_1.json b/test/data/dictionaries/valid-dictionary2/kanji_bank_1.json
new file mode 100644
index 00000000..264f94c1
--- /dev/null
+++ b/test/data/dictionaries/valid-dictionary2/kanji_bank_1.json
@@ -0,0 +1,42 @@
+[
+ [
+ "打",
+ "ダ ダアス",
+ "う.つ う.ち- ぶ.つ",
+ "ktag1 ktag2",
+ [
+ "meaning1",
+ "meaning2",
+ "meaning3",
+ "meaning4",
+ "meaning5"
+ ],
+ {
+ "kstat1": "1",
+ "kstat2": "2",
+ "kstat3": "3",
+ "kstat4": "4",
+ "kstat5": "5"
+ }
+ ],
+ [
+ "込",
+ "",
+ "-こ.む こ.む こ.み -こ.み こ.める",
+ "ktag1 ktag2",
+ [
+ "meaning1",
+ "meaning2",
+ "meaning3",
+ "meaning4",
+ "meaning5"
+ ],
+ {
+ "kstat1": "1",
+ "kstat2": "2",
+ "kstat3": "3",
+ "kstat4": "4",
+ "kstat5": "5"
+ }
+ ]
+] \ No newline at end of file
diff --git a/test/data/dictionaries/valid-dictionary2/kanji_meta_bank_1.json b/test/data/dictionaries/valid-dictionary2/kanji_meta_bank_1.json
new file mode 100644
index 00000000..73e75b8a
--- /dev/null
+++ b/test/data/dictionaries/valid-dictionary2/kanji_meta_bank_1.json
@@ -0,0 +1,4 @@
+[
+ ["打", "freq", 1],
+ ["込", "freq", 2]
+] \ No newline at end of file
diff --git a/test/data/dictionaries/valid-dictionary2/tag_bank_1.json b/test/data/dictionaries/valid-dictionary2/tag_bank_1.json
new file mode 100644
index 00000000..109ad395
--- /dev/null
+++ b/test/data/dictionaries/valid-dictionary2/tag_bank_1.json
@@ -0,0 +1,7 @@
+[
+ ["tag1", "category1", 0, "tag1 notes", 0],
+ ["tag2", "category2", 0, "tag2 notes", 0],
+ ["tag3", "category3", 0, "tag3 notes", 0],
+ ["tag4", "category4", 0, "tag4 notes", 0],
+ ["tag5", "category5", 0, "tag5 notes", 0]
+] \ No newline at end of file
diff --git a/test/data/dictionaries/valid-dictionary2/tag_bank_2.json b/test/data/dictionaries/valid-dictionary2/tag_bank_2.json
new file mode 100644
index 00000000..5e7936b3
--- /dev/null
+++ b/test/data/dictionaries/valid-dictionary2/tag_bank_2.json
@@ -0,0 +1,9 @@
+[
+ ["ktag1", "kcategory1", 0, "ktag1 notes", 0],
+ ["ktag2", "kcategory2", 0, "ktag2 notes", 0],
+ ["kstat1", "kcategory3", 0, "kstat1 notes", 0],
+ ["kstat2", "kcategory4", 0, "kstat2 notes", 0],
+ ["kstat3", "kcategory5", 0, "kstat3 notes", 0],
+ ["kstat4", "kcategory6", 0, "kstat4 notes", 0],
+ ["kstat5", "kcategory7", 0, "kstat5 notes", 0]
+] \ No newline at end of file
diff --git a/test/data/dictionaries/valid-dictionary2/tag_bank_3.json b/test/data/dictionaries/valid-dictionary2/tag_bank_3.json
new file mode 100644
index 00000000..572221fe
--- /dev/null
+++ b/test/data/dictionaries/valid-dictionary2/tag_bank_3.json
@@ -0,0 +1,4 @@
+[
+ ["ptag1", "pcategory1", 0, "ptag1 notes", 0],
+ ["ptag2", "pcategory2", 0, "ptag2 notes", 0]
+] \ No newline at end of file
diff --git a/test/data/dictionaries/valid-dictionary2/term_bank_1.json b/test/data/dictionaries/valid-dictionary2/term_bank_1.json
new file mode 100644
index 00000000..32dc1ede
--- /dev/null
+++ b/test/data/dictionaries/valid-dictionary2/term_bank_1.json
@@ -0,0 +1,13 @@
+[
+ ["打", "だ", "tag1 tag2", "", 1, ["definition1", "definition2"], 1, "tag3 tag4 tag5"],
+ ["打", "ダース", "tag1 tag2", "", 1, ["definition3", "definition4"], 2, "tag3 tag4 tag5"],
+ ["打つ", "うつ", "tag1 tag2", "v5", 10, ["definition5", "definition6"], 3, "tag3 tag4 tag5"],
+ ["打つ", "うつ", "tag1 tag2", "v5", 1, ["definition7", "definition8"], 3, "tag3 tag4 tag5"],
+ ["打つ", "ぶつ", "tag1 tag2", "v5", 10, ["definition9", "definition10"], 3, "tag3 tag4 tag5"],
+ ["打つ", "ぶつ", "tag1 tag2", "v5", 1, ["definition11", "definition12"], 3, "tag3 tag4 tag5"],
+ ["打ち込む", "うちこむ", "tag1 tag2", "v5", 10, ["definition13", "definition14"], 4, "tag3 tag4 tag5"],
+ ["打ち込む", "うちこむ", "tag1 tag2", "v5", 1, ["definition15", "definition16"], 4, "tag5 tag6 tag7"],
+ ["打ち込む", "ぶちこむ", "tag1 tag2", "v5", 10, ["definition17", "definition18"], 4, "tag3 tag4 tag5"],
+ ["打ち込む", "ぶちこむ", "tag1 tag2", "v5", 1, ["definition19", "definition20"], 4, "tag3 tag4 tag5"],
+ ["画像", "がぞう", "tag1 tag2", "", 1, ["definition21", {"type": "image", "path": "image.gif", "width": 350, "height": 350, "description": "An image", "pixelated": true}], 5, "tag3 tag4 tag5"]
+] \ No newline at end of file
diff --git a/test/data/dictionaries/valid-dictionary2/term_meta_bank_1.json b/test/data/dictionaries/valid-dictionary2/term_meta_bank_1.json
new file mode 100644
index 00000000..587dfdd4
--- /dev/null
+++ b/test/data/dictionaries/valid-dictionary2/term_meta_bank_1.json
@@ -0,0 +1,33 @@
+[
+ ["打", "freq", 1],
+ ["打つ", "freq", 2],
+ ["打ち込む", "freq", 3],
+ ["打", "freq", {"reading": "だ", "frequency": 4}],
+ ["打", "freq", {"reading": "ダース", "frequency": 5}],
+ ["打つ", "freq", {"reading": "うつ", "frequency": 6}],
+ ["打つ", "freq", {"reading": "ぶつ", "frequency": 7}],
+ ["打ち込む", "freq", {"reading": "うちこむ", "frequency": 8}],
+ ["打ち込む", "freq", {"reading": "ぶちこむ", "frequency": 9}],
+ [
+ "打ち込む",
+ "pitch",
+ {
+ "reading": "うちこむ",
+ "pitches": [
+ {"position": 0},
+ {"position": 3}
+ ]
+ }
+ ],
+ [
+ "打ち込む",
+ "pitch",
+ {
+ "reading": "ぶちこむ",
+ "pitches": [
+ {"position": 0},
+ {"position": 3}
+ ]
+ }
+ ]
+] \ No newline at end of file
diff --git a/test/data/test-translator-data.json b/test/data/test-translator-data.json
new file mode 100644
index 00000000..e29075f5
--- /dev/null
+++ b/test/data/test-translator-data.json
@@ -0,0 +1,16507 @@
+{
+ "optionsPresets": {
+ "kanji": {
+ "enabledDictionaryMap": [
+ [
+ "${title}",
+ {
+ "priority": 0
+ }
+ ]
+ ]
+ },
+ "default": {
+ "wildcard": null,
+ "mainDictionary": "${title}",
+ "alphanumeric": false,
+ "convertHalfWidthCharacters": false,
+ "convertNumericCharacters": false,
+ "convertAlphabeticCharacters": false,
+ "convertHiraganaToKatakana": false,
+ "convertKatakanaToHiragana": false,
+ "collapseEmphaticSequences": false,
+ "enabledDictionaryMap": [
+ [
+ "${title}",
+ {
+ "priority": 0,
+ "allowSecondarySearches": false
+ }
+ ]
+ ]
+ }
+ },
+ "tests": [
+ {
+ "comment": "Basic kanji test 1",
+ "func": "findKanji",
+ "text": "打",
+ "options": "kanji",
+ "expected": {
+ "definitions": [
+ {
+ "type": "kanji",
+ "character": "打",
+ "dictionary": "Test Dictionary 2",
+ "onyomi": [
+ "ダ",
+ "ダアス"
+ ],
+ "kunyomi": [
+ "う.つ",
+ "う.ち-",
+ "ぶ.つ"
+ ],
+ "glossary": [
+ "meaning1",
+ "meaning2",
+ "meaning3",
+ "meaning4",
+ "meaning5"
+ ],
+ "tags": [
+ {
+ "name": "ktag1",
+ "category": "kcategory1",
+ "notes": "ktag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "ktag2",
+ "category": "kcategory2",
+ "notes": "ktag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "stats": {
+ "kcategory3": [
+ {
+ "name": "kstat1",
+ "category": "kcategory3",
+ "notes": "kstat1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "value": "1"
+ }
+ ],
+ "kcategory4": [
+ {
+ "name": "kstat2",
+ "category": "kcategory4",
+ "notes": "kstat2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "value": "2"
+ }
+ ],
+ "kcategory5": [
+ {
+ "name": "kstat3",
+ "category": "kcategory5",
+ "notes": "kstat3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "value": "3"
+ }
+ ],
+ "kcategory6": [
+ {
+ "name": "kstat4",
+ "category": "kcategory6",
+ "notes": "kstat4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "value": "4"
+ }
+ ],
+ "kcategory7": [
+ {
+ "name": "kstat5",
+ "category": "kcategory7",
+ "notes": "kstat5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "value": "5"
+ }
+ ]
+ },
+ "frequencies": [
+ {
+ "character": "打",
+ "frequency": 1,
+ "dictionary": "Test Dictionary 2"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Basic kanji test 2",
+ "func": "findKanji",
+ "text": "込",
+ "options": "kanji",
+ "expected": {
+ "definitions": [
+ {
+ "type": "kanji",
+ "character": "込",
+ "dictionary": "Test Dictionary 2",
+ "onyomi": [],
+ "kunyomi": [
+ "-こ.む",
+ "こ.む",
+ "こ.み",
+ "-こ.み",
+ "こ.める"
+ ],
+ "glossary": [
+ "meaning1",
+ "meaning2",
+ "meaning3",
+ "meaning4",
+ "meaning5"
+ ],
+ "tags": [
+ {
+ "name": "ktag1",
+ "category": "kcategory1",
+ "notes": "ktag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "ktag2",
+ "category": "kcategory2",
+ "notes": "ktag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "stats": {
+ "kcategory3": [
+ {
+ "name": "kstat1",
+ "category": "kcategory3",
+ "notes": "kstat1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "value": "1"
+ }
+ ],
+ "kcategory4": [
+ {
+ "name": "kstat2",
+ "category": "kcategory4",
+ "notes": "kstat2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "value": "2"
+ }
+ ],
+ "kcategory5": [
+ {
+ "name": "kstat3",
+ "category": "kcategory5",
+ "notes": "kstat3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "value": "3"
+ }
+ ],
+ "kcategory6": [
+ {
+ "name": "kstat4",
+ "category": "kcategory6",
+ "notes": "kstat4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "value": "4"
+ }
+ ],
+ "kcategory7": [
+ {
+ "name": "kstat5",
+ "category": "kcategory7",
+ "notes": "kstat5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "value": "5"
+ }
+ ]
+ },
+ "frequencies": [
+ {
+ "character": "込",
+ "frequency": 2,
+ "dictionary": "Test Dictionary 2"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Missing kanji test",
+ "func": "findKanji",
+ "text": "画",
+ "options": "kanji",
+ "expected": {
+ "definitions": []
+ }
+ },
+ {
+ "comment": "Find term using expression text 1",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "打",
+ "options": "default",
+ "expected": {
+ "length": 1,
+ "definitions": [
+ {
+ "type": "term",
+ "id": 1,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "だ",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "だ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "glossary": [
+ "definition1",
+ "definition2"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 2,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 2,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "ダース",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "ダース",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "glossary": [
+ "definition3",
+ "definition4"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Find term using expression text 2",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "打つ",
+ "options": "default",
+ "expected": {
+ "length": 2,
+ "definitions": [
+ {
+ "type": "term",
+ "id": 3,
+ "source": "打つ",
+ "rawSource": "打つ",
+ "sourceTerm": "打つ",
+ "reasons": [],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition5",
+ "definition6"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 5,
+ "source": "打つ",
+ "rawSource": "打つ",
+ "sourceTerm": "打つ",
+ "reasons": [],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition9",
+ "definition10"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 4,
+ "source": "打つ",
+ "rawSource": "打つ",
+ "sourceTerm": "打つ",
+ "reasons": [],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition7",
+ "definition8"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 6,
+ "source": "打つ",
+ "rawSource": "打つ",
+ "sourceTerm": "打つ",
+ "reasons": [],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition11",
+ "definition12"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 1,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "だ",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "だ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "glossary": [
+ "definition1",
+ "definition2"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 2,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 2,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "ダース",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "ダース",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "glossary": [
+ "definition3",
+ "definition4"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Find term using expression text 3",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "打ち込む",
+ "options": "default",
+ "expected": {
+ "length": 4,
+ "definitions": [
+ {
+ "type": "term",
+ "id": 7,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 10,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition13",
+ "definition14"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 9,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 10,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition17",
+ "definition18"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 8,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 1,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition15",
+ "definition16"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 10,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 1,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition19",
+ "definition20"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 3,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition5",
+ "definition6"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 5,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition9",
+ "definition10"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 4,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition7",
+ "definition8"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 6,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition11",
+ "definition12"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 1,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "だ",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "だ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "glossary": [
+ "definition1",
+ "definition2"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 2,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 2,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "ダース",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "ダース",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "glossary": [
+ "definition3",
+ "definition4"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Find term using expression text 4",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "画像",
+ "options": "default",
+ "expected": {
+ "length": 2,
+ "definitions": [
+ {
+ "type": "term",
+ "id": 11,
+ "source": "画像",
+ "rawSource": "画像",
+ "sourceTerm": "画像",
+ "reasons": [],
+ "score": 1,
+ "sequence": 5,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "画像",
+ "reading": "がぞう",
+ "expressions": [
+ {
+ "sourceTerm": "画像",
+ "expression": "画像",
+ "reading": "がぞう",
+ "furiganaSegments": [
+ {
+ "text": "画像",
+ "furigana": "がぞう"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "画像",
+ "furigana": "がぞう"
+ }
+ ],
+ "glossary": [
+ "definition21",
+ {
+ "type": "image",
+ "path": "image.gif",
+ "width": 100,
+ "height": 100,
+ "preferredWidth": 350,
+ "preferredHeight": 350,
+ "description": "An image",
+ "pixelated": true
+ }
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Find term using reading 1",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "だ",
+ "options": "default",
+ "expected": {
+ "length": 1,
+ "definitions": [
+ {
+ "type": "term",
+ "id": 1,
+ "source": "だ",
+ "rawSource": "だ",
+ "sourceTerm": "だ",
+ "reasons": [],
+ "score": 1,
+ "sequence": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "だ",
+ "expressions": [
+ {
+ "sourceTerm": "だ",
+ "expression": "打",
+ "reading": "だ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "glossary": [
+ "definition1",
+ "definition2"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 0
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Find term using reading 2",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "ダース",
+ "options": "default",
+ "expected": {
+ "length": 3,
+ "definitions": [
+ {
+ "type": "term",
+ "id": 2,
+ "source": "ダース",
+ "rawSource": "ダース",
+ "sourceTerm": "ダース",
+ "reasons": [],
+ "score": 1,
+ "sequence": 2,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "ダース",
+ "expressions": [
+ {
+ "sourceTerm": "ダース",
+ "expression": "打",
+ "reading": "ダース",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "glossary": [
+ "definition3",
+ "definition4"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 0
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Find term using reading 3",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "うつ",
+ "options": "default",
+ "expected": {
+ "length": 2,
+ "definitions": [
+ {
+ "type": "term",
+ "id": 3,
+ "source": "うつ",
+ "rawSource": "うつ",
+ "sourceTerm": "うつ",
+ "reasons": [],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "うつ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition5",
+ "definition6"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 0
+ },
+ {
+ "type": "term",
+ "id": 4,
+ "source": "うつ",
+ "rawSource": "うつ",
+ "sourceTerm": "うつ",
+ "reasons": [],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "うつ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition7",
+ "definition8"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 0
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Find term using reading 4",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "ぶつ",
+ "options": "default",
+ "expected": {
+ "length": 2,
+ "definitions": [
+ {
+ "type": "term",
+ "id": 5,
+ "source": "ぶつ",
+ "rawSource": "ぶつ",
+ "sourceTerm": "ぶつ",
+ "reasons": [],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "ぶつ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition9",
+ "definition10"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 0
+ },
+ {
+ "type": "term",
+ "id": 6,
+ "source": "ぶつ",
+ "rawSource": "ぶつ",
+ "sourceTerm": "ぶつ",
+ "reasons": [],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "ぶつ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition11",
+ "definition12"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 0
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Find term using reading 5",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "うちこむ",
+ "options": "default",
+ "expected": {
+ "length": 4,
+ "definitions": [
+ {
+ "type": "term",
+ "id": 7,
+ "source": "うちこむ",
+ "rawSource": "うちこむ",
+ "sourceTerm": "うちこむ",
+ "reasons": [],
+ "score": 10,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "うちこむ",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition13",
+ "definition14"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 0
+ },
+ {
+ "type": "term",
+ "id": 8,
+ "source": "うちこむ",
+ "rawSource": "うちこむ",
+ "sourceTerm": "うちこむ",
+ "reasons": [],
+ "score": 1,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "うちこむ",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition15",
+ "definition16"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 0
+ },
+ {
+ "type": "term",
+ "id": 3,
+ "source": "うち",
+ "rawSource": "うち",
+ "sourceTerm": "うつ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "うつ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition5",
+ "definition6"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 0
+ },
+ {
+ "type": "term",
+ "id": 4,
+ "source": "うち",
+ "rawSource": "うち",
+ "sourceTerm": "うつ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "うつ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition7",
+ "definition8"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 0
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Find term using reading 6",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "ぶちこむ",
+ "options": "default",
+ "expected": {
+ "length": 4,
+ "definitions": [
+ {
+ "type": "term",
+ "id": 9,
+ "source": "ぶちこむ",
+ "rawSource": "ぶちこむ",
+ "sourceTerm": "ぶちこむ",
+ "reasons": [],
+ "score": 10,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "ぶちこむ",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition17",
+ "definition18"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 0
+ },
+ {
+ "type": "term",
+ "id": 10,
+ "source": "ぶちこむ",
+ "rawSource": "ぶちこむ",
+ "sourceTerm": "ぶちこむ",
+ "reasons": [],
+ "score": 1,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "ぶちこむ",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition19",
+ "definition20"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 0
+ },
+ {
+ "type": "term",
+ "id": 5,
+ "source": "ぶち",
+ "rawSource": "ぶち",
+ "sourceTerm": "ぶつ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "ぶつ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition9",
+ "definition10"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 0
+ },
+ {
+ "type": "term",
+ "id": 6,
+ "source": "ぶち",
+ "rawSource": "ぶち",
+ "sourceTerm": "ぶつ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "ぶつ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition11",
+ "definition12"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 0
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Find term using reading 7",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "がぞう",
+ "options": "default",
+ "expected": {
+ "length": 3,
+ "definitions": [
+ {
+ "type": "term",
+ "id": 11,
+ "source": "がぞう",
+ "rawSource": "がぞう",
+ "sourceTerm": "がぞう",
+ "reasons": [],
+ "score": 1,
+ "sequence": 5,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "画像",
+ "reading": "がぞう",
+ "expressions": [
+ {
+ "sourceTerm": "がぞう",
+ "expression": "画像",
+ "reading": "がぞう",
+ "furiganaSegments": [
+ {
+ "text": "画像",
+ "furigana": "がぞう"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "画像",
+ "furigana": "がぞう"
+ }
+ ],
+ "glossary": [
+ "definition21",
+ {
+ "type": "image",
+ "path": "image.gif",
+ "width": 100,
+ "height": 100,
+ "preferredWidth": 350,
+ "preferredHeight": 350,
+ "description": "An image",
+ "pixelated": true
+ }
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "sourceTermExactMatchCount": 0
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Missing term 1",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "為る",
+ "options": "default",
+ "expected": {
+ "length": 0,
+ "definitions": []
+ }
+ },
+ {
+ "comment": "Missing term 2",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "する",
+ "options": "default",
+ "expected": {
+ "length": 0,
+ "definitions": []
+ }
+ },
+ {
+ "comment": "Search using different modes",
+ "func": "findTerms",
+ "mode": "simple",
+ "text": "打ち込む",
+ "options": "default",
+ "expected": {
+ "length": 4,
+ "definitions": [
+ {
+ "type": "term",
+ "id": 7,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 10,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition13",
+ "definition14"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 9,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 10,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition17",
+ "definition18"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 8,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 1,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition15",
+ "definition16"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 10,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 1,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition19",
+ "definition20"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 3,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition5",
+ "definition6"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 5,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition9",
+ "definition10"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 4,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition7",
+ "definition8"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 6,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition11",
+ "definition12"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 1,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "だ",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "だ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "glossary": [
+ "definition1",
+ "definition2"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 2,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 2,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "ダース",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "ダース",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "glossary": [
+ "definition3",
+ "definition4"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Search using different modes",
+ "func": "findTerms",
+ "mode": "group",
+ "text": "打ち込む",
+ "options": "default",
+ "expected": {
+ "length": 4,
+ "definitions": [
+ {
+ "type": "termGrouped",
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 10,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 7,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 10,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition13",
+ "definition14"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 8,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 1,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition15",
+ "definition16"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": true
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "termGrouped",
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 10,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 9,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 10,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition17",
+ "definition18"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 10,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 1,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition19",
+ "definition20"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": true
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "termGrouped",
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 3,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition5",
+ "definition6"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 4,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition7",
+ "definition8"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": true
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "termGrouped",
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 5,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition9",
+ "definition10"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 6,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition11",
+ "definition12"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": true
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "termGrouped",
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "だ",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "だ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 1,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "だ",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "だ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "glossary": [
+ "definition1",
+ "definition2"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "termGrouped",
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "ダース",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "ダース",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 2,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 2,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "ダース",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "ダース",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "glossary": [
+ "definition3",
+ "definition4"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Search using different modes",
+ "func": "findTerms",
+ "mode": "merge",
+ "text": "打ち込む",
+ "options": "default",
+ "expected": {
+ "length": 4,
+ "definitions": [
+ {
+ "type": "termMerged",
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "reasons": [],
+ "score": 10,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打ち込む"
+ ],
+ "reading": [
+ "うちこむ",
+ "ぶちこむ"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "definitions": [
+ {
+ "type": "termMergedByGlossary",
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "reasons": [],
+ "score": 10,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打ち込む"
+ ],
+ "reading": [
+ "うちこむ"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "glossary": [
+ "definition13",
+ "definition14"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 7,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 10,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition13",
+ "definition14"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "only": [
+ "うちこむ"
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "termMergedByGlossary",
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "reasons": [],
+ "score": 10,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打ち込む"
+ ],
+ "reading": [
+ "ぶちこむ"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "glossary": [
+ "definition17",
+ "definition18"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": true
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 9,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 10,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition17",
+ "definition18"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "only": [
+ "ぶちこむ"
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "termMergedByGlossary",
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "reasons": [],
+ "score": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打ち込む"
+ ],
+ "reading": [
+ "うちこむ"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "glossary": [
+ "definition15",
+ "definition16"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": true
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 8,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 1,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition15",
+ "definition16"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "only": [
+ "うちこむ"
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "termMergedByGlossary",
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "reasons": [],
+ "score": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打ち込む"
+ ],
+ "reading": [
+ "ぶちこむ"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "glossary": [
+ "definition19",
+ "definition20"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": true
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 10,
+ "source": "打ち込む",
+ "rawSource": "打ち込む",
+ "sourceTerm": "打ち込む",
+ "reasons": [],
+ "score": 1,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition19",
+ "definition20"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "only": [
+ "ぶちこむ"
+ ],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 4
+ },
+ {
+ "type": "termMerged",
+ "source": "打ち",
+ "rawSource": "打ち",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打つ"
+ ],
+ "reading": [
+ "うつ",
+ "ぶつ"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ },
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "definitions": [
+ {
+ "type": "termMergedByGlossary",
+ "source": "打ち",
+ "rawSource": "打ち",
+ "reasons": [],
+ "score": 10,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打つ"
+ ],
+ "reading": [
+ "うつ"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "glossary": [
+ "definition5",
+ "definition6"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 3,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition5",
+ "definition6"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "only": [
+ "うつ"
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "termMergedByGlossary",
+ "source": "打ち",
+ "rawSource": "打ち",
+ "reasons": [],
+ "score": 10,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打つ"
+ ],
+ "reading": [
+ "ぶつ"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "glossary": [
+ "definition9",
+ "definition10"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": true
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 5,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition9",
+ "definition10"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "only": [
+ "ぶつ"
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "termMergedByGlossary",
+ "source": "打ち",
+ "rawSource": "打ち",
+ "reasons": [],
+ "score": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打つ"
+ ],
+ "reading": [
+ "うつ"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "glossary": [
+ "definition7",
+ "definition8"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": true
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 4,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition7",
+ "definition8"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "only": [
+ "うつ"
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "termMergedByGlossary",
+ "source": "打ち",
+ "rawSource": "打ち",
+ "reasons": [],
+ "score": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打つ"
+ ],
+ "reading": [
+ "ぶつ"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "glossary": [
+ "definition11",
+ "definition12"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": true
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 6,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition11",
+ "definition12"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "only": [
+ "ぶつ"
+ ],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 4
+ },
+ {
+ "type": "termMerged",
+ "source": "打",
+ "rawSource": "打",
+ "reasons": [],
+ "score": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打"
+ ],
+ "reading": [
+ "だ"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "だ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "definitions": [
+ {
+ "type": "termMergedByGlossary",
+ "source": "打",
+ "rawSource": "打",
+ "reasons": [],
+ "score": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打"
+ ],
+ "reading": [
+ "だ"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "だ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "glossary": [
+ "definition1",
+ "definition2"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 1,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "だ",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "だ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "glossary": [
+ "definition1",
+ "definition2"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": [],
+ "only": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "termMerged",
+ "source": "打",
+ "rawSource": "打",
+ "reasons": [],
+ "score": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打"
+ ],
+ "reading": [
+ "ダース"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "ダース",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "definitions": [
+ {
+ "type": "termMergedByGlossary",
+ "source": "打",
+ "rawSource": "打",
+ "reasons": [],
+ "score": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": [
+ "打"
+ ],
+ "reading": [
+ "ダース"
+ ],
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "ダース",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "glossary": [
+ "definition3",
+ "definition4"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "definitions": [
+ {
+ "type": "term",
+ "id": 2,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 2,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "ダース",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "ダース",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "glossary": [
+ "definition3",
+ "definition4"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": [],
+ "only": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ]
+ }
+ },
+ {
+ "comment": "Search inflected term",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "打ち込んでいませんでした",
+ "options": "default",
+ "expected": {
+ "length": 12,
+ "definitions": [
+ {
+ "type": "term",
+ "id": 7,
+ "source": "打ち込んでいませんでした",
+ "rawSource": "打ち込んでいませんでした",
+ "sourceTerm": "打ち込む",
+ "reasons": [
+ "-te",
+ "progressive or perfect",
+ "polite past negative"
+ ],
+ "score": 10,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition13",
+ "definition14"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 9,
+ "source": "打ち込んでいませんでした",
+ "rawSource": "打ち込んでいませんでした",
+ "sourceTerm": "打ち込む",
+ "reasons": [
+ "-te",
+ "progressive or perfect",
+ "polite past negative"
+ ],
+ "score": 10,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition17",
+ "definition18"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 8,
+ "source": "打ち込んでいませんでした",
+ "rawSource": "打ち込んでいませんでした",
+ "sourceTerm": "打ち込む",
+ "reasons": [
+ "-te",
+ "progressive or perfect",
+ "polite past negative"
+ ],
+ "score": 1,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition15",
+ "definition16"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag6",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag7",
+ "category": "default",
+ "notes": "",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 8
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "うちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 10,
+ "source": "打ち込んでいませんでした",
+ "rawSource": "打ち込んでいませんでした",
+ "sourceTerm": "打ち込む",
+ "reasons": [
+ "-te",
+ "progressive or perfect",
+ "polite past negative"
+ ],
+ "score": 1,
+ "sequence": 4,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "expressions": [
+ {
+ "sourceTerm": "打ち込む",
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "ち",
+ "furigana": ""
+ },
+ {
+ "text": "込",
+ "furigana": "こ"
+ },
+ {
+ "text": "む",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition19",
+ "definition20"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 3
+ },
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 9
+ }
+ ],
+ "pitches": [
+ {
+ "expression": "打ち込む",
+ "reading": "ぶちこむ",
+ "dictionary": "Test Dictionary 2",
+ "pitches": [
+ {
+ "position": 0,
+ "tags": []
+ },
+ {
+ "position": 3,
+ "tags": []
+ }
+ ]
+ }
+ ],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 3,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition5",
+ "definition6"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 5,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 10,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition9",
+ "definition10"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 4,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "うつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "うつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "う"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition7",
+ "definition8"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "うつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 6
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 6,
+ "source": "打ち",
+ "rawSource": "打ち",
+ "sourceTerm": "打つ",
+ "reasons": [
+ "masu stem"
+ ],
+ "score": 1,
+ "sequence": 3,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "expressions": [
+ {
+ "sourceTerm": "打つ",
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ぶ"
+ },
+ {
+ "text": "つ",
+ "furigana": ""
+ }
+ ],
+ "glossary": [
+ "definition11",
+ "definition12"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 2
+ },
+ {
+ "expression": "打つ",
+ "reading": "ぶつ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 7
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 1,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 1,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "だ",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "だ",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "だ"
+ }
+ ],
+ "glossary": [
+ "definition1",
+ "definition2"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "だ",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 4
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ },
+ {
+ "type": "term",
+ "id": 2,
+ "source": "打",
+ "rawSource": "打",
+ "sourceTerm": "打",
+ "reasons": [],
+ "score": 1,
+ "sequence": 2,
+ "dictionary": "Test Dictionary 2",
+ "dictionaryPriority": 0,
+ "dictionaryNames": [
+ "Test Dictionary 2"
+ ],
+ "expression": "打",
+ "reading": "ダース",
+ "expressions": [
+ {
+ "sourceTerm": "打",
+ "expression": "打",
+ "reading": "ダース",
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termFrequency": "normal",
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": []
+ }
+ ],
+ "furiganaSegments": [
+ {
+ "text": "打",
+ "furigana": "ダース"
+ }
+ ],
+ "glossary": [
+ "definition3",
+ "definition4"
+ ],
+ "definitionTags": [
+ {
+ "name": "tag1",
+ "category": "category1",
+ "notes": "tag1 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag2",
+ "category": "category2",
+ "notes": "tag2 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "Test Dictionary 2",
+ "category": "dictionary",
+ "notes": "",
+ "order": 100,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "termTags": [
+ {
+ "name": "tag3",
+ "category": "category3",
+ "notes": "tag3 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag4",
+ "category": "category4",
+ "notes": "tag4 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ },
+ {
+ "name": "tag5",
+ "category": "category5",
+ "notes": "tag5 notes",
+ "order": 0,
+ "score": 0,
+ "dictionary": "Test Dictionary 2",
+ "redundant": false
+ }
+ ],
+ "frequencies": [
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 1
+ },
+ {
+ "expression": "打",
+ "reading": "ダース",
+ "dictionary": "Test Dictionary 2",
+ "frequency": 5
+ }
+ ],
+ "pitches": [],
+ "sourceTermExactMatchCount": 1
+ }
+ ]
+ }
+ }
+ ]
+} \ No newline at end of file
diff --git a/test/test-database.js b/test/test-database.js
index cbaf49dd..1d9183d6 100644
--- a/test/test-database.js
+++ b/test/test-database.js
@@ -15,102 +15,13 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-const fs = require('fs');
-const url = require('url');
const path = require('path');
const assert = require('assert');
-const {JSZip, createDictionaryArchive, testMain} = require('../dev/util');
-const {VM} = require('../dev/vm');
-require('fake-indexeddb/auto');
-
-const chrome = {
- runtime: {
- onMessage: {
- addListener() { /* NOP */ },
- removeListener() { /* NOP */ }
- },
- getURL(path2) {
- return url.pathToFileURL(path.join(__dirname, '..', 'ext', path2.replace(/^\//, ''))).href;
- },
- sendMessage() {
- // NOP
- }
- }
-};
-
-class Image {
- constructor() {
- this._src = '';
- this._loadCallbacks = [];
- }
-
- get src() {
- return this._src;
- }
+const {createDictionaryArchive, testMain} = require('../dev/util');
+const {DatabaseVM} = require('../dev/database-vm');
- set src(value) {
- this._src = value;
- this._delayTriggerLoad();
- }
-
- get naturalWidth() {
- return 100;
- }
-
- get naturalHeight() {
- return 100;
- }
-
- addEventListener(eventName, callback) {
- if (eventName === 'load') {
- this._loadCallbacks.push(callback);
- }
- }
-
- removeEventListener(eventName, callback) {
- if (eventName === 'load') {
- const index = this._loadCallbacks.indexOf(callback);
- if (index >= 0) {
- this._loadCallbacks.splice(index, 1);
- }
- }
- }
-
- async _delayTriggerLoad() {
- await Promise.resolve();
- for (const callback of this._loadCallbacks) {
- callback();
- }
- }
-}
-
-async function fetch(url2) {
- const filePath = url.fileURLToPath(url2);
- await Promise.resolve();
- const content = fs.readFileSync(filePath, {encoding: null});
- return {
- ok: true,
- status: 200,
- statusText: 'OK',
- text: async () => Promise.resolve(content.toString('utf8')),
- json: async () => Promise.resolve(JSON.parse(content.toString('utf8')))
- };
-}
-
-
-const vm = new VM({
- chrome,
- Image,
- fetch,
- indexedDB: global.indexedDB,
- IDBKeyRange: global.IDBKeyRange,
- JSZip,
- addEventListener() {
- // NOP
- }
-});
-vm.context.window = vm.context;
+const vm = new DatabaseVM();
vm.execute([
'mixed/js/core.js',
'mixed/js/cache-map.js',
@@ -155,7 +66,7 @@ function clearDatabase(timeout) {
}, timeout);
(async () => {
- const indexedDB = global.indexedDB;
+ const indexedDB = vm.indexedDB;
for (const {name} of await indexedDB.databases()) {
await new Promise((resolve2, reject2) => {
const request = indexedDB.deleteDatabase(name);
@@ -477,15 +388,16 @@ async function testFindTermsBySequenceBulk1(database, mainDictionary) {
{
inputs: [
{
- sequenceList: [1, 2, 3, 4, 5, 6]
+ sequenceList: [1, 2, 3, 4, 5]
}
],
expectedResults: {
- total: 32,
+ total: 33,
expressions: [
['打', 2],
['打つ', 17],
- ['打ち込む', 13]
+ ['打ち込む', 13],
+ ['画像', 1]
],
readings: [
['だ', 1],
@@ -493,7 +405,8 @@ async function testFindTermsBySequenceBulk1(database, mainDictionary) {
['うつ', 15],
['ぶつ', 2],
['うちこむ', 9],
- ['ぶちこむ', 4]
+ ['ぶちこむ', 4],
+ ['がぞう', 1]
]
}
},
@@ -536,12 +449,13 @@ async function testFindTermsBySequenceBulk1(database, mainDictionary) {
}
],
expectedResults: {
- total: 15,
+ total: 17,
expressions: [
- ['打つ', 15]
+ ['打つ', 17]
],
readings: [
- ['うつ', 15]
+ ['うつ', 15],
+ ['ぶつ', 2]
]
}
},
@@ -552,12 +466,13 @@ async function testFindTermsBySequenceBulk1(database, mainDictionary) {
}
],
expectedResults: {
- total: 2,
+ total: 13,
expressions: [
- ['打つ', 2]
+ ['打ち込む', 13]
],
readings: [
- ['ぶつ', 2]
+ ['うちこむ', 9],
+ ['ぶちこむ', 4]
]
}
},
@@ -568,28 +483,12 @@ async function testFindTermsBySequenceBulk1(database, mainDictionary) {
}
],
expectedResults: {
- total: 9,
- expressions: [
- ['打ち込む', 9]
- ],
- readings: [
- ['うちこむ', 9]
- ]
- }
- },
- {
- inputs: [
- {
- sequenceList: [6]
- }
- ],
- expectedResults: {
- total: 4,
+ total: 1,
expressions: [
- ['打ち込む', 4]
+ ['画像', 1]
],
readings: [
- ['ぶちこむ', 4]
+ ['がぞう', 1]
]
}
},
diff --git a/test/test-dictionary.js b/test/test-dictionary.js
index 1a2dca68..ed85d6a0 100644
--- a/test/test-dictionary.js
+++ b/test/test-dictionary.js
@@ -29,6 +29,7 @@ function createTestDictionaryArchive(dictionary, dictionaryName) {
async function main() {
const dictionaries = [
{name: 'valid-dictionary1', valid: true},
+ {name: 'valid-dictionary2', valid: true},
{name: 'invalid-dictionary1', valid: false},
{name: 'invalid-dictionary2', valid: false},
{name: 'invalid-dictionary3', valid: false},
diff --git a/test/test-translator.js b/test/test-translator.js
new file mode 100644
index 00000000..97651be3
--- /dev/null
+++ b/test/test-translator.js
@@ -0,0 +1,175 @@
+/*
+ * Copyright (C) 2020 Yomichan Authors
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+const fs = require('fs');
+const path = require('path');
+const assert = require('assert');
+const {createDictionaryArchive, testMain} = require('../dev/util');
+const {DatabaseVM} = require('../dev/database-vm');
+
+
+function createTestDictionaryArchive(dictionary, dictionaryName) {
+ const dictionaryDirectory = path.join(__dirname, 'data', 'dictionaries', dictionary);
+ return createDictionaryArchive(dictionaryDirectory, dictionaryName);
+}
+
+function clone(value) {
+ return JSON.parse(JSON.stringify(value));
+}
+
+
+async function createVM() {
+ // Set up VM
+ const vm = new DatabaseVM();
+ vm.execute([
+ 'mixed/js/core.js',
+ 'mixed/js/cache-map.js',
+ 'mixed/js/japanese.js',
+ 'bg/js/json-schema.js',
+ 'bg/js/media-utility.js',
+ 'bg/js/dictionary-importer.js',
+ 'bg/js/database.js',
+ 'bg/js/dictionary-database.js',
+ 'bg/js/text-source-map.js',
+ 'bg/js/deinflector.js',
+ 'bg/js/translator.js'
+ ]);
+ const [
+ DictionaryImporter,
+ DictionaryDatabase,
+ JapaneseUtil,
+ Translator
+ ] = vm.get([
+ 'DictionaryImporter',
+ 'DictionaryDatabase',
+ 'JapaneseUtil',
+ 'Translator'
+ ]);
+
+ // Dictionary
+ const testDictionary = createTestDictionaryArchive('valid-dictionary2');
+ const testDictionaryContent = await testDictionary.generateAsync({type: 'string'});
+
+ // Setup database
+ const dictionaryImporter = new DictionaryImporter();
+ const dictionaryDatabase = new DictionaryDatabase();
+ await dictionaryDatabase.prepare();
+
+ const {result, errors} = await dictionaryImporter.importDictionary(
+ dictionaryDatabase,
+ testDictionaryContent,
+ {prefixWildcardsSupported: true},
+ () => {}
+ );
+
+ assert.deepStrictEqual(errors.length, 0);
+
+ // Setup translator
+ const japaneseUtil = new JapaneseUtil(null);
+ const translator = new Translator({japaneseUtil, database: dictionaryDatabase});
+ const deinflectionReasions = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'ext', 'bg/lang/deinflect.json')));
+ translator.prepare(deinflectionReasions);
+
+ // Done
+ return {vm, translator, dictionary: result};
+}
+
+function buildOptions(optionsPresets, optionsArray, dictionaryTitle) {
+ const options = {};
+ if (!Array.isArray(optionsArray)) { optionsArray = [optionsArray]; }
+ for (const entry of optionsArray) {
+ switch (typeof entry) {
+ case 'string':
+ if (!Object.prototype.hasOwnProperty.call(optionsPresets, entry)) {
+ throw new Error('Invalid options preset');
+ }
+ Object.assign(options, clone(optionsPresets[entry]));
+ break;
+ case 'object':
+ Object.assign(options, clone(entry));
+ break;
+ default:
+ throw new Error('Invalid options type');
+ }
+ }
+
+ // Update structure
+ const placeholder = '${title}';
+ if (options.mainDictionary === placeholder) {
+ options.mainDictionary = dictionaryTitle;
+ }
+ let {enabledDictionaryMap} = options;
+ if (Array.isArray(enabledDictionaryMap)) {
+ for (const entry of enabledDictionaryMap) {
+ if (entry[0] === placeholder) {
+ entry[0] = dictionaryTitle;
+ }
+ }
+ enabledDictionaryMap = new Map(enabledDictionaryMap);
+ options.enabledDictionaryMap = enabledDictionaryMap;
+ }
+
+ return options;
+}
+
+
+async function main() {
+ const write = (process.argv[2] === '--write');
+ const {translator, dictionary: {title}} = await createVM();
+
+ const dataFilePath = path.join(__dirname, 'data', 'test-translator-data.json');
+ const data = JSON.parse(fs.readFileSync(dataFilePath, {encoding: 'utf8'}));
+ const {optionsPresets, tests} = data;
+ for (const test of tests) {
+ switch (test.func) {
+ case 'findTerms':
+ {
+ const {mode, text} = test;
+ const options = buildOptions(optionsPresets, test.options, title);
+ const [definitions, length] = clone(await translator.findTerms(mode, text, options));
+ if (write) {
+ test.expected = {length, definitions};
+ } else {
+ const {expected} = test;
+ assert.deepStrictEqual(length, expected.length);
+ assert.deepStrictEqual(definitions, expected.definitions);
+ }
+ }
+ break;
+ case 'findKanji':
+ {
+ const {text} = test;
+ const options = buildOptions(optionsPresets, test.options, title);
+ const definitions = clone(await translator.findKanji(text, options));
+ if (write) {
+ test.expected = {definitions};
+ } else {
+ const {expected} = test;
+ assert.deepStrictEqual(definitions, expected.definitions);
+ }
+ }
+ break;
+ }
+ }
+
+ if (write) {
+ fs.writeFileSync(dataFilePath, JSON.stringify(data, null, 4), {encoding: 'utf8'});
+ }
+}
+
+
+if (require.main === module) { testMain(main); }