Package edu.fiu.jtlex
Interface IAdaptor
- All Known Implementing Classes:
Adaptor
public interface IAdaptor
Adaptor for ANAnSI to TimeML
- Author:
- arada002
-
Method Summary
Modifier and TypeMethodDescriptionA method that takes ANAnSI master data structure as parameter and converts it to TimeMl master data structure.voidconvertLinguisticEvent(ILinguisticEvent linguisticEvent)A method that converts ANAnSI linguistic event to appropriate TimeML objects and adds them to appropriate sets.voidconvertRel(IRel rel)A method that converts ANAnSI relationship to equivalent TimeML link object and adds it to the set of links.voidconvertTemporalNode(ITemporalNode temporalNode)A method that converts ANAnSI temporal node to TimeML Timex object and adds it to the set of timexes.
-
Method Details
-
convert
A method that takes ANAnSI master data structure as parameter and converts it to TimeMl master data structure.- Parameters:
aData- (ANAnSI master data structure)- Returns:
- IText object (TimeML master data structure)
-
convertLinguisticEvent
A method that converts ANAnSI linguistic event to appropriate TimeML objects and adds them to appropriate sets.- Parameters:
linguisticEvent- (linguistic event object)
-
convertTemporalNode
A method that converts ANAnSI temporal node to TimeML Timex object and adds it to the set of timexes. -
convertRel
A method that converts ANAnSI relationship to equivalent TimeML link object and adds it to the set of links.- Parameters:
rel- (ANAnSI relation)
-