|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gate.util.AbstractFeatureBearer gate.creole.AbstractResource gate.creole.AbstractProcessingResource gate.creole.AbstractLanguageAnalyser gate.creole.coref.PronominalCoref
public class PronominalCoref
Nested Class Summary |
---|
Nested classes/interfaces inherited from class gate.creole.AbstractProcessingResource |
---|
AbstractProcessingResource.InternalStatusListener, AbstractProcessingResource.IntervalProgressListener |
Field Summary | |
---|---|
static String |
COREF_ANN_SET_PARAMETER_NAME
|
static String |
COREF_DOCUMENT_PARAMETER_NAME
|
Fields inherited from class gate.creole.AbstractLanguageAnalyser |
---|
corpus, document |
Fields inherited from class gate.creole.AbstractProcessingResource |
---|
interrupted |
Fields inherited from class gate.creole.AbstractResource |
---|
name |
Fields inherited from class gate.util.AbstractFeatureBearer |
---|
features |
Constructor Summary | |
---|---|
PronominalCoref()
--- |
Method Summary | |
---|---|
void |
execute()
This method runs the coreferencer. |
String |
getAnnotationSetName()
--- |
String |
getBenchmarkId()
Returns the benchmark ID of this resource. |
String |
getInanimatedEntityTypes()
|
HashMap |
getResolvedAnaphora()
--- |
Boolean |
getResolveIt()
--- |
Resource |
init()
Initialise this resource, and return it. |
void |
reInit()
Reinitialises the processing resource. |
void |
setAnnotationSetName(String annotationSetName)
--- |
void |
setBenchmarkId(String benchmarkId)
This method sets the benchmarkID for this resource. |
void |
setDocument(Document newDocument)
Set the document to run on. |
void |
setInanimatedEntityTypes(String inanimatedEntityTypes)
|
void |
setResolveIt(Boolean newValue)
--- |
Methods inherited from class gate.creole.AbstractLanguageAnalyser |
---|
getCorpus, getDocument, setCorpus |
Methods inherited from class gate.creole.AbstractProcessingResource |
---|
addProgressListener, addStatusListener, cleanup, fireProcessFinished, fireProgressChanged, fireStatusChanged, getRuntimeParameterValues, getRuntimeParameterValues, interrupt, isInterrupted, removeProgressListener, removeStatusListener |
Methods inherited from class gate.creole.AbstractResource |
---|
checkParameterValues, getBeanInfo, getInitParameterValues, getInitParameterValues, getName, getParameterValue, getParameterValue, getParameterValues, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners |
Methods inherited from class gate.util.AbstractFeatureBearer |
---|
getFeatures, setFeatures |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gate.Resource |
---|
cleanup, getParameterValue, setParameterValue, setParameterValues |
Methods inherited from interface gate.util.FeatureBearer |
---|
getFeatures, setFeatures |
Methods inherited from interface gate.util.NameBearer |
---|
getName, setName |
Methods inherited from interface gate.Executable |
---|
interrupt, isInterrupted |
Field Detail |
---|
public static final String COREF_DOCUMENT_PARAMETER_NAME
public static final String COREF_ANN_SET_PARAMETER_NAME
Constructor Detail |
---|
public PronominalCoref()
Method Detail |
---|
public Resource init() throws ResourceInstantiationException
init
in interface Resource
init
in class AbstractProcessingResource
ResourceInstantiationException
public void reInit() throws ResourceInstantiationException
reInit
in interface ProcessingResource
reInit
in class AbstractProcessingResource
ResourceInstantiationException
public void setDocument(Document newDocument)
setDocument
in interface LanguageAnalyser
setDocument
in class AbstractLanguageAnalyser
public void setAnnotationSetName(String annotationSetName)
public String getAnnotationSetName()
public void setResolveIt(Boolean newValue)
public Boolean getResolveIt()
public void execute() throws ExecutionException
execute
in interface Executable
execute
in class AbstractProcessingResource
ExecutionException
public HashMap getResolvedAnaphora()
public String getInanimatedEntityTypes()
public void setInanimatedEntityTypes(String inanimatedEntityTypes)
public String getBenchmarkId()
Benchmarkable
getBenchmarkId
in interface Benchmarkable
public void setBenchmarkId(String benchmarkId)
Benchmarkable
setBenchmarkId
in interface Benchmarkable
benchmarkId
- the benchmark ID, which must not contain spaces
as it is already used as a separator in the log, you can use
Benchmark.createBenchmarkId(String, String)
for it.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |