diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-12-08 20:27:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 20:27:36 -0500 |
commit | 2910685a96280acfe4a454c014bc0316347d9085 (patch) | |
tree | 919770979d0e00458baaf782c0b9b5634166747c /ext/bg | |
parent | 0dc170e70b4cba091cb0fbfe31308ca6b0fdc676 (diff) |
Database test updates (#1086)
* Remove unused
* Create DatabaseVM
* Update sequences in test dictionary
* Update documentation
* Add second valid testing dictionary
* Set up translator tests
* Write expected data
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/js/translator.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js index f577d0e1..26ce1f5a 100644 --- a/ext/bg/js/translator.js +++ b/ext/bg/js/translator.js @@ -55,10 +55,11 @@ class Translator { /** * Finds term definitions for the given text. * @param mode The mode to use for finding terms, which determines the format of the resulting array. + * One of: 'group', 'merge', 'split', 'simple' * @param text The text to find terms for. * @param options An object using the following structure: * { - * wildcard: (null or string), + * wildcard: (enum: null, 'prefix', 'suffix'), * mainDictionary: (string), * alphanumeric: (boolean), * convertHalfWidthCharacters: (enum: 'false', 'true', 'variant'), |