fix regex of 'and' adjectivization rule

This commit is contained in:
Ender_Emp 2025-08-01 22:52:55 -05:00
parent d06ebe5ac8
commit 049f8b97a4
2 changed files with 2 additions and 2 deletions

View file

@ -135,7 +135,7 @@ const adjectivizationRules = [
{
name: "an",
probability: 0.5,
condition: new RegExp("^[a-zA-Z]{0-7}$"),
condition: new RegExp("^[a-zA-Z]{0,7}$"),
action: noun => trimVowels(noun) + "an"
}
];