org.jscience.linguistics
Class Grapheme

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

public class Grapheme
extends java.lang.Object

The Grapheme class is the minimal text unit. English letters are common graphemes.


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

Constructor Detail

Grapheme

public Grapheme(Language language,
                char character)
Creates a new Grapheme object.

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

getLanguage

public Language getLanguage()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getCharacter

public char getCharacter()
DOCUMENT ME!

Returns:
DOCUMENT ME!