aboutsummaryrefslogtreecommitdiff
path: root/ext/js
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-04-09 10:53:59 +0200
committerGitHub <noreply@github.com>2024-04-09 08:53:59 +0000
commitae109750d7fbb20a6c4ea7c7ec2a4ec5398bfe0d (patch)
treeb129d1cfb415f9fe3b642f0061b6754ca5da871a /ext/js
parent315a2ad8d90813e161b22ff253a13732484e8f9f (diff)
english grammar: adverb form of some adjectives (#803)
Diffstat (limited to 'ext/js')
-rw-r--r--ext/js/language/en/english-transforms.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/js/language/en/english-transforms.js b/ext/js/language/en/english-transforms.js
index eab8b328..5471e216 100644
--- a/ext/js/language/en/english-transforms.js
+++ b/ext/js/language/en/english-transforms.js
@@ -210,7 +210,9 @@ export const englishTransforms = {
name: 'adverb',
description: 'Adverb form of an adjective',
rules: [
- suffixInflection('ly', '', ['adv'], ['adj'])
+ suffixInflection('ly', '', ['adv'], ['adj']), // 'quickly'
+ suffixInflection('ily', 'y', ['adv'], ['adj']), // 'happily'
+ suffixInflection('ly', 'le', ['adv'], ['adj']) // 'humbly'
]
},
{