de.tudarmstadt.ukp.jwktl.api
Enum IPronunciation.PronunciationType

java.lang.Object
  extended by java.lang.Enum<IPronunciation.PronunciationType>
      extended by de.tudarmstadt.ukp.jwktl.api.IPronunciation.PronunciationType
All Implemented Interfaces:
Serializable, Comparable<IPronunciation.PronunciationType>
Enclosing interface:
IPronunciation

public static enum IPronunciation.PronunciationType
extends Enum<IPronunciation.PronunciationType>

Types of different pronunciation information used by IPronunciation.getType().


Enum Constant Summary
AUDIO
          Audio file of this pronunciation.
IPA
          International Phonetic Alphabet
RHYME
          Suffix used to identify rhymes.
SAMPA
          Speech Assessment Methods Phonetic Alphabet
 
Method Summary
static IPronunciation.PronunciationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IPronunciation.PronunciationType[] 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

IPA

public static final IPronunciation.PronunciationType IPA
International Phonetic Alphabet


SAMPA

public static final IPronunciation.PronunciationType SAMPA
Speech Assessment Methods Phonetic Alphabet


AUDIO

public static final IPronunciation.PronunciationType AUDIO
Audio file of this pronunciation.


RHYME

public static final IPronunciation.PronunciationType RHYME
Suffix used to identify rhymes.

Method Detail

values

public static IPronunciation.PronunciationType[] 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 (IPronunciation.PronunciationType c : IPronunciation.PronunciationType.values())
    System.out.println(c);

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

valueOf

public static IPronunciation.PronunciationType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.