uk.ac.shef.dcs.oak.jate.core.nlptools
Class NLPToolsControllerOpenNLP
java.lang.Object
uk.ac.shef.dcs.oak.jate.core.nlptools.NLPToolsControllerOpenNLP
public class NLPToolsControllerOpenNLP
- extends java.lang.Object
A singleton class which controls creation and dispatches of OpenNLP tools
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static NLPToolsControllerOpenNLP getInstance()
throws java.io.IOException
- Throws:
java.io.IOException
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
getPosTagger
public opennlp.tools.postag.POSTagger getPosTagger()
getPhraseChunker
public opennlp.tools.chunker.Chunker getPhraseChunker()
getSentenceSplitter
public opennlp.tools.sentdetect.SentenceDetector getSentenceSplitter()
getTokeniser
public opennlp.tools.tokenize.Tokenizer getTokeniser()