summaryrefslogtreecommitdiff
path: root/ext/js/language/deinflector.js
diff options
context:
space:
mode:
authorCashew <52880648+Scrub1492@users.noreply.github.com>2023-12-29 10:31:45 +0700
committerGitHub <noreply@github.com>2023-12-29 03:31:45 +0000
commitd90d408279938d389019a8bed15c5eb95af7c8bc (patch)
tree0c81f456e3aaf853528c51b0d85ae54fcde05412 /ext/js/language/deinflector.js
parentc13ee62b84693346e28741d7f016c6700a2c27d4 (diff)
Comment updates (#481)
* comment updates * comment updates
Diffstat (limited to 'ext/js/language/deinflector.js')
-rw-r--r--ext/js/language/deinflector.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/language/deinflector.js b/ext/js/language/deinflector.js
index f0e02f6f..d2d92e53 100644
--- a/ext/js/language/deinflector.js
+++ b/ext/js/language/deinflector.js
@@ -50,7 +50,7 @@ export class Deinflector {
* @example
* const deinflector = new Deinflector(deinflectionReasons);
* // [{ term: '食べた', rules: 0, reasons: [] }, { term: '食べる', rules: 1, reasons: ['past'] }, { term: '食ぶ', rules: 2, reasons: ['potential', 'past'] }]
- * console.log(deinflector.deinflect('食べさせられる'));
+ * console.log(deinflector.deinflect('食べた'));
*/
deinflect(source) {
const results = [this._createDeinflection(source, 0, [])];