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 Type
    Method
    Description
    convert​(IAText aData)
    A method that takes ANAnSI master data structure as parameter and converts it to TimeMl master data structure.
    void
    A method that converts ANAnSI linguistic event to appropriate TimeML objects and adds them to appropriate sets.
    void
    convertRel​(IRel rel)
    A method that converts ANAnSI relationship to equivalent TimeML link object and adds it to the set of links.
    void
    A method that converts ANAnSI temporal node to TimeML Timex object and adds it to the set of timexes.
  • Method Details

    • convert

      IText convert​(IAText aData)
      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

      void convertLinguisticEvent​(ILinguisticEvent linguisticEvent)
      A method that converts ANAnSI linguistic event to appropriate TimeML objects and adds them to appropriate sets.
      Parameters:
      linguisticEvent - (linguistic event object)
    • convertTemporalNode

      void convertTemporalNode​(ITemporalNode temporalNode)
      A method that converts ANAnSI temporal node to TimeML Timex object and adds it to the set of timexes.
    • convertRel

      void convertRel​(IRel rel)
      A method that converts ANAnSI relationship to equivalent TimeML link object and adds it to the set of links.
      Parameters:
      rel - (ANAnSI relation)