Object

org.clulab.reach.assembly.relations.classifier

FeatureExtractor

Related Doc: package classifier

Permalink

object FeatureExtractor

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FeatureExtractor
  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. def addFeaturePrefix(prefix: String, features: Seq[String]): Seq[String]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def checkArgumentsForResolutions(m: Mention): Seq[String]

    Permalink
  7. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def findClosestConnectedTokens(src: Mention, dst: Mention): (Int, Int, Int)

    Permalink

    Find the two tokens that anchor the shortest syntactic path between two mentions

  12. def findEntities(m: Mention): Seq[Mention]

    Permalink

    find all entities in a mention

  13. def getArgStats(m: Mention): Seq[String]

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getCorefFeatures(m: Mention, support: Seq[Mention] = Nil): Seq[String]

    Permalink
  16. def getCrossSentenceSyntacticPaths(m1: Mention, m2: Mention): Seq[String]

    Permalink

    get concatenation of root paths for two mentions

  17. def getDependencyRelations(m: Mention): Seq[String]

    Permalink
  18. def getIncomingDependencyRelations(m: Mention): Seq[String]

    Permalink
  19. def getIncomingDependencyRelations(start: Int, end: Int, s: Sentence): Seq[String]

    Permalink

    get incoming dependency relations for the given span

  20. def getLabelFeatures(m: Mention): Seq[String]

    Permalink
  21. def getLabelPair(m1: Mention, m2: Mention): Seq[String]

    Permalink

    Generate a concatenation of the labels for a pair of mentions

  22. def getLemmaTagSequence(s: Sentence): Seq[String]

    Permalink

    get the lemma tag sequence for a Sentence

  23. def getLemmaTagSequence(m: Mention): Seq[String]

    Permalink

    get the lemma tag sequence for a Mention

  24. def getMentionLabel(m: Mention): Seq[String]

    Permalink
  25. def getMentionLabels(m: Mention): Seq[String]

    Permalink
  26. def getOutgoingDependencyRelations(m: Mention): Seq[String]

    Permalink
  27. def getOutgoingDependencyRelations(start: Int, end: Int, s: Sentence): Seq[String]

    Permalink

    get outgoing dependency relations for the given span

  28. def getRootPaths(m: Mention): Seq[String]

    Permalink

    find paths from sentence root to mention's trigger

  29. def getShallowFeatures(m: Mention): Seq[String]

    Permalink
  30. def getShortestPathDistances(e1: Mention, e2: Mention): Seq[String]

    Permalink
  31. def getShortestPathTokenIndices(m1: Mention, m2: Mention): Seq[Int]

    Permalink

    get token indices of shortest path between two mentions

  32. def getShortestPathVariants(e1: Mention, e2: Mention): Seq[String]

    Permalink

    Get paths from e1 to e2

  33. def getShortestPaths(src: Mention, dst: Mention, withWords: Boolean = false, withLemmas: Boolean = false, withTags: Boolean = false, withEntities: Boolean = false, withChunks: Boolean = false, withLastTokenConstraint: Boolean = true): Seq[String]

    Permalink

    Get the shortest syntactic paths connecting two mentions.

    Get the shortest syntactic paths connecting two mentions.
    If the two mentions are in different docs and/or sentences, return Nil

  34. def getShortestPaths(start: Int, end: Int, pathFinder: PathFinder, withWords: Boolean, withLemmas: Boolean, withTags: Boolean, withEntities: Boolean, withChunks: Boolean, withLastTokenConstraint: Boolean): Seq[String]

    Permalink

    Get shortest syntactic paths between two tokens

  35. def getTrigger(m: Mention): String

    Permalink

    get trigger for a mention

  36. def getTriggerArgPathDistances(m: Mention): Seq[String]

    Permalink
  37. def getTriggerArgPaths(m: Mention): Seq[String]

    Permalink

    Generate variations of trigger -> arg syntactic paths

  38. def getTriggerToTriggerPath(e1: Mention, e2: Mention): Seq[String]

    Permalink

    Get paths from trigger to trigger
    (ex.

    Get paths from trigger to trigger
    (ex. e1:phosphorylation:Phosphorylation rcmod e2:decreases:Positive_Regulation)

  39. def getTriggerToTriggerPathDistances(e1: Mention, e2: Mention): Seq[String]

    Permalink
  40. def getVerbsInPath(m1: Mention, m2: Mention): Seq[String]

    Permalink

    find any verbs in shortest path between mentions

  41. def hasResolution(m: Mention): Boolean

    Permalink
  42. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  44. def locationOfAntecedent(m: Mention): Seq[String]

    Permalink
  45. val maxN: Int

    Permalink
  46. val minN: Int

    Permalink
  47. def mkBasicFeatures(m: Mention, support: Seq[Mention] = Nil): Seq[String]

    Permalink

    Features used to represent all mentions

    Features used to represent all mentions

    support

    a sequence of related mentions used to find shared arguments

  48. def mkCoreFeatures(m: Mention, support: Seq[Mention] = Nil): Seq[String]

    Permalink
  49. def mkCrossSentenceFeatures(e1: Mention, e2: Mention): Seq[String]

    Permalink

    create cross sentence features for two mentions

  50. def mkFeat(ss: String*): String

    Permalink
  51. def mkFeatures(e1: Mention, e2: Mention): Seq[String]

    Permalink

    Takes Event 1 and Event 2 and produces features

    Takes Event 1 and Event 2 and produces features

    e1

    Event 1 (mention)

    e2

    Event 1 (mention)

  52. def mkRVFDatum(e1: Mention, e2: Mention, label: String): RVFDatum[String, String]

    Permalink
  53. def mkSameSentenceFeatures(e1: Mention, e2: Mention): Seq[String]

    Permalink

    get features for two mentions in same sentence

  54. def mkSurfaceFeatures(e1: Mention, e2: Mention): Seq[String]

    Permalink
  55. def mkSyntaxFeatures(e1: Mention, e2: Mention): Seq[String]

    Permalink
  56. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  57. def ngrams(toks: Seq[String], startN: Int, stopN: Int): Seq[String]

    Permalink
  58. def ngrams(toks: Seq[String], n: Int): Seq[String]

    Permalink
  59. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  61. def parseFeat(f: String): Seq[String]

    Permalink
  62. def replaceArgsWithRole(m: Mention): Seq[String]

    Permalink

    Replaces args in a mention with their role
    Array(the, Ras, protein, phosphorylates, Mek-32, at, 123) =>
    Vector(CONTROLLER, protein, CONTROLLED)

  63. def replaceEntitiesWithLabel(e1: Mention, support: Seq[Mention]): Seq[String]

    Permalink

    Replaces entities in a mention with their label
    Array(the, Ras, protein, phosphorylates, Mek-32, at, 123) =>
    Vector(FAMILY, protein, phosphorylates, GENE_OR_GENE_PRODUCT)

    Replaces entities in a mention with their label
    Array(the, Ras, protein, phosphorylates, Mek-32, at, 123) =>
    Vector(FAMILY, protein, phosphorylates, GENE_OR_GENE_PRODUCT)

    support

    a sequence of related mentions used to find shared arguments

  64. def sameSentence(e1: Mention, e2: Mention): Boolean

    Permalink

    Check if two mentions are in the same doc and sentence

  65. val sep: String

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

    Permalink
    Definition Classes
    AnyRef
  67. def terminalsConstraint(m: Mention): Seq[String]

    Permalink

    get the tokens on either end of the mention

  68. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  69. def tokensLinkingMentions(m1: Mention, m2: Mention): Seq[String]

    Permalink

    get the words between two mentions

  70. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped