org.nlp2rdf.core.impl
Class OpenNLPTokenizer
java.lang.Object
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
OpenNLPTokenizer
public OpenNLPTokenizer()
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.