opennlp.leo.regulus.tug
Class Word

java.lang.Object
  |
  +--opennlp.leo.regulus.tug.Word
All Implemented Interfaces:
Constituent

public class Word
extends java.lang.Object
implements Constituent

Java representation of a simple word.

Version:
$Revision: 1.1.1.1 $, $Date: 2001/10/22 11:12:36 $
Author:
Jason Baldridge

Constructor Summary
Word(org.jdom.Element e)
           
Word(PAtom pa)
           
Word(java.lang.String s)
           
 
Method Summary
 java.lang.String getType()
           
 java.lang.String toProlog()
           
 java.lang.String toXml(java.lang.String tab)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Word

public Word(org.jdom.Element e)

Word

public Word(PAtom pa)

Word

public Word(java.lang.String s)
Method Detail

getType

public java.lang.String getType()
Specified by:
getType in interface Constituent

toProlog

public java.lang.String toProlog()
Specified by:
toProlog in interface Constituent

toXml

public java.lang.String toXml(java.lang.String tab)
Specified by:
toXml in interface Constituent


Copyright © 2002 Research Institute for Advanced Computer Science. All Rights Reserved.