index
module components.evita.wrapper
EvitaWrapper
Contains the Evita wrapper.
class EvitaWrapper
Inherits from: object
Wrapper for Evita.
Public Functions
__init__(self, document)
Sets instance variables.
process(self)
Hand in all document elements to Evita for processing. Document
elements are instances of Tag with name=docelement.
Private Functions
_evaluate_results(self, imported_events)
Simplistic evaluation of how many of the imported events actually end
up as events. Loops through all the events that should be imported and
checks whether one of its offsets is actually part of an event found by
the system.
_import_events(self)
Returns a dictionary of events. The dictionary is indexed on character
offsets where a character occurs in the keys if it is included in the
span of an event. This is to import events from tags that were available
in the source_tags repository prior to the TTK pipeline application.
module functions