Class MultiWordChunker.Settings
java.lang.Object
org.languagetool.tagging.disambiguation.MultiWordChunker.Settings
- Enclosing class:
MultiWordChunker
-
Field Details
-
filename
-
allowFirstCapitalized
private final boolean allowFirstCapitalized -
allowAllUppercase
private final boolean allowAllUppercase -
allowTitlecase
private final boolean allowTitlecase -
defaultTag
-
-
Constructor Details
-
Settings
private Settings(@NotNull String filename, boolean allowFirstCapitalized, boolean allowAllUppercase, boolean allowTitlecase, @Nullable String defaultTag) - Parameters:
filename- file text with multiwords and tagsallowFirstCapitalized- if set totrue, first word of the multiword can be capitalizedallowAllUppercase- if set totrue, the all uppercase version of the multiword is allowedallowTitlecase- if set totrue, titlecased variants of multi-token words are accepted
-
-
Method Details