The NumberInWordFilter.java and its language-specific instance GermanNumberInWordFilter.java. You can see it in action in the DE grammar.xml's ZAHL_IM_WORT:
If someone writes "Grüß0e", the filter strips away the unexpected digit and checks if the word is in the DE dictionary. If it is, it will suggest that word only. If it is not, it will then look for similar words in the dictionary and propose five of them.
At your convenience, could you please create these?
[x] EnglishNumberInWordFilter.java
[x] FrenchNumberInWordFilter.java
[x] SpanishNumberInWordFilter.java
[x] DutchNumberInWordFilter.java
After that, rule developers can then proceed to creating these rules:
@jaumeortola, Stefan has written a filter:
The
NumberInWordFilter.java
and its language-specific instanceGermanNumberInWordFilter.java
. You can see it in action in the DE grammar.xml's ZAHL_IM_WORT:If someone writes "Grüß0e", the filter strips away the unexpected digit and checks if the word is in the DE dictionary. If it is, it will suggest that word only. If it is not, it will then look for similar words in the dictionary and propose five of them.
At your convenience, could you please create these?
After that, rule developers can then proceed to creating these rules: