uk.ac.shef.dcs.oak.jate.core.nlptools
Class NLPToolsControllerOpenNLP

java.lang.Object
  extended by 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


Method Summary
 java.lang.Object clone()
           
static NLPToolsControllerOpenNLP getInstance()
           
 opennlp.tools.chunker.Chunker getPhraseChunker()
           
 opennlp.tools.postag.POSTagger getPosTagger()
           
 opennlp.tools.sentdetect.SentenceDetector getSentenceSplitter()
           
 opennlp.tools.tokenize.Tokenizer getTokeniser()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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()