org.jscience.linguistics
Class Phoneme

java.lang.Object
  extended by org.jscience.linguistics.Phoneme

public class Phoneme
extends java.lang.Object

The Phoneme class defines the basic audible units of a language. They are for sound what graphemes are for text. We recommend to use the Unicode IPA codes values.


Constructor Summary
Phoneme(Language language, javax.sound.sampled.Clip clip)
          Creates a new Phoneme object.
Phoneme(Language language, javax.sound.sampled.Clip clip, char character)
          Creates a new Phoneme object.
 
Method Summary
 char getCharacter()
          DOCUMENT ME!
 Language getLanguage()
          DOCUMENT ME!
 javax.sound.sampled.Clip getSound()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Phoneme

public Phoneme(Language language,
               javax.sound.sampled.Clip clip)
Creates a new Phoneme object.

Parameters:
language - DOCUMENT ME!
clip - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

Phoneme

public Phoneme(Language language,
               javax.sound.sampled.Clip clip,
               char character)
Creates a new Phoneme object.

Parameters:
language - DOCUMENT ME!
clip - DOCUMENT ME!
character - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getLanguage

public Language getLanguage()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getSound

public javax.sound.sampled.Clip getSound()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getCharacter

public char getCharacter()
DOCUMENT ME!

Returns:
DOCUMENT ME!