Class/Object

org.clulab.reach.export.indexcards

IndexCardOutput

Related Docs: object IndexCardOutput | package indexcards

Permalink

class IndexCardOutput extends JsonOutputter with LazyLogging

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

Linear Supertypes
LazyLogging, JsonOutputter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IndexCardOutput
  2. LazyLogging
  3. JsonOutputter
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IndexCardOutput()

    Permalink

Value Members

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

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

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

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

    Permalink
  5. def addMeta(f: PropMap, mention: CorefMention, paperId: String, startTime: Date, endTime: Date, otherMetaData: Map[String, String]): Unit

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

    Permalink
  7. def addUnspecifiedMutation(f: PropMap): Unit

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  16. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  17. def mkActivationIndexCard(mention: CorefMention): Option[PropMap]

    Permalink

    Creates a card for an activation event

  18. def mkArgument(arg: CorefMention): Any

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

    Permalink

    Creates a card for a complex-assembly event

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

    Permalink

    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

  21. def mkComplexArgument(complex: CorefMention): FrameList

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

    Permalink

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

  23. def mkEventModification(mention: CorefMention): PropMap

    Permalink
  24. def mkFeatures(arg: CorefMention): FrameList

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

    Permalink
  26. def mkIdentifier(grounding: KBResolution): String

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

    Permalink

    Main annotation dispatcher method.

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

    Permalink

    Return a new filename for each card.

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

    Permalink

    Creates a card for a simple, modification event

  30. def mkMutantFeature(m: Mutant): PropMap

    Permalink
  31. def mkPTMFeature(ptm: PTM): PropMap

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

    Permalink

    Creates a card for a regulation event

  33. def mkSimpleEventIndexCard(mention: CorefMention, label: String): Option[PropMap]

    Permalink

    Creates a card for a simple events

  34. def mkSingleArgument(arg: CorefMention): PropMap

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

    Permalink

    Creates a card for a translocation event

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

    Permalink
    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

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

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

    Permalink

    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
  41. def toJSON(paperId: String, allMentions: Seq[Mention], nxmldoc: NxmlDocument, startTime: Date, endTime: Date, outFilePrefix: String): String

    Permalink

    Returns the given mentions in some JSON-based format, as one big string.

    Returns the given mentions in some JSON-based format, as one big string. Alternate interface: takes document and extracts passages to output mentions. The processing start and stop date/times are given. The output filename prefix is provided for use by the generator routines, as needed.

    Definition Classes
    JsonOutputter
  42. def toString(): String

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

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

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

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

    Permalink

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

    Writes the given mentions to output files in IndexCard 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
  47. def writeJSON(paperId: String, allMentions: Seq[Mention], nxmldoc: NxmlDocument, startTime: Date, endTime: Date, outFilePrefix: String): Unit

    Permalink
    Definition Classes
    JsonOutputter
  48. def writeJSON(paperId: String, allMentions: Seq[Mention], paperPassages: Seq[FriesEntry], startTime: Date, endTime: Date, outFilePrefix: String, assemblyAPI: Assembler): Unit

    Permalink

    Outputs the given mentions to the given output file in some JSON-based format, including additional information from the assembly process.

    Outputs the given mentions to the given output file in some JSON-based format, including additional information from the assembly process. The processing start and stop date/times are given. The output file is given as a prefix, in case outputters choose to generate multiple output files (e.g., see FriesOutput).

    Definition Classes
    JsonOutputter

Inherited from LazyLogging

Inherited from JsonOutputter

Inherited from AnyRef

Inherited from Any

Ungrouped