summaryrefslogtreecommitdiff
path: root/ext/data/schemas
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-05-16 15:24:38 -0400
committerGitHub <noreply@github.com>2021-05-16 15:24:38 -0400
commit66d048832f2dc30e11e6be4c68beab23c7d8adef (patch)
tree9cb1d83faacf133f61c3a96156ea6de1541e5233 /ext/data/schemas
parent41ee167dfdfcd794634e0459185a929e814b0493 (diff)
Sentence termination character mode (#1682)
* Change enableTerminationCharacters to terminationCharacterMode * Update settings * Update sentence extraction * Update tests * Add tests
Diffstat (limited to 'ext/data/schemas')
-rw-r--r--ext/data/schemas/options-schema.json7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/data/schemas/options-schema.json b/ext/data/schemas/options-schema.json
index 1f27c330..3f5bd0c7 100644
--- a/ext/data/schemas/options-schema.json
+++ b/ext/data/schemas/options-schema.json
@@ -925,7 +925,7 @@
"type": "object",
"required": [
"scanExtent",
- "enableTerminationCharacters",
+ "terminationCharacterMode",
"terminationCharacters"
],
"properties": {
@@ -934,8 +934,9 @@
"minimum": 0,
"default": 200
},
- "enableTerminationCharacters": {
- "type": "boolean",
+ "terminationCharacterMode": {
+ "type": "string",
+ "enum": ["custom", "custom-no-newlines", "newlines", "none"],
"default": true
},
"terminationCharacters": {