summaryrefslogtreecommitdiff
path: root/ext/data
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-01-13 12:41:38 +0100
committerGitHub <noreply@github.com>2024-01-13 11:41:38 +0000
commit273c2f22603abe563435a0f1d7a84c0d9037fe2c (patch)
tree0fe7600db81217379fa6e06d38945f10b7aec58a /ext/data
parent2aea9291d66fd619c484abc2ab04b4350807f308 (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 'ext/data')
-rw-r--r--ext/data/schemas/options-schema.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/data/schemas/options-schema.json b/ext/data/schemas/options-schema.json
index 65c4102e..8cf00400 100644
--- a/ext/data/schemas/options-schema.json
+++ b/ext/data/schemas/options-schema.json
@@ -822,7 +822,8 @@
"priority",
"enabled",
"allowSecondarySearches",
- "definitionsCollapsible"
+ "definitionsCollapsible",
+ "partsOfSpeechFilter"
],
"properties": {
"name": {
@@ -845,6 +846,10 @@
"type": "string",
"enum": ["not-collapsible", "expanded", "collapsed", "force-collapsed", "force-expanded"],
"default": "not-collapsible"
+ },
+ "partsOfSpeechFilter": {
+ "type": "boolean",
+ "default": true
}
}
}