diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-03-23 20:54:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 20:54:04 -0400 |
commit | 022154c3e18d5cc30db2d056a5015405c0cbdcae (patch) | |
tree | 90fbaeea3f0a598e2dbfdabfeb67baa3114250b8 | |
parent | 0e1845c7edd8ae9c9a11d151d2c3a970ee9fc241 (diff) |
Test AnkiNoteBuilder (#1550)
* Add test for AnkiNoteBuilder
* Add test data
-rw-r--r-- | test/data/anki-note-builder-test-results.json | 2479 | ||||
-rw-r--r-- | test/test-anki-note-builder.js | 226 |
2 files changed, 2705 insertions, 0 deletions
diff --git a/test/data/anki-note-builder-test-results.json b/test/data/anki-note-builder-test-results.json new file mode 100644 index 00000000..9b7c7f65 --- /dev/null +++ b/test/data/anki-note-builder-test-results.json @@ -0,0 +1,2479 @@ +[ + { + "name": "Basic kanji test 1", + "results": [ + { + "character": "打", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "glossary": "<div style=\"text-align: left;\"><ol><li>meaning1</li><li>meaning2</li><li>meaning3</li><li>meaning4</li><li>meaning5</li></ol></div>", + "kunyomi": "う.つ, う.ち-, ぶ.つ", + "onyomi": "ダ, ダアス", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "stroke-count": "Stroke count: Unknown", + "tags": "", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Basic kanji test 2", + "results": [ + { + "character": "込", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "込", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "glossary": "<div style=\"text-align: left;\"><ol><li>meaning1</li><li>meaning2</li><li>meaning3</li><li>meaning4</li><li>meaning5</li></ol></div>", + "kunyomi": "-こ.む, こ.む, こ.み, -こ.み, こ.める", + "onyomi": "", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix込cloze-suffix", + "stroke-count": "Stroke count: Unknown", + "tags": "", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Missing kanji test", + "results": [] + }, + { + "name": "Find term using expression text 1", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 4</li></ul>", + "furigana": "<ruby>打<rt>だ</rt></ruby>", + "furigana-plain": "打[だ]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "だ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 5</li></ul>", + "furigana": "<ruby>打<rt>ダース</rt></ruby>", + "furigana-plain": "打[ダース]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ダース", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Find term using expression text 2", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打つ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打つcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打つ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打つcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打つ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打つcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打つ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打つcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 4</li></ul>", + "furigana": "<ruby>打<rt>だ</rt></ruby>", + "furigana-plain": "打[だ]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "だ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 5</li></ul>", + "furigana": "<ruby>打<rt>ダース</rt></ruby>", + "furigana-plain": "打[ダース]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ダース", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Find term using expression text 3", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 8</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[う]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition13</li><li>definition14</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition13</li><li>definition14</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition13</li><li>definition14</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "うちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 9</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[ぶ]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition17</li><li>definition18</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition17</li><li>definition18</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition17</li><li>definition18</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 8</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[う]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition15</li><li>definition16</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition15</li><li>definition16</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition15</li><li>definition16</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "うちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 9</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[ぶ]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition19</li><li>definition20</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition19</li><li>definition20</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition19</li><li>definition20</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 4</li></ul>", + "furigana": "<ruby>打<rt>だ</rt></ruby>", + "furigana-plain": "打[だ]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "だ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 5</li></ul>", + "furigana": "<ruby>打<rt>ダース</rt></ruby>", + "furigana-plain": "打[ダース]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ダース", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Find term using expression text 4", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "画像", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "画像", + "frequencies": "", + "furigana": "<ruby>画像<rt>がぞう</rt></ruby>", + "furigana-plain": "画像[がぞう]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition21</li><li>[object Object]</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition21</li><li>[object Object]</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition21</li><li>[object Object]</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "がぞう", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix画像cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Find term using reading 1", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "だ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 4</li></ul>", + "furigana": "<ruby>打<rt>だ</rt></ruby>", + "furigana-plain": "打[だ]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "だ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixだcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Find term using reading 2", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "ダース", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 5</li></ul>", + "furigana": "<ruby>打<rt>ダース</rt></ruby>", + "furigana-plain": "打[ダース]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ダース", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixダースcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Find term using reading 3", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "うつ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixうつcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "うつ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixうつcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Find term using reading 4", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "ぶつ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixぶつcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "ぶつ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixぶつcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Find term using reading 5", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "うちこむ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 8</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[う]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition13</li><li>definition14</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition13</li><li>definition14</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition13</li><li>definition14</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "うちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixうちこむcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "うちこむ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 8</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[う]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition15</li><li>definition16</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition15</li><li>definition16</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition15</li><li>definition16</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "うちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixうちこむcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "うち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixうちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "うち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixうちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Find term using reading 6", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "ぶちこむ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 9</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[ぶ]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition17</li><li>definition18</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition17</li><li>definition18</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition17</li><li>definition18</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixぶちこむcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "ぶちこむ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 9</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[ぶ]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition19</li><li>definition20</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition19</li><li>definition20</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition19</li><li>definition20</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixぶちこむcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "ぶち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixぶちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "ぶち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixぶちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Find term using reading 7", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "がぞう", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "画像", + "frequencies": "", + "furigana": "<ruby>画像<rt>がぞう</rt></ruby>", + "furigana-plain": "画像[がぞう]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition21</li><li>[object Object]</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition21</li><li>[object Object]</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition21</li><li>[object Object]</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "がぞう", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixがぞうcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Missing term 1", + "results": [] + }, + { + "name": "Missing term 2", + "results": [] + }, + { + "name": "Search using different modes", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "", + "furigana": "<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[う]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition13</li><li>definition14</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition13</li><li>definition14</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition13</li><li>definition14</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[ぶ]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition17</li><li>definition18</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition17</li><li>definition18</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition17</li><li>definition18</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "", + "furigana": "<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[う]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition15</li><li>definition16</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition15</li><li>definition16</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition15</li><li>definition16</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[ぶ]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition19</li><li>definition20</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition19</li><li>definition20</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition19</li><li>definition20</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "", + "furigana": "<ruby>打<rt>だ</rt></ruby>", + "furigana-plain": "打[だ]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "だ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "", + "furigana": "<ruby>打<rt>ダース</rt></ruby>", + "furigana-plain": "打[ダース]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ダース", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Search using different modes", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 8</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[う]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition13</li><li>definition14</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition15</li><li>definition16</li></ul></li></ol></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ol><li><ul><li>definition13</li><li>definition14</li></ul></li><li><ul><li>definition15</li><li>definition16</li></ul></li></ol></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2)</i> <ul><li>definition13</li><li>definition14</li></ul></li><li><i>(tag1, tag2)</i> <ul><li>definition15</li><li>definition16</li></ul></li></ol></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "うちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 9</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[ぶ]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition17</li><li>definition18</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition19</li><li>definition20</li></ul></li></ol></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ol><li><ul><li>definition17</li><li>definition18</li></ul></li><li><ul><li>definition19</li><li>definition20</li></ul></li></ol></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2)</i> <ul><li>definition17</li><li>definition18</li></ul></li><li><i>(tag1, tag2)</i> <ul><li>definition19</li><li>definition20</li></ul></li></ol></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition5</li><li>definition6</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition7</li><li>definition8</li></ul></li></ol></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ol><li><ul><li>definition5</li><li>definition6</li></ul></li><li><ul><li>definition7</li><li>definition8</li></ul></li></ol></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2)</i> <ul><li>definition5</li><li>definition6</li></ul></li><li><i>(tag1, tag2)</i> <ul><li>definition7</li><li>definition8</li></ul></li></ol></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition9</li><li>definition10</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition11</li><li>definition12</li></ul></li></ol></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ol><li><ul><li>definition9</li><li>definition10</li></ul></li><li><ul><li>definition11</li><li>definition12</li></ul></li></ol></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2)</i> <ul><li>definition9</li><li>definition10</li></ul></li><li><i>(tag1, tag2)</i> <ul><li>definition11</li><li>definition12</li></ul></li></ol></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 4</li></ul>", + "furigana": "<ruby>打<rt>だ</rt></ruby>", + "furigana-plain": "打[だ]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "だ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 5</li></ul>", + "furigana": "<ruby>打<rt>ダース</rt></ruby>", + "furigana-plain": "打[ダース]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ダース", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Search using different modes", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>(<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む) Test Dictionary 2: 3</li><li>(<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む) Test Dictionary 2: 8</li><li>(<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む) Test Dictionary 2: 3</li><li>(<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む) Test Dictionary 2: 9</li></ul>", + "furigana": "<span class=\"expression-normal\"><ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む</span>、<span class=\"expression-normal\"><ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む</span>", + "furigana-plain": "<span class=\"expression-normal\">打[う]ち 込[こ]む</span>、<span class=\"expression-normal\">打[ぶ]ち 込[こ]む</span>", + "glossary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2, Test Dictionary 2)</i> (うちこむ only) <ul><li>definition13</li><li>definition14</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> (ぶちこむ only) <ul><li>definition17</li><li>definition18</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> (うちこむ only) <ul><li>definition15</li><li>definition16</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> (ぶちこむ only) <ul><li>definition19</li><li>definition20</li></ul></li></ol></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ol><li><ul><li>definition13</li><li>definition14</li></ul></li><li><ul><li>definition17</li><li>definition18</li></ul></li><li><ul><li>definition15</li><li>definition16</li></ul></li><li><ul><li>definition19</li><li>definition20</li></ul></li></ol></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2)</i> (うちこむ only) <ul><li>definition13</li><li>definition14</li></ul></li><li><i>(tag1, tag2)</i> (ぶちこむ only) <ul><li>definition17</li><li>definition18</li></ul></li><li><i>(tag1, tag2)</i> (うちこむ only) <ul><li>definition15</li><li>definition16</li></ul></li><li><i>(tag1, tag2)</i> (ぶちこむ only) <ul><li>definition19</li><li>definition20</li></ul></li></ol></div>", + "pitch-accents": "<ol><li><em>(うちこむ only) </em><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><em>(うちこむ only) </em><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li><li><em>(ぶちこむ only) </em><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><em>(ぶちこむ only) </em><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><em>(うちこむ only) </em><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><em>(うちこむ only) </em><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li><li><em>(ぶちこむ only) </em><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><em>(ぶちこむ only) </em><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><em>(うちこむ only) </em><span>[0]</span></li><li><em>(うちこむ only) </em><span>[3]</span></li><li><em>(ぶちこむ only) </em><span>[0]</span></li><li><em>(ぶちこむ only) </em><span>[3]</span></li></ol>", + "reading": "うちこむ、ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>(<ruby>打<rt>う</rt></ruby>つ) Test Dictionary 2: 2</li><li>(<ruby>打<rt>う</rt></ruby>つ) Test Dictionary 2: 6</li><li>(<ruby>打<rt>ぶ</rt></ruby>つ) Test Dictionary 2: 2</li><li>(<ruby>打<rt>ぶ</rt></ruby>つ) Test Dictionary 2: 7</li></ul>", + "furigana": "<span class=\"expression-normal\"><ruby>打<rt>う</rt></ruby>つ</span>、<span class=\"expression-normal\"><ruby>打<rt>ぶ</rt></ruby>つ</span>", + "furigana-plain": "<span class=\"expression-normal\">打[う]つ</span>、<span class=\"expression-normal\">打[ぶ]つ</span>", + "glossary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2, Test Dictionary 2)</i> (うつ only) <ul><li>definition5</li><li>definition6</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> (ぶつ only) <ul><li>definition9</li><li>definition10</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> (うつ only) <ul><li>definition7</li><li>definition8</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> (ぶつ only) <ul><li>definition11</li><li>definition12</li></ul></li></ol></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ol><li><ul><li>definition5</li><li>definition6</li></ul></li><li><ul><li>definition9</li><li>definition10</li></ul></li><li><ul><li>definition7</li><li>definition8</li></ul></li><li><ul><li>definition11</li><li>definition12</li></ul></li></ol></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2)</i> (うつ only) <ul><li>definition5</li><li>definition6</li></ul></li><li><i>(tag1, tag2)</i> (ぶつ only) <ul><li>definition9</li><li>definition10</li></ul></li><li><i>(tag1, tag2)</i> (うつ only) <ul><li>definition7</li><li>definition8</li></ul></li><li><i>(tag1, tag2)</i> (ぶつ only) <ul><li>definition11</li><li>definition12</li></ul></li></ol></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ、ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 4</li></ul>", + "furigana": "<span class=\"expression-normal\"><ruby>打<rt>だ</rt></ruby></span>", + "furigana-plain": "<span class=\"expression-normal\">打[だ]</span>", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "だ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 5</li></ul>", + "furigana": "<span class=\"expression-normal\"><ruby>打<rt>ダース</rt></ruby></span>", + "furigana-plain": "<span class=\"expression-normal\">打[ダース]</span>", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ダース", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Search inflected term", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込んでいませんでした", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "-te « progressive or perfect « polite past negative", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 8</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[う]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition13</li><li>definition14</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition13</li><li>definition14</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition13</li><li>definition14</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "うちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込んでいませんでしたcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込んでいませんでした", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "-te « progressive or perfect « polite past negative", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 9</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[ぶ]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition17</li><li>definition18</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition17</li><li>definition18</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition17</li><li>definition18</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込んでいませんでしたcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込んでいませんでした", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "-te « progressive or perfect « polite past negative", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 8</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[う]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition15</li><li>definition16</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition15</li><li>definition16</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition15</li><li>definition16</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "うちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込んでいませんでしたcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち込んでいませんでした", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "-te « progressive or perfect « polite past negative", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 9</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[ぶ]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition19</li><li>definition20</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition19</li><li>definition20</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition19</li><li>definition20</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ち込んでいませんでしたcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 4</li></ul>", + "furigana": "<ruby>打<rt>だ</rt></ruby>", + "furigana-plain": "打[だ]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "だ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 5</li></ul>", + "furigana": "<ruby>打<rt>ダース</rt></ruby>", + "furigana-plain": "打[ダース]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ダース", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Ignore text inside parentheses", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打(う)ち込(こ)む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 8</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[う]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition13</li><li>definition14</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition13</li><li>definition14</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition13</li><li>definition14</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "うちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打(う)ち込(こ)むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打(う)ち込(こ)む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 9</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[ぶ]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition17</li><li>definition18</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition17</li><li>definition18</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition17</li><li>definition18</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打(う)ち込(こ)むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打(う)ち込(こ)む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 8</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[う]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition15</li><li>definition16</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition15</li><li>definition16</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition15</li><li>definition16</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "うちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打(う)ち込(こ)むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打(う)ち込(こ)む", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 9</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[ぶ]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition19</li><li>definition20</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition19</li><li>definition20</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition19</li><li>definition20</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打(う)ち込(こ)むcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打(う)ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打(う)ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打(う)ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打(う)ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打(う)ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打(う)ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打(う)ち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打(う)ちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 4</li></ul>", + "furigana": "<ruby>打<rt>だ</rt></ruby>", + "furigana-plain": "打[だ]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "だ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "打", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 5</li></ul>", + "furigana": "<ruby>打<rt>ダース</rt></ruby>", + "furigana-plain": "打[ダース]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ダース", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix打cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Remove parentheses around text", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "(打)(ち)(込)(む)", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 8</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[う]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition13</li><li>definition14</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition13</li><li>definition14</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition13</li><li>definition14</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "うちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix(打)(ち)(込)(む)cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "(打)(ち)(込)(む)", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 9</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[ぶ]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition17</li><li>definition18</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition17</li><li>definition18</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition17</li><li>definition18</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix(打)(ち)(込)(む)cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "(打)(ち)(込)(む)", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 8</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[う]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition15</li><li>definition16</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition15</li><li>definition16</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition15</li><li>definition16</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "うちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix(打)(ち)(込)(む)cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "(打)(ち)(込)(む)", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 3</li><li>Test Dictionary 2: 9</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む", + "furigana-plain": "打[ぶ]ち 込[こ]む", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition19</li><li>definition20</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition19</li><li>definition20</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition19</li><li>definition20</li></ul></div>", + "pitch-accents": "<ol><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><span>[0]</span></li><li><span>[3]</span></li></ol>", + "reading": "ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix(打)(ち)(込)(む)cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "(打)(ち)", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition5</li><li>definition6</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition5</li><li>definition6</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix(打)(ち)cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "(打)(ち)", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition9</li><li>definition10</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition9</li><li>definition10</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix(打)(ち)cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "(打)(ち)", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 6</li></ul>", + "furigana": "<ruby>打<rt>う</rt></ruby>つ", + "furigana-plain": "打[う]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition7</li><li>definition8</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition7</li><li>definition8</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix(打)(ち)cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "(打)(ち)", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 2</li><li>Test Dictionary 2: 7</li></ul>", + "furigana": "<ruby>打<rt>ぶ</rt></ruby>つ", + "furigana-plain": "打[ぶ]つ", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition11</li><li>definition12</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition11</li><li>definition12</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix(打)(ち)cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "(打)", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 4</li></ul>", + "furigana": "<ruby>打<rt>だ</rt></ruby>", + "furigana-plain": "打[だ]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition1</li><li>definition2</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition1</li><li>definition2</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "だ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix(打)cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "(打)", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打", + "frequencies": "<ul style=\"text-align: left;\"><li>Test Dictionary 2: 1</li><li>Test Dictionary 2: 5</li></ul>", + "furigana": "<ruby>打<rt>ダース</rt></ruby>", + "furigana-plain": "打[ダース]", + "glossary": "<div style=\"text-align: left;\"><i>(tag1, tag2, Test Dictionary 2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ul><li>definition3</li><li>definition4</li></ul></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(tag1, tag2)</i> <ul><li>definition3</li><li>definition4</li></ul></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "ダース", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefix(打)cloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Test non-empty replacement", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "test", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "読む", + "frequencies": "", + "furigana": "<ruby>読<rt>よ</rt></ruby>む", + "furigana-plain": "読[よ]む", + "glossary": "<div style=\"text-align: left;\"><i>(popular, Test Dictionary 2)</i> to read</div>", + "glossary-brief": "<div style=\"text-align: left;\">to read</div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(popular)</i> to read</div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "よむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixtestcloze-suffix", + "tags": "popular", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Test non-empty replacement at end", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "つtest", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "強み", + "frequencies": "", + "furigana": "<ruby>強<rt>つよ</rt></ruby>み", + "furigana-plain": "強[つよ]み", + "glossary": "<div style=\"text-align: left;\"><i>(popular, Test Dictionary 2)</i> strong point</div>", + "glossary-brief": "<div style=\"text-align: left;\">strong point</div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(popular)</i> strong point</div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "つよみ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixつtestcloze-suffix", + "tags": "popular", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Test non-empty replacement at start", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "testました", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "polite past", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "読む", + "frequencies": "", + "furigana": "<ruby>読<rt>よ</rt></ruby>む", + "furigana-plain": "読[よ]む", + "glossary": "<div style=\"text-align: left;\"><i>(popular, Test Dictionary 2)</i> to read</div>", + "glossary-brief": "<div style=\"text-align: left;\">to read</div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><i>(popular)</i> to read</div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "よむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixtestましたcloze-suffix", + "tags": "popular", + "url": "<a href=\"url:\">url:</a>" + } + ] + }, + { + "name": "Search merged mode with non-primary definitions", + "results": [ + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "うちこむ", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打ち込む", + "frequencies": "<ul style=\"text-align: left;\"><li>(<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む) Test Dictionary 2: 3</li><li>(<ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む) Test Dictionary 2: 8</li><li>(<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む) Test Dictionary 2: 3</li><li>(<ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む) Test Dictionary 2: 9</li></ul>", + "furigana": "<span class=\"expression-normal\"><ruby>打<rt>う</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む</span>、<span class=\"expression-normal\"><ruby>打<rt>ぶ</rt></ruby>ち<ruby>込<rt>こ</rt></ruby>む</span>", + "furigana-plain": "<span class=\"expression-normal\">打[う]ち 込[こ]む</span>、<span class=\"expression-normal\">打[ぶ]ち 込[こ]む</span>", + "glossary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2, Test Dictionary 2)</i> (うちこむ only) <ul><li>definition13</li><li>definition14</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> (ぶちこむ only) <ul><li>definition17</li><li>definition18</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> (うちこむ only) <ul><li>definition15</li><li>definition16</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> (ぶちこむ only) <ul><li>definition19</li><li>definition20</li></ul></li></ol></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ol><li><ul><li>definition13</li><li>definition14</li></ul></li><li><ul><li>definition17</li><li>definition18</li></ul></li><li><ul><li>definition15</li><li>definition16</li></ul></li><li><ul><li>definition19</li><li>definition20</li></ul></li></ol></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2)</i> (うちこむ only) <ul><li>definition13</li><li>definition14</li></ul></li><li><i>(tag1, tag2)</i> (ぶちこむ only) <ul><li>definition17</li><li>definition18</li></ul></li><li><i>(tag1, tag2)</i> (うちこむ only) <ul><li>definition15</li><li>definition16</li></ul></li><li><i>(tag1, tag2)</i> (ぶちこむ only) <ul><li>definition19</li><li>definition20</li></ul></li></ol></div>", + "pitch-accents": "<ol><li><em>(うちこむ only) </em><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><em>(うちこむ only) </em><span><span style=\"display:inline-block;position:relative;\">う<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li><li><em>(ぶちこむ only) </em><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span></span></li><li><em>(ぶちこむ only) </em><span><span style=\"display:inline-block;position:relative;\">ぶ<span style=\"\"></span></span><span style=\"display:inline-block;position:relative;\">ち<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;padding-right:0.1em;margin-right:0.1em;\">こ<span style=\"display:block;user-select:none;pointer-events:none;position:absolute;top:0.1em;left:0;right:0;height:0;border-top:0.1em solid;right:-0.1em;height:0.4em;border-right:0.1em solid;\"></span></span><span style=\"display:inline-block;position:relative;\">む<span style=\"\"></span></span></span></li></ol>", + "pitch-accent-graphs": "<ol><li><em>(うちこむ only) </em><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><em>(うちこむ only) </em><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li><li><em>(ぶちこむ only) </em><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 25\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 25 L225 25\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"25\"></use>\n</svg></li><li><em>(ぶちこむ only) </em><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 100\" style=\"display:inline-block;height:2em;\">\n <defs>\n <g id=\"term-pitch-accent-graph-dot\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:#000;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-dot-downstep\"><circle cx=\"0\" cy=\"0\" r=\"15\" style=\"fill:none;stroke:#000;stroke-width:5;\" /><circle cx=\"0\" cy=\"0\" r=\"5\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n <g id=\"term-pitch-accent-graph-triangle\"><path d=\"M0 13 L15 -13 L-15 -13 Z\" style=\"fill:none;stroke:#000;stroke-width:5;\" /></g>\n </defs>\n <path style=\"fill:none;stroke:#000;stroke-width:5;\" d=\"M25 75L75 25L125 25L175 75\"></path>\n <path style=\"fill:none;stroke:#000;stroke-width:5;stroke-dasharray:5 5;\" d=\"M175 75 L225 75\"></path>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"25\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"75\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot-downstep\" x=\"125\" y=\"25\"></use>\n <use href=\"#term-pitch-accent-graph-dot\" x=\"175\" y=\"75\"></use>\n <use href=\"#term-pitch-accent-graph-triangle\" x=\"225\" y=\"75\"></use>\n</svg></li></ol>", + "pitch-accent-positions": "<ol><li><em>(うちこむ only) </em><span>[0]</span></li><li><em>(うちこむ only) </em><span>[3]</span></li><li><em>(ぶちこむ only) </em><span>[0]</span></li><li><em>(ぶちこむ only) </em><span>[3]</span></li></ol>", + "reading": "うちこむ、ぶちこむ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixうちこむcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + }, + { + "audio": "", + "clipboard-image": "", + "clipboard-text": "", + "cloze-body": "うち", + "cloze-prefix": "cloze-prefix", + "cloze-suffix": "cloze-suffix", + "conjugation": "masu stem", + "dictionary": "Test Dictionary 2", + "document-title": "title", + "expression": "打つ", + "frequencies": "<ul style=\"text-align: left;\"><li>(<ruby>打<rt>う</rt></ruby>つ) Test Dictionary 2: 2</li><li>(<ruby>打<rt>う</rt></ruby>つ) Test Dictionary 2: 6</li><li>(<ruby>打<rt>ぶ</rt></ruby>つ) Test Dictionary 2: 2</li><li>(<ruby>打<rt>ぶ</rt></ruby>つ) Test Dictionary 2: 7</li></ul>", + "furigana": "<span class=\"expression-normal\"><ruby>打<rt>う</rt></ruby>つ</span>、<span class=\"expression-normal\"><ruby>打<rt>ぶ</rt></ruby>つ</span>", + "furigana-plain": "<span class=\"expression-normal\">打[う]つ</span>、<span class=\"expression-normal\">打[ぶ]つ</span>", + "glossary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2, Test Dictionary 2)</i> (うつ only) <ul><li>definition5</li><li>definition6</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> (ぶつ only) <ul><li>definition9</li><li>definition10</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> (うつ only) <ul><li>definition7</li><li>definition8</li></ul></li><li><i>(tag1, tag2, Test Dictionary 2)</i> (ぶつ only) <ul><li>definition11</li><li>definition12</li></ul></li></ol></div>", + "glossary-brief": "<div style=\"text-align: left;\"><ol><li><ul><li>definition5</li><li>definition6</li></ul></li><li><ul><li>definition9</li><li>definition10</li></ul></li><li><ul><li>definition7</li><li>definition8</li></ul></li><li><ul><li>definition11</li><li>definition12</li></ul></li></ol></div>", + "glossary-no-dictionary": "<div style=\"text-align: left;\"><ol><li><i>(tag1, tag2)</i> (うつ only) <ul><li>definition5</li><li>definition6</li></ul></li><li><i>(tag1, tag2)</i> (ぶつ only) <ul><li>definition9</li><li>definition10</li></ul></li><li><i>(tag1, tag2)</i> (うつ only) <ul><li>definition7</li><li>definition8</li></ul></li><li><i>(tag1, tag2)</i> (ぶつ only) <ul><li>definition11</li><li>definition12</li></ul></li></ol></div>", + "pitch-accents": "No pitch accent data", + "pitch-accent-graphs": "No pitch accent data", + "pitch-accent-positions": "No pitch accent data", + "reading": "うつ、ぶつ", + "screenshot": "<img src=\"\" />", + "sentence": "cloze-prefixうちcloze-suffix", + "tags": "tag1, tag2", + "url": "<a href=\"url:\">url:</a>" + } + ] + } +]
\ No newline at end of file diff --git a/test/test-anki-note-builder.js b/test/test-anki-note-builder.js new file mode 100644 index 00000000..f28bebef --- /dev/null +++ b/test/test-anki-note-builder.js @@ -0,0 +1,226 @@ +/* + * Copyright (C) 2021 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 {testMain} = require('../dev/util'); +const {TranslatorVM} = require('../dev/translator-vm'); + + +function clone(value) { + return JSON.parse(JSON.stringify(value)); +} + +async function createVM() { + const vm = new TranslatorVM(); + + const dictionaryDirectory = path.join(__dirname, 'data', 'dictionaries', 'valid-dictionary2'); + await vm.prepare(dictionaryDirectory, 'Test Dictionary 2'); + + vm.execute([ + 'js/data/anki-note-builder.js', + 'js/data/anki-util.js', + 'js/templates/template-renderer.js', + 'lib/handlebars.min.js' + ]); + + const [ + JapaneseUtil, + TemplateRenderer, + AnkiNoteData, + AnkiNoteBuilder + ] = vm.get([ + 'JapaneseUtil', + 'TemplateRenderer', + 'AnkiNoteData', + 'AnkiNoteBuilder' + ]); + + class TemplateRendererProxy { + constructor() { + const japaneseUtil = new JapaneseUtil(null); + this._templateRenderer = new TemplateRenderer(japaneseUtil); + this._templateRenderer.registerDataType('ankiNote', { + modifier: ({data, marker}) => new AnkiNoteData(japaneseUtil, marker, data).createPublic() + }); + } + + async render(template, data, type) { + return await this._templateRenderer.render(template, data, type); + } + } + vm.set({TemplateRendererProxy}); + + return {vm, AnkiNoteBuilder}; +} + +function getFieldMarkers(type) { + switch (type) { + case 'terms': + return [ + 'audio', + 'clipboard-image', + 'clipboard-text', + 'cloze-body', + 'cloze-prefix', + 'cloze-suffix', + 'conjugation', + 'dictionary', + 'document-title', + 'expression', + 'frequencies', + 'furigana', + 'furigana-plain', + 'glossary', + 'glossary-brief', + 'glossary-no-dictionary', + 'pitch-accents', + 'pitch-accent-graphs', + 'pitch-accent-positions', + 'reading', + 'screenshot', + 'sentence', + 'tags', + 'url' + ]; + case 'kanji': + return [ + 'character', + 'clipboard-image', + 'clipboard-text', + 'cloze-body', + 'cloze-prefix', + 'cloze-suffix', + 'dictionary', + 'document-title', + 'glossary', + 'kunyomi', + 'onyomi', + 'screenshot', + 'sentence', + 'stroke-count', + 'tags', + 'url' + ]; + default: + return []; + } +} + +async function getRenderResults(definitions, type, mode, templates, AnkiNoteBuilder, write) { + const markers = getFieldMarkers(type); + const fields = []; + for (const marker of markers) { + fields.push([marker, `{${marker}}`]); + } + + const clozePrefix = 'cloze-prefix'; + const clozeSuffix = 'cloze-suffix'; + const results = []; + for (const definition of definitions) { + const source = definition.type === 'kanji' ? definition.character : definition.rawSource; + const ankiNoteBuilder = new AnkiNoteBuilder(); + const context = { + url: 'url:', + sentence: { + text: `${clozePrefix}${source}${clozeSuffix}`, + offset: clozePrefix.length + }, + documentTitle: 'title' + }; + const errors = []; + const noteFields = (await ankiNoteBuilder.createNote({ + definition, + mode: null, + context, + templates, + deckName: 'deckName', + modelName: 'modelName', + fields, + tags: ['yomichan'], + injectedMedia: null, + checkForDuplicates: true, + duplicateScope: 'collection', + resultOutputMode: mode, + glossaryLayoutMode: 'default', + compactTags: false, + errors + })).fields; + if (!write) { + assert.deepStrictEqual(errors, []); + } + results.push(noteFields); + } + + return results; +} + + +async function main() { + const write = (process.argv[2] === '--write'); + + const {vm, AnkiNoteBuilder} = await createVM(); + + const testInputsFilePath = path.join(__dirname, 'data', 'translator-test-inputs.json'); + const {optionsPresets, tests} = JSON.parse(fs.readFileSync(testInputsFilePath, {encoding: 'utf8'})); + + const testResults1FilePath = path.join(__dirname, 'data', 'anki-note-builder-test-results.json'); + const expectedResults1 = JSON.parse(fs.readFileSync(testResults1FilePath, {encoding: 'utf8'})); + const actualResults1 = []; + + const templates = fs.readFileSync(path.join(__dirname, '..', 'ext', 'data/templates/default-anki-field-templates.handlebars'), {encoding: 'utf8'}); + + for (let i = 0, ii = tests.length; i < ii; ++i) { + const test = tests[i]; + const expected1 = expectedResults1[i]; + switch (test.func) { + case 'findTerms': + { + const {name, mode, text} = test; + const options = vm.buildOptions(optionsPresets, test.options); + const [definitions] = clone(await vm.translator.findTerms(mode, text, options)); + const results = clone(await getRenderResults(definitions, 'terms', mode, templates, AnkiNoteBuilder, write)); + actualResults1.push({name, results}); + if (!write) { + assert.deepStrictEqual(results, expected1.results); + } + } + break; + case 'findKanji': + { + const {name, text} = test; + const options = vm.buildOptions(optionsPresets, test.options); + const definitions = clone(await vm.translator.findKanji(text, options)); + const results = clone(await getRenderResults(definitions, 'kanji', null, templates, AnkiNoteBuilder, write)); + actualResults1.push({name, results}); + if (!write) { + assert.deepStrictEqual(results, expected1.results); + } + } + break; + } + } + + if (write) { + // Use 2 indent instead of 4 to save a bit of file size + fs.writeFileSync(testResults1FilePath, JSON.stringify(actualResults1, null, 2), {encoding: 'utf8'}); + } +} + + +if (require.main === module) { testMain(main); } |