This commit is contained in:
cajun
2025-01-11 23:38:05 -06:00
parent e35d40f658
commit a542a11dd9
34 changed files with 237 additions and 89 deletions

View File

@@ -405,13 +405,25 @@
replace: { _1 + to_upper(_2) }) +
#curly_quotes +
# step 9 : spellcheck
{ if set.mark_errors then
{
if set.auto_correct then
auto_correct(input)
else input
} +
{
if set.auto_errata then
auto_errata(input)
else input
} +
{
if language().code == "ja" or language().code == "zht" or language().code == "zhs" then input
else if set.mark_errors then
check_spelling(
language: language().spellcheck_code,
extra_dictionary: "/magic.mse-game/magic-words",
extra_dictionary: "/magic.mse-game/dictionary/magic-words",
extra_match: additional_text_words
)
else input
else input
}
############################################################## Statistics utilities