Package TEES :: Package Evaluators :: Module EvaluateInteractionXML
[hide private]

Module EvaluateInteractionXML

source code

For comparing a predicted interaction XML against a gold standard

Functions [hide private]
 
compareEntitiesSimple(e1, e2, tokens=None) source code
 
compareEntitiesStrict(e1, e2, tokens=None) source code
 
compareEntitiesByGENIARelaxedOffsetMethod(e1, e2, tokens) source code
 
mapEntities(entitiesFrom, entitiesTo, tokens=None, compareFunction=<function compareEntitiesSimple at 0xad3f994>) source code
 
getEventPredictions(entityMap, allGoldEntities, interactionMap, classSet, negativeClassId) source code
 
getEntityPredictions(entityMap, targetEntities, classSet, negativeClassId) source code
 
getInteractionPredictions(interactionsFrom, interactionsTo, entityMap, classSet, negativeClassId) source code
 
processDocument(fromDocumentSentences, toDocumentSentences, target, classSets, negativeClassId, entityMatchFunction) source code
 
processCorpora(EvaluatorClass, fromCorpus, toCorpus, target, classSets, negativeClassId, entityMatchFunction) source code
 
run(EvaluatorClass, inputCorpusFile, goldCorpusFile, parse, tokenization=None, target='both', entityMatchFunction=<function compareEntitiesSimple at 0xad3f994>, removeIntersentenceInteractions=False) source code
Variables [hide private]
  __package__ = 'TEES.Evaluators'