diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-05-16 15:24:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-16 15:24:38 -0400 |
commit | 66d048832f2dc30e11e6be4c68beab23c7d8adef (patch) | |
tree | 9cb1d83faacf133f61c3a96156ea6de1541e5233 /ext/data | |
parent | 41ee167dfdfcd794634e0459185a929e814b0493 (diff) |
Sentence termination character mode (#1682)
* Change enableTerminationCharacters to terminationCharacterMode
* Update settings
* Update sentence extraction
* Update tests
* Add tests
Diffstat (limited to 'ext/data')
-rw-r--r-- | ext/data/schemas/options-schema.json | 7 |
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": { |