org.nlp2rdf.core.impl
Class OpenNLPTokenizer

java.lang.Object
  extended by org.nlp2rdf.core.impl.OpenNLPTokenizer
All Implemented Interfaces:
Tokenizer

public class OpenNLPTokenizer
extends Object
implements Tokenizer

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


Constructor Summary
OpenNLPTokenizer()
           
 
Method Summary
 opennlp.tools.util.Span[] detectSentences(String text)
           
 opennlp.tools.util.Span[] detectWords(String sentence)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenNLPTokenizer

public OpenNLPTokenizer()
Method Detail

detectSentences

public opennlp.tools.util.Span[] detectSentences(String text)
Specified by:
detectSentences in interface Tokenizer

detectWords

public opennlp.tools.util.Span[] detectWords(String sentence)
Specified by:
detectWords in interface Tokenizer


Copyright © 2011. All Rights Reserved.