diff options
-rw-r--r-- | docs/interfaces/dictionary-entry.ts | 4 | ||||
-rw-r--r-- | ext/js/language/translator.js | 17 | ||||
-rw-r--r-- | test/data/translator-test-results.json | 178 |
3 files changed, 100 insertions, 99 deletions
diff --git a/docs/interfaces/dictionary-entry.ts b/docs/interfaces/dictionary-entry.ts index 6aaafbf8..0b64908b 100644 --- a/docs/interfaces/dictionary-entry.ts +++ b/docs/interfaces/dictionary-entry.ts @@ -225,9 +225,9 @@ namespace Translation { */ sourceTermExactMatchCount: number; /** - * The maximum deinflected text length of a primary source. + * The maximum length of the transformed text for all primary sources. */ - maxDeinflectedTextLength: number; + maxTransformedTextLength: number; /** * Headwords for the entry. */ diff --git a/ext/js/language/translator.js b/ext/js/language/translator.js index 934c8e4a..5f3d5bcd 100644 --- a/ext/js/language/translator.js +++ b/ext/js/language/translator.js @@ -933,7 +933,7 @@ class Translator { return {index, headwordIndex, dictionary, dictionaryIndex, dictionaryPriority, hasReading, frequency}; } - _createTermDictionaryEntry(id, isPrimary, sequence, inflections, score, dictionaryIndex, dictionaryPriority, sourceTermExactMatchCount, maxDeinflectedTextLength, headwords, definitions) { + _createTermDictionaryEntry(id, isPrimary, sequence, inflections, score, dictionaryIndex, dictionaryPriority, sourceTermExactMatchCount, maxTransformedTextLength, headwords, definitions) { return { type: 'term', id, @@ -944,7 +944,7 @@ class Translator { dictionaryIndex, dictionaryPriority, sourceTermExactMatchCount, - maxDeinflectedTextLength, + maxTransformedTextLength, headwords, definitions, pronunciations: [], @@ -958,7 +958,7 @@ class Translator { const {index: dictionaryIndex, priority: dictionaryPriority} = this._getDictionaryOrder(dictionary, enabledDictionaryMap); const sourceTermExactMatchCount = (isPrimary && deinflectedText === expression ? 1 : 0); const source = this._createSource(originalText, transformedText, deinflectedText, isPrimary); - const maxDeinflectedTextLength = deinflectedText.length; + const maxTransformedTextLength = transformedText.length; const headwordTagGroups = []; const definitionTagGroups = []; @@ -974,7 +974,7 @@ class Translator { dictionaryIndex, dictionaryPriority, sourceTermExactMatchCount, - maxDeinflectedTextLength, + maxTransformedTextLength, [this._createTermHeadword(0, expression, reading, [source], headwordTagGroups)], [this._createTermDefinition(0, [0], dictionary, definitionTagGroups, glossary)] ); @@ -1000,7 +1000,7 @@ class Translator { let score = Number.MIN_SAFE_INTEGER; let dictionaryIndex = Number.MAX_SAFE_INTEGER; let dictionaryPriority = Number.MIN_SAFE_INTEGER; - let maxDeinflectedTextLength = 0; + let maxTransformedTextLength = 0; let sourceTermExactMatchCount = 0; let isPrimary = false; const definitions = []; @@ -1013,7 +1013,7 @@ class Translator { dictionaryPriority = Math.max(dictionaryPriority, dictionaryEntry.dictionaryPriority); if (dictionaryEntry.isPrimary) { isPrimary = true; - maxDeinflectedTextLength = Math.max(maxDeinflectedTextLength, dictionaryEntry.maxDeinflectedTextLength); + maxTransformedTextLength = Math.max(maxTransformedTextLength, dictionaryEntry.maxTransformedTextLength); sourceTermExactMatchCount += dictionaryEntry.sourceTermExactMatchCount; const dictionaryEntryInflections = dictionaryEntry.inflections; if (inflections === null || dictionaryEntryInflections.length < inflections.length) { @@ -1036,7 +1036,7 @@ class Translator { dictionaryIndex, dictionaryPriority, sourceTermExactMatchCount, - maxDeinflectedTextLength, + maxTransformedTextLength, [...headwords.values()], definitions ); @@ -1176,11 +1176,12 @@ class Translator { const stringComparer = this._stringComparer; const compareFunction = (v1, v2) => { // Sort by length of source term - let i = v2.maxDeinflectedTextLength - v1.maxDeinflectedTextLength; + let i = v2.maxTransformedTextLength - v1.maxTransformedTextLength; if (i !== 0) { return i; } // Sort by the number of inflection reasons i = v1.inflections.length - v2.inflections.length; + console.log({'v1.inflections': v1.inflections, 'v2.inflections': v2.inflections}); if (i !== 0) { return i; } // Sort by how many terms exactly match the source (e.g. for exact kana prioritization) diff --git a/test/data/translator-test-results.json b/test/data/translator-test-results.json index 597926fb..51c4515f 100644 --- a/test/data/translator-test-results.json +++ b/test/data/translator-test-results.json @@ -258,7 +258,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -388,7 +388,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -524,7 +524,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -654,7 +654,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -784,7 +784,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -914,7 +914,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -1044,7 +1044,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -1174,7 +1174,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -1310,7 +1310,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -1458,7 +1458,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -1606,7 +1606,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -1750,7 +1750,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -1900,7 +1900,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -2032,7 +2032,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -2164,7 +2164,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -2296,7 +2296,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -2426,7 +2426,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -2556,7 +2556,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -2692,7 +2692,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -2818,7 +2818,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -2954,7 +2954,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 3, + "maxTransformedTextLength": 3, "headwords": [ { "index": 0, @@ -3090,7 +3090,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -3220,7 +3220,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -3356,7 +3356,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -3486,7 +3486,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -3622,7 +3622,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -3770,7 +3770,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -3916,7 +3916,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -4048,7 +4048,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -4184,7 +4184,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -4332,7 +4332,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -4482,7 +4482,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -4614,7 +4614,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -4750,7 +4750,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 3, + "maxTransformedTextLength": 3, "headwords": [ { "index": 0, @@ -4886,7 +4886,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -4930,7 +4930,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -4974,7 +4974,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -5018,7 +5018,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -5064,7 +5064,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -5110,7 +5110,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -5156,7 +5156,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -5202,7 +5202,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -5246,7 +5246,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -5290,7 +5290,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -5340,7 +5340,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 2, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -5549,7 +5549,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 2, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -5738,7 +5738,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 2, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -5909,7 +5909,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 2, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -6078,7 +6078,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -6208,7 +6208,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -6344,7 +6344,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 4, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -6722,7 +6722,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 4, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -7041,7 +7041,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -7171,7 +7171,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -7311,7 +7311,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 12, "headwords": [ { "index": 0, @@ -7463,7 +7463,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 12, "headwords": [ { "index": 0, @@ -7615,7 +7615,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 12, "headwords": [ { "index": 0, @@ -7763,7 +7763,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 12, "headwords": [ { "index": 0, @@ -7913,7 +7913,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -8045,7 +8045,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -8177,7 +8177,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -8309,7 +8309,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -8439,7 +8439,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -8569,7 +8569,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -8705,7 +8705,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -8853,7 +8853,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -9001,7 +9001,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -9145,7 +9145,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -9295,7 +9295,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -9427,7 +9427,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -9559,7 +9559,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -9691,7 +9691,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -9821,7 +9821,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -9951,7 +9951,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -10087,7 +10087,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -10235,7 +10235,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -10383,7 +10383,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -10527,7 +10527,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -10677,7 +10677,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -10809,7 +10809,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -10941,7 +10941,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -11073,7 +11073,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -11203,7 +11203,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -11333,7 +11333,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, - "maxDeinflectedTextLength": 1, + "maxTransformedTextLength": 1, "headwords": [ { "index": 0, @@ -11471,7 +11471,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, @@ -11548,7 +11548,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 3, + "maxTransformedTextLength": 3, "headwords": [ { "index": 0, @@ -11613,7 +11613,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 5, "headwords": [ { "index": 0, @@ -11690,7 +11690,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 4, + "maxTransformedTextLength": 4, "headwords": [ { "index": 0, @@ -12068,7 +12068,7 @@ "dictionaryIndex": 0, "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, - "maxDeinflectedTextLength": 2, + "maxTransformedTextLength": 2, "headwords": [ { "index": 0, |