Object

org.clulab.reach.grounding

ReachKBUtils

Related Doc: package grounding

Permalink

object ReachKBUtils

Support methods for writing local KB accessors. Written by Tom Hicks. 10/23/2015. Last Modified: Modify methods to use species name sets.

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

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. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def isFamilyGrounded(mention: BioMention): Boolean

    Permalink

    Tell whether the given mention is grounded from a protein family KB or not.

  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def isProteinGrounded(mention: BioMention): Boolean

    Permalink

    Tell whether the given mention is grounded from a protein KB or not.

  14. def makeFileInKBDir(filename: String): File

    Permalink

    Return a file for the given filename in the knowledge bases directory.

  15. def makeFileInUserDir(filename: String): File

    Permalink

    Return a file for the given filename in the current user working directory.

  16. def makeNamespaceId(namespace: String, id: String): String

    Permalink

    Return a formatted string containing this entry's namespace and ID.

  17. def makePathInKBDir(filename: String): String

    Permalink

    Return a resource path string for the given filename in the knowledge bases directory.

  18. def makePathInUserDir(filename: String): String

    Permalink

    Return a path string for the given filename in the current user working directory.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def orderResolutions(resSeq: Seq[KBResolution]): Seq[KBResolution]

    Permalink

    Return given sequence of resolutions ordered in the application default manner.

  23. def readLines(filename: String): List[String]

    Permalink

    Read and return all the lines from the specified file.

  24. def selectASpecies(resSeq: Seq[KBResolution], species: String): Seq[KBResolution]

    Permalink

    Filter sequence to return only resolutions (sorted) with the given species.

  25. def selectByNotSpecies(resSeq: Seq[KBResolution], species: Speciated.SpeciesNameSet): Seq[KBResolution]

    Permalink

    Filter sequence to return only resolutions (sorted) without a species in the given set.

  26. def selectBySpecies(resSeq: Seq[KBResolution], species: Speciated.SpeciesNameSet): Seq[KBResolution]

    Permalink

    Filter sequence to return only resolutions (sorted) with a species in the given set.

  27. def selectHuman(resSeq: Seq[KBResolution]): Seq[KBResolution]

    Permalink

    Filter sequence to return human resolutions (sorted).

  28. def selectNoSpecies(resSeq: Seq[KBResolution]): Seq[KBResolution]

    Permalink

    Filter sequence to return resolutions which have no species.

  29. def selectNotASpecies(resSeq: Seq[KBResolution], species: String): Seq[KBResolution]

    Permalink

    Filter sequence to return only resolutions (sorted) without the given species.

  30. def selectNotHuman(resSeq: Seq[KBResolution]): Seq[KBResolution]

    Permalink

    Filter sequence to return only resolutions (sorted) with a non-human species.

  31. def sourceFromResource(resourcePath: String): Source

    Permalink

    Return a Scala Source object created from the given resource path string.

    Return a Scala Source object created from the given resource path string. If the resource path ends with ".gz" the source is created around a gzip input stream.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. def tsvRowToFields(row: String): Seq[String]

    Permalink

    Convert a single row string from a TSV file to a sequence of string fields.

  35. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped