org.nlp2rdf.implementation.opennlp
Class OpenNLPTokenizer

java.lang.Object
  extended by org.nlp2rdf.implementation.opennlp.OpenNLPTokenizer

public class OpenNLPTokenizer
extends Object


Field Summary
static String RESOURCEPATH
           
 
Constructor Summary
OpenNLPTokenizer()
           
 
Method Summary
 Span[] detectSentences(String text)
           
 Span[] detectWords(String sentence)
           
 TreeMap<Span,List<Span>> tokenizeText(String text)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCEPATH

public static final String RESOURCEPATH
See Also:
Constant Field Values
Constructor Detail

OpenNLPTokenizer

public OpenNLPTokenizer()
Method Detail

tokenizeText

public TreeMap<Span,List<Span>> tokenizeText(String text)

detectSentences

public Span[] detectSentences(String text)

detectWords

public Span[] detectWords(String sentence)


Copyright © 2011. All Rights Reserved.