org.languagetool.language
Class Slovenian

Object
  extended by Language
      extended by Slovenian

public class Slovenian
extends Language


Field Summary
 
Fields inherited from class Language
ASTURIAN, BELARUSIAN, BRETON, CATALAN, CHINESE, DANISH, DEMO, DUTCH, ENGLISH, ESPERANTO, FRENCH, GALICIAN, GERMAN, ICELANDIC, ITALIAN, KHMER, LANGUAGES, LITHUANIAN, MALAYALAM, POLISH, REAL_LANGUAGES, ROMANIAN, RUSSIAN, SLOVAK, SLOVENIAN, SPANISH, SWEDISH, TAGALOG, UKRAINIAN
 
Constructor Summary
Slovenian()
           
 
Method Summary
 String[] getCountryVariants()
          Get this language's variants, e.g.
 Locale getLocale()
          Get this language's Java locale.
 Contributor[] getMaintainers()
          Get the name(s) of the maintainer(s) for this language or null.
 String getName()
          Get this language's name in English, e.g.
 List<Class<? extends Rule>> getRelevantRules()
          Get the rules classes that should run for texts in this language.
 SentenceTokenizer getSentenceTokenizer()
          Get this language's sentence tokenizer implementation.
 String getShortName()
          Get this language's two character code, e.g.
 String[] getUnpairedRuleEndSymbols()
          End symbols used by GenericUnpairedBracketsRule.
 String[] getUnpairedRuleStartSymbols()
          Start symbols used by GenericUnpairedBracketsRule.
 
Methods inherited from class Language
getAllMaintainers, getDisambiguationUnifier, getDisambiguator, getExternalLanguages, getLanguageForName, getLanguageForShortName, getRuleFileName, getSynthesizer, getTagger, getTranslatedName, getUnifier, getWordTokenizer, isExternal, reInit, toString
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Slovenian

public Slovenian()
Method Detail

getLocale

public Locale getLocale()
Description copied from class: Language
Get this language's Java locale.

Specified by:
getLocale in class Language

getName

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

Specified by:
getName in class Language
Returns:
String - language name

getShortName

public String getShortName()
Description copied from class: Language
Get this language's two character code, e.g. en for English.

Specified by:
getShortName in class Language
Returns:
String - language code

getCountryVariants

public String[] getCountryVariants()
Description copied from class: Language
Get this language's variants, e.g. US (as in en_US) or PL (as in pl_PL).

Specified by:
getCountryVariants in class Language
Returns:
String[] - array of country variants for the language.

getUnpairedRuleStartSymbols

public String[] getUnpairedRuleStartSymbols()
Description copied from class: Language
Start symbols used by GenericUnpairedBracketsRule. Note that the array must be of equal length as Language.getUnpairedRuleEndSymbols() and the sequence of starting symbols must match exactly the sequence of ending symbols.

Overrides:
getUnpairedRuleStartSymbols in class Language

getUnpairedRuleEndSymbols

public String[] getUnpairedRuleEndSymbols()
Description copied from class: Language
End symbols used by GenericUnpairedBracketsRule.

Overrides:
getUnpairedRuleEndSymbols in class Language
See Also:
Language.getUnpairedRuleStartSymbols()

getSentenceTokenizer

public SentenceTokenizer getSentenceTokenizer()
Description copied from class: Language
Get this language's sentence tokenizer implementation.

Overrides:
getSentenceTokenizer in class Language

getMaintainers

public Contributor[] getMaintainers()
Description copied from class: Language
Get the name(s) of the maintainer(s) for this language or null.

Specified by:
getMaintainers in class Language

getRelevantRules

public List<Class<? extends Rule>> getRelevantRules()
Description copied from class: Language
Get the rules classes that should run for texts in this language.

Specified by:
getRelevantRules in class Language


Copyright © 2005-2011 Daniel Naber