summaryrefslogtreecommitdiff
path: root/tests/rep.aff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rep.aff')
-rw-r--r--tests/rep.aff21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/rep.aff b/tests/rep.aff
new file mode 100644
index 0000000..485755c
--- /dev/null
+++ b/tests/rep.aff
@@ -0,0 +1,21 @@
+# With REP suggestions, we can fix typical language specific misspellings.
+
+# switch off ngram suggestion for testing
+MAXNGRAMSUGS 0
+
+REP 8
+REP f ph
+REP ph f
+REP shun$ tion
+REP ^alot$ a_lot # add the highest priority for "a lot" suggestion to "alot"
+REP ^foo$ bar
+REP ' _ # "un'alunno" -> "un alunno"
+REP ^vinteśn$ vinte_e_un
+REP s 's
+
+
+SFX A Y 1
+SFX A 0 's .
+
+
+WORDCHARS '