Object

org.clulab.reach.export.apis

ApiRuler

Related Doc: package apis

Permalink

object ApiRuler

External interface class to accept and process text strings and NXML documents, returning REACH results in either FRIES or IndexCard JSON format. Last modified: Recognize some aliases for Arizona TSV output format in the API (v2).

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApiRuler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Response = Map[String, Any]

    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 annotateEntry(entry: FriesEntry, outFormat: String): Response

    Permalink

    Annotates a single FriesEntry and returns a response.

  5. def annotateNxml(nxml: String, outFormat: String): Response

    Permalink

    Extracts raw text from given nxml and returns a response with all the mentions.

  6. def annotateText(text: String, docId: String = prefix, chunkId: String = suffix, outFormat: String = "fries"): Response

    Permalink

    annotates some text by converting it to a FriesEntry and calling annotateEntry().

  7. def annotateText(text: String, outFormat: String): Response

    Permalink

    Annotates some text by converting it to a FriesEntry and calling annotateEntry().

    Annotates some text by converting it to a FriesEntry and calling annotateEntry(). Uses fake document ID and chunk ID.

  8. val apiRequestCntr: IncrementingId

    Permalink
  9. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val config: Config

    Permalink
  12. val encoding: String

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. val friesOutputter: FriesOutput

    Permalink
  17. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. val ignoreSections: List[String]

    Permalink
  20. val indexCardOutputter: IndexCardOutput

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def mkResponse(entries: Seq[FriesEntry], lazyMentions: ⇒ Seq[Mention], outFormat: String): Response

    Permalink

    Gets a sequence of FriesEntries and their extracted mentions (by name) and constructs a Response.

  23. def mkResponse(nxmlDoc: NxmlDocument, lazyMentions: ⇒ Seq[Mention], outFormat: String): Response

    Permalink

    Gets a sequence of FriesEntries and their extracted mentions (by name) and constructs a Response.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  27. val reach: ReachSystem

    Permalink
  28. val reader: NxmlReader

    Permalink
  29. val serialOutputter: SerialJsonOutput

    Permalink
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped