org.nlp2rdf.core
Class WordPOJO

java.lang.Object
  extended by org.nlp2rdf.core.WordPOJO

public class WordPOJO
extends Object

Author:
Sebastian Hellmann - http://bis.informatik.uni-leipzig.de/SebastianHellmann

This is a data collection class (Plain Old Java Object) with no functionality. It is used to decouple tokenization from RDF generation.


Constructor Summary
WordPOJO()
           
 
Method Summary
 opennlp.tools.util.Span getSpan()
           
 String getText()
           
 String getUri()
           
 Word getWord()
           
 void setSpan(opennlp.tools.util.Span span)
           
 void setText(String text)
           
 void setUri(String uri)
           
 void setWord(Word word)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordPOJO

public WordPOJO()
Method Detail

getSpan

public opennlp.tools.util.Span getSpan()

setSpan

public void setSpan(opennlp.tools.util.Span span)

getText

public String getText()

setText

public void setText(String text)

getUri

public String getUri()

setUri

public void setUri(String uri)

getWord

public Word getWord()

setWord

public void setWord(Word word)


Copyright © 2011. All Rights Reserved.