Class ValencianCatalan


public class ValencianCatalan extends Catalan
  • Field Details

    • LANGUAGE_SHORT_CODE

      private static final String LANGUAGE_SHORT_CODE
      See Also:
    • instantiationTraceValecian

      private static volatile Throwable instantiationTraceValecian
  • Constructor Details

    • ValencianCatalan

      public ValencianCatalan()
  • Method Details

    • getInstance

      @NotNull public static ValencianCatalan getInstance()
    • getName

      public String getName()
      Description copied from class: Language
      Get this language's name in English, e.g. English or German (Germany).
      Overrides:
      getName in class Catalan
      Returns:
      language name
    • getCountries

      public String[] getCountries()
      Description copied from class: Language
      Get this language's country options , e.g. US (as in en-US) or PL (as in pl-PL).
      Overrides:
      getCountries in class Catalan
      Returns:
      String[] - array of country options for the language.
    • getVariant

      public String getVariant()
      Description copied from class: Language
      Get this language's variant, e.g. valencia (as in ca-ES-valencia) or null. Attention: not to be confused with "country" option
      Overrides:
      getVariant in class Language
      Returns:
      variant for the language or null
    • createDefaultTagger

      @NotNull public Tagger createDefaultTagger()
      Description copied from class: Language
      Creates language specific part-of-speech tagger. The tagger must not be null, but it can be a trivial pseudo-tagger that only assigns null tags. This function will be called each time in Language.getTagger() ()} if tagger is not set.
      Overrides:
      createDefaultTagger in class Catalan
    • createDefaultSynthesizer

      @Nullable public Synthesizer createDefaultSynthesizer()
      Description copied from class: Language
      Creates language specific part-of-speech synthesizer. This function will be called each time in Language.getSynthesizer() if synthesizer is not set.
      Overrides:
      createDefaultSynthesizer in class Catalan
    • getRelevantRules

      public List<Rule> getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) throws IOException
      Description copied from class: Language
      Get the rules classes that should run for texts in this language.
      Overrides:
      getRelevantRules in class Catalan
      Throws:
      IOException
    • getDefaultEnabledRulesForVariant

      public List<String> getDefaultEnabledRulesForVariant()
      Description copied from class: Language
      Get enabled rules different from the default ones for this language variant.
      Overrides:
      getDefaultEnabledRulesForVariant in class Language
      Returns:
      enabled rules for the language variant.
    • getDefaultDisabledRulesForVariant

      public List<String> getDefaultDisabledRulesForVariant()
      Description copied from class: Language
      Get disabled rules different from the default ones for this language variant.
      Overrides:
      getDefaultDisabledRulesForVariant in class Language
      Returns:
      disabled rules for the language variant.