edu.arizona.sista.reach.extern.export.indexcards

IndexCardOutput

Related Docs: object IndexCardOutput | package indexcards

class IndexCardOutput extends JsonOutputter

Defines classes and methods used to build and output the index card format. Written by: Mihai Surdeanu. 8/27/2015. Last Modified: Update for grounding changes.

Linear Supertypes
JsonOutputter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IndexCardOutput
  2. JsonOutputter
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IndexCardOutput()

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def addLocation(f: PropMap, prefix: String, loc: CorefMention): Unit

  5. def addMeta(f: PropMap, mention: CorefMention, paperId: String, startTime: Date, endTime: Date): Unit

  6. def addMutation(f: PropMap, base: String, site: Int): Unit

  7. def addUnspecifiedMutation(f: PropMap): Unit

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def mkActivationIndexCard(mention: CorefMention): Option[PropMap]

    Creates a card for an activation event

  17. def mkArgument(arg: CorefMention): Any

  18. def mkBindingIndexCard(mention: CorefMention): Option[PropMap]

    Creates a card for a complex-assembly event

  19. def mkCards(paperId: String, allMentions: Seq[Mention], startTime: Date, endTime: Date): Iterable[PropMap]

    Creates annotations from all events read from this paper.

    Creates annotations from all events read from this paper. This needs to be done in 2 passes: 1) save recursive events 2) save simple events that are not part of recursive events

  20. def mkComplexArgument(complex: CorefMention): FrameList

  21. def mkContext(f: PropMap, mention: CorefMention): Unit

    Add the properties of the given context map to the given property map.

  22. def mkEventModification(mention: CorefMention): PropMap

  23. def mkFeatures(arg: CorefMention): FrameList

  24. def mkHedging(f: PropMap, mention: CorefMention): Unit

  25. def mkIdentifier(grounding: KBResolution): String

  26. def mkIndexCard(mention: CorefMention): Option[PropMap]

    Main annotation dispatcher method.

  27. def mkIndexCardFileName(paperId: String, count: Int): String

    Return a new filename for each card.

  28. def mkModificationIndexCard(mention: CorefMention, positiveModification: Boolean = true): Option[PropMap]

    Creates a card for a simple, modification event

  29. def mkMutantFeature(m: Mutant): PropMap

  30. def mkPTMFeature(ptm: PTM): PropMap

  31. def mkRegulationIndexCard(mention: CorefMention, simpleEventsInRegs: HashSet[Mention]): Option[PropMap]

    Creates a card for a regulation event

  32. def mkSingleArgument(arg: CorefMention): PropMap

  33. def mkTranslocationIndexCard(mention: CorefMention): Option[PropMap]

    Creates a card for a translocation event

  34. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toJSON(paperId: String, allMentions: Seq[Mention], paperPassages: Seq[FriesEntry], startTime: Date, endTime: Date, outFilePrefix: String): String

    Returns the given mentions in the index-card JSON format, as one big string.

    Returns the given mentions in the index-card JSON format, as one big string. All index cards are concatenated into a single JSON string.

    Definition Classes
    IndexCardOutputJsonOutputter
  39. def toString(): String

    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def writeJSON(paperId: String, allMentions: Seq[Mention], paperPassages: Seq[FriesEntry], startTime: Date, endTime: Date, outFilePrefix: String): Unit

    Writes the given mentions to output files in Fries JSON format.

    Writes the given mentions to output files in Fries JSON format. Separate output files are written for sentences, entities, and events. Each output file is prefixed with the given prefix string.

    Definition Classes
    IndexCardOutputJsonOutputter

Inherited from JsonOutputter

Inherited from AnyRef

Inherited from Any

Ungrouped