aboutsummaryrefslogtreecommitdiff
path: root/ext/js/language/deinflector.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/language/deinflector.js')
-rw-r--r--ext/js/language/deinflector.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/js/language/deinflector.js b/ext/js/language/deinflector.js
index 90ca79ea..676f45a1 100644
--- a/ext/js/language/deinflector.js
+++ b/ext/js/language/deinflector.js
@@ -16,16 +16,13 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/**
- * This class deinflects Japanese terms to its dictionary form.
- */
export class Deinflector {
/**
* @param {import('deinflector').ReasonsRaw} reasons
* @example
* const deinflectionReasons = JSON.parse(
* readFileSync(path.join('ext/data/deinflect.json')).toString(),
- * ) as object;
+ * );
* const deinflector = new Deinflector(deinflectionReasons);
*/
constructor(reasons) {
@@ -101,7 +98,6 @@ export class Deinflector {
}
/**
- * Given a list of rules, return the corresponding deinflection rule flags.
* @param {string[]} rules
* @returns {import('translation-internal').DeinflectionRuleFlags}
*/