Class MultiWordChunker.Settings

java.lang.Object
org.languagetool.tagging.disambiguation.MultiWordChunker.Settings
Enclosing class:
MultiWordChunker

private static class MultiWordChunker.Settings extends Object
  • Field Details

    • filename

      @NotNull private final String filename
    • allowFirstCapitalized

      private final boolean allowFirstCapitalized
    • allowAllUppercase

      private final boolean allowAllUppercase
    • allowTitlecase

      private final boolean allowTitlecase
    • defaultTag

      @Nullable private final String 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 tags
      allowFirstCapitalized - if set to true, first word of the multiword can be capitalized
      allowAllUppercase - if set to true, the all uppercase version of the multiword is allowed
      allowTitlecase - if set to true, titlecased variants of multi-token words are accepted
  • Method Details