Trait/Object

org.clulab.reach.grounding

ReachKBKeyTransforms

Related Docs: object ReachKBKeyTransforms | package grounding

Permalink

trait ReachKBKeyTransforms extends KBKeyTransforms

REACH-related methods for transforming mentions and text strings into potential keys for lookup in KBs. Written by Tom Hicks. 11/10/2015. Last Modified: A little smarter gene name affix stripping.

Linear Supertypes
KBKeyTransforms, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReachKBKeyTransforms
  2. KBKeyTransforms
  3. AnyRef
  4. 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. def applyAllTransforms(transformFns: KeyTransforms, text: String): KeyCandidates

    Permalink

    Apply the given key transforms to the given string, returning a (possibly empty) sequence of potential key strings.

    Apply the given key transforms to the given string, returning a (possibly empty) sequence of potential key strings.

    Definition Classes
    KBKeyTransforms
  5. def applyTransform(transformFn: KeyTransformFn, texts: Seq[String]): KeyCandidates

    Permalink

    Apply the given transform function to the given texts, return any non-empty result strings.

    Apply the given transform function to the given texts, return any non-empty result strings.

    Definition Classes
    KBKeyTransforms
  6. def applyTransform(transformFn: KeyTransformFn, text: String): KeyCandidates

    Permalink

    Apply the given transform function to the given text, return any non-empty result strings.

    Apply the given transform function to the given text, return any non-empty result strings.

    Definition Classes
    KBKeyTransforms
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def canonicalKT(text: String): KeyCandidates

    Permalink

    A key transform which implements a canonicalization function for Strings.

  9. def canonicalKey(text: String): String

    Permalink

    Canonicalize the given text string into a key for both storage and lookup.

  10. def clone(): AnyRef

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def identityKT(text: String): KeyCandidates

    Permalink

    A key transform which implements an Identity function for Strings.

    A key transform which implements an Identity function for Strings.

    Definition Classes
    KBKeyTransforms
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def lowercaseKT(text: String): KeyCandidates

    Permalink

    A key transform which implements a minimal canonicalization function for Strings.

    A key transform which implements a minimal canonicalization function for Strings.

    Definition Classes
    KBKeyTransforms
  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 stripAllKeysSuffixes(text: String): String

    Permalink

    Remove suffixes from all keys candidates.

  23. def stripAllSuffixes(suffixes: Seq[String], text: String): String

    Permalink

    Try to remove all of the suffixes in the given set from the given text.

    Try to remove all of the suffixes in the given set from the given text.

    Definition Classes
    KBKeyTransforms
  24. def stripAllSuffixesKT(suffixes: Seq[String], text: String): KeyCandidates

    Permalink

    Try to remove all of the suffixes in the given set from the given text.

    Try to remove all of the suffixes in the given set from the given text.

    Definition Classes
    KBKeyTransforms
  25. def stripFamilyPostAttributivesKT(text: String): KeyCandidates

    Permalink

    Return the portion of the text string minus one of the protein family postpositional attributives, if found in the given text string, else return no candidates.

  26. def stripGeneNameAffixesKT(text: String): KeyCandidates

    Permalink

    Try to remove some specific affixes from the given hyphenated text and return a dash-concatenated string of non-affixes, or no candidates if no affixes removed.

  27. def stripMutantProteinKT(text: String): KeyCandidates

    Permalink

    Return the portion of the text string before a trailing mutation phrase, if found in the given text string, else return no candidates.

  28. def stripOrganPostAttributivesKT(text: String): KeyCandidates

    Permalink

    Return the portion of the text string minus one of the organ-cell-type suffixes, if found in the given text string, else return no candidates.

  29. def stripPTMPrefixesKT(text: String): KeyCandidates

    Permalink

    Return the portion of the text string minus any of the PTM-related prefixes, if found in the given text string, else return no candidates.

  30. def stripProteinDomainKT(text: String): KeyCandidates

    Permalink

    Check for hyphen-separated strings where the RHS is a protein domain specification.

    Check for hyphen-separated strings where the RHS is a protein domain specification. Extract and return the candidate text portion, else return no candidates.

  31. def stripProteinPostAttributivesKT(text: String): KeyCandidates

    Permalink

    Return the portion of the text string minus one of the protein postpositional attributives, if found in the given text string, else return no candidates.

  32. def stripSuffixByPattern(pattern: Regex, text: String): String

    Permalink

    Remove suffix(es) matching given pattern from text, return matched part or text.

    Remove suffix(es) matching given pattern from text, return matched part or text. Trims matching part or text as a side effect.

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

    Permalink
    Definition Classes
    AnyRef
  34. def toKeyCandidates(candidates: Seq[String]): KeyCandidates

    Permalink

    Transform the given sequence of strings into (a possibly empty) key candidates.

    Transform the given sequence of strings into (a possibly empty) key candidates.

    Definition Classes
    KBKeyTransforms
  35. def toKeyCandidates(text: String): KeyCandidates

    Permalink

    Transform the given string into (a possibly empty) key candidates.

    Transform the given string into (a possibly empty) key candidates.

    Definition Classes
    KBKeyTransforms
  36. def toString(): String

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

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

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

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

Inherited from KBKeyTransforms

Inherited from AnyRef

Inherited from Any

Ungrouped