Package org.languagetool.rules.nl
Class CompoundAcceptor
java.lang.Object
org.languagetool.rules.nl.CompoundAcceptor
Accept Dutch compounds that are not accepted by the speller. This code
is supposed to accept more words in order to extend the speller, but it's not meant
to accept all valid compounds.
It works on 2-part compounds only for now.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CompoundAcceptorprotected final CachingWordListLoader -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
wordListLoader
-
noS
-
needsS
-
geographicalDirections
-
alwaysNeedsS
-
alwaysNeedsHyphen
-
part1Exceptions
-
part2Exceptions
-
acronymExceptions
-
-
Constructor Details
-
CompoundAcceptor
public CompoundAcceptor()
-
-
Method Details
-
getParts
-
main
- Throws:
IOException
-