diff options
author | StefanVukovic99 <stefanvukovic44@gmail.com> | 2024-01-13 12:41:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-13 11:41:38 +0000 |
commit | 273c2f22603abe563435a0f1d7a84c0d9037fe2c (patch) | |
tree | 0fe7600db81217379fa6e06d38945f10b7aec58a /test | |
parent | 2aea9291d66fd619c484abc2ab04b4350807f308 (diff) |
add option to disable part of speech rule check (#438)
* pos filter wip
* add part of speech filter option
* add part of speech filter option
* remove from deinflector
* update test
* remove return
* tie to dictionary
* duplicate to welcome page
* delete unused html
* fix ts
* typo
Diffstat (limited to 'test')
-rw-r--r-- | test/data/translator-test-inputs.json | 3 | ||||
-rw-r--r-- | test/options-util.test.js | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/test/data/translator-test-inputs.json b/test/data/translator-test-inputs.json index ec7f1a11..91cf0ab2 100644 --- a/test/data/translator-test-inputs.json +++ b/test/data/translator-test-inputs.json @@ -34,7 +34,8 @@ { "index": 0, "priority": 0, - "allowSecondarySearches": false + "allowSecondarySearches": false, + "partsOfSpeechFilter": true } ] ] diff --git a/test/options-util.test.js b/test/options-util.test.js index daffe886..41743b9f 100644 --- a/test/options-util.test.js +++ b/test/options-util.test.js @@ -425,7 +425,8 @@ function createProfileOptionsUpdatedTestData1() { priority: 0, enabled: true, allowSecondarySearches: false, - definitionsCollapsible: 'not-collapsible' + definitionsCollapsible: 'not-collapsible', + partsOfSpeechFilter: true } ], parsing: { @@ -602,7 +603,7 @@ function createOptionsUpdatedTestData1() { } ], profileCurrent: 0, - version: 22, + version: 23, global: { database: { prefixWildcardsSupported: false |