jcolibri.extensions.textual.stemmer
Enum Stemmer.Language

java.lang.Object
  extended by java.lang.Enum<Stemmer.Language>
      extended by jcolibri.extensions.textual.stemmer.Stemmer.Language
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Stemmer.Language>
Enclosing class:
Stemmer

public static enum Stemmer.Language
extends java.lang.Enum<Stemmer.Language>

Available languages


Enum Constant Summary
DANISH
           
DUTCH
           
ENGLISH
           
FINNISH
           
FRENCH
           
GERMAN
           
ITALIAN
           
NORWEGIAN
           
PORTUGUESE
           
RUSSIAN
           
SPANISH
           
SWEDISH
           
 
Method Summary
static Stemmer.Language valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Stemmer.Language[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DANISH

public static final Stemmer.Language DANISH

DUTCH

public static final Stemmer.Language DUTCH

ENGLISH

public static final Stemmer.Language ENGLISH

FINNISH

public static final Stemmer.Language FINNISH

FRENCH

public static final Stemmer.Language FRENCH

GERMAN

public static final Stemmer.Language GERMAN

ITALIAN

public static final Stemmer.Language ITALIAN

NORWEGIAN

public static final Stemmer.Language NORWEGIAN

PORTUGUESE

public static final Stemmer.Language PORTUGUESE

RUSSIAN

public static final Stemmer.Language RUSSIAN

SPANISH

public static final Stemmer.Language SPANISH

SWEDISH

public static final Stemmer.Language SWEDISH
Method Detail

values

public static Stemmer.Language[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Stemmer.Language c : Stemmer.Language.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Stemmer.Language valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es