gate.creole.nerc
Class Nerc

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--gate.creole.SerialController
                          |
                          +--gate.creole.nerc.Nerc
All Implemented Interfaces:
Cloneable, Collection, Controller, FeatureBearer, List, ProcessingResource, Resource, Runnable, Serializable

public class Nerc
extends SerialController

NERC stands for Named-Entity Recognition Component. This class wraps various of GATE's builtin CREOLE components to form an NE recogniser.

See Also:
Serialized Form

Constructor Summary
Nerc()
           
 
Method Summary
 void addProgressListener(ProgressListener l)
           
 void addStatusListener(StatusListener l)
           
 Document getDocument()
           
 String getEncoding()
           
 URL getGazetteerListsURL()
           
 URL getJapeGrammarURL()
           
 String getTempAnnotationSetName()
           
 URL getTokeniserRulesURL()
           
 Resource init()
          Initialise this resource, and return it.
 void removeProgressListener(ProgressListener l)
           
 void removeStatusListener(StatusListener l)
           
 void run()
          Run the Processing Resources in sequence.
 void setDocument(Document newDocument)
           
 void setEncoding(String newEncoding)
           
 void setGazetteerListsURL(URL newGazetteerListsURL)
           
 void setJapeGrammarURL(URL newJapeGrammarURL)
           
 void setTempAnnotationSetName(String newTempAnnotationSetName)
           
 void setTokeniserRulesURL(URL newTokeniserRulesURL)
           
 
Methods inherited from class gate.creole.SerialController
check, equals, getFeatures, getName, reInit, setFeatures, setName, setRuntimeParameters
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

Nerc

public Nerc()
Method Detail

init

public Resource init()
              throws ResourceInstantiationException
Initialise this resource, and return it.
Overrides:
init in class SerialController

run

public void run()
Description copied from class: SerialController
Run the Processing Resources in sequence.
Overrides:
run in class SerialController

setTokeniserRulesURL

public void setTokeniserRulesURL(URL newTokeniserRulesURL)

getTokeniserRulesURL

public URL getTokeniserRulesURL()

setGazetteerListsURL

public void setGazetteerListsURL(URL newGazetteerListsURL)

getGazetteerListsURL

public URL getGazetteerListsURL()

setJapeGrammarURL

public void setJapeGrammarURL(URL newJapeGrammarURL)

getJapeGrammarURL

public URL getJapeGrammarURL()

setEncoding

public void setEncoding(String newEncoding)

getEncoding

public String getEncoding()

setDocument

public void setDocument(Document newDocument)

getDocument

public Document getDocument()

removeProgressListener

public void removeProgressListener(ProgressListener l)

addProgressListener

public void addProgressListener(ProgressListener l)

removeStatusListener

public void removeStatusListener(StatusListener l)

addStatusListener

public void addStatusListener(StatusListener l)

setTempAnnotationSetName

public void setTempAnnotationSetName(String newTempAnnotationSetName)

getTempAnnotationSetName

public String getTempAnnotationSetName()