edu.washington.cs.knowitall.util
Class DefaultObjects
java.lang.Object
edu.washington.cs.knowitall.util.DefaultObjects
public class DefaultObjects
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultObjects
public DefaultObjects()
getResourceAsStream
public static java.io.InputStream getResourceAsStream(java.lang.String resource)
throws java.io.IOException
- Throws:
java.io.IOException
initializeNlpTools
public static void initializeNlpTools()
throws java.io.IOException
- Throws:
java.io.IOException
getDefaultConfClassifier
public static weka.classifiers.Classifier getDefaultConfClassifier()
throws java.io.IOException
- Throws:
java.io.IOException
getDefaultTokenizer
public static opennlp.tools.tokenize.Tokenizer getDefaultTokenizer()
throws java.io.IOException
- Throws:
java.io.IOException
getDefaultPosTagger
public static opennlp.tools.postag.POSTagger getDefaultPosTagger()
throws java.io.IOException
- Throws:
java.io.IOException
getDefaultChunker
public static opennlp.tools.chunker.Chunker getDefaultChunker()
throws java.io.IOException
- Throws:
java.io.IOException
getDefaultSentenceDetector
public static opennlp.tools.sentdetect.SentenceDetector getDefaultSentenceDetector()
throws java.io.IOException
- Throws:
java.io.IOException
addDefaultSentenceFilters
public static void addDefaultSentenceFilters(SentenceExtractor extractor)
getDefaultSentenceExtractor
public static SentenceExtractor getDefaultSentenceExtractor()
throws java.io.IOException
- Throws:
java.io.IOException
getDefaultHtmlSentenceExtractor
public static HtmlSentenceExtractor getDefaultHtmlSentenceExtractor()
throws java.io.IOException
- Throws:
java.io.IOException
getDefaultSentenceReader
public static ChunkedSentenceReader getDefaultSentenceReader(java.io.Reader in)
throws java.io.IOException
- Throws:
java.io.IOException
getDefaultSentenceReaderHtml
public static ChunkedSentenceReader getDefaultSentenceReaderHtml(java.io.Reader in)
throws java.io.IOException
- Throws:
java.io.IOException