This example builder makes edge examples, i.e. examples describing the
event arguments.
|
|
|
|
|
|
|
filterEdgesByType(self,
edges,
typesToInclude) |
source code
|
|
|
|
|
|
|
|
|
isPotentialBBInteraction(self,
e1,
e2,
sentenceGraph) |
source code
|
|
|
|
|
isPotentialBIInteraction(self,
e1,
e2,
sentenceGraph,
stats) |
source code
|
|
|
isPotentialEPIInteraction(self,
e1,
e2,
sentenceGraph) |
source code
|
|
|
isPotentialIDInteraction(self,
e1,
e2,
sentenceGraph) |
source code
|
|
|
isPotentialCOInteraction(self,
e1,
e2,
sentenceGraph) |
source code
|
|
|
|
|
getGoldCategoryName(self,
goldGraph,
entityToGold,
e1,
e2,
directed=True) |
source code
|
|
|
|
|
|
|
buildExample(self,
token1,
token2,
paths,
sentenceGraph,
categoryName,
exampleIndex,
entity1=None,
entity2=None)
Build a single directed example for the potential edge between token1
and token2 |
source code
|
|
Inherited from ExampleBuilders.ExampleBuilder.ExampleBuilder :
calculatePredictedRange ,
getElementCounts ,
getParameters ,
getSentences ,
processCorpus ,
processDocument ,
processSentence ,
saveIds ,
setFeature
Inherited from ExampleBuilders.ExampleBuilder.ExampleBuilder (private):
_setDefaultParameters
|