edu.cmu.minorthird.text
Class DefaultAnnotatorLoader

java.lang.Object
  extended by edu.cmu.minorthird.text.AnnotatorLoader
      extended by edu.cmu.minorthird.text.DefaultAnnotatorLoader

public class DefaultAnnotatorLoader
extends AnnotatorLoader

Default version of AnnotatorLoader.

Author:
William Cohen

Constructor Summary
DefaultAnnotatorLoader()
           
 
Method Summary
 java.lang.Class<?> findClassResource(java.lang.String className)
          Find the named resource class - usually an annotator.
 java.io.InputStream findFileResource(java.lang.String fileName)
          Find the named resource file - usually a dictionary or trie for mixup.
 
Methods inherited from class edu.cmu.minorthird.text.AnnotatorLoader
findAnnotator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAnnotatorLoader

public DefaultAnnotatorLoader()
Method Detail

findFileResource

public java.io.InputStream findFileResource(java.lang.String fileName)
Find the named resource file - usually a dictionary or trie for mixup.

Specified by:
findFileResource in class AnnotatorLoader

findClassResource

public java.lang.Class<?> findClassResource(java.lang.String className)
Find the named resource class - usually an annotator.

Specified by:
findClassResource in class AnnotatorLoader