org.nlp2rdf.annotator
Class StanfordTokenizer
java.lang.Object
org.nlp2rdf.annotator.StanfordTokenizer
- All Implemented Interfaces:
- org.nlp2rdf.core.Tokenizer
public class StanfordTokenizer
- extends Object
- implements org.nlp2rdf.core.Tokenizer
- Author:
- Sebastian Hellmann - http://bis.informatik.uni-leipzig.de/SebastianHellmann
|
Constructor Summary |
StanfordTokenizer(edu.stanford.nlp.pipeline.Annotation annotatedDocument)
|
StanfordTokenizer
public StanfordTokenizer(edu.stanford.nlp.pipeline.Annotation annotatedDocument)
detectSentences
public opennlp.tools.util.Span[] detectSentences(String text)
- Specified by:
detectSentences in interface org.nlp2rdf.core.Tokenizer
detectWords
public opennlp.tools.util.Span[] detectWords(String sentence)
- Specified by:
detectWords in interface org.nlp2rdf.core.Tokenizer
Copyright © 2011. All Rights Reserved.