edu.arizona.sista.assembly.relations.classifier

FeatureExtractor

Related Doc: package classifier

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def addFeaturePrefix(prefix: String, features: Seq[String]): Seq[String]

  5. final def asInstanceOf[T0]: T0

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

  7. def clone(): AnyRef

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

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

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

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

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

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

    find all entities in a mention

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

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

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

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

    get concatenation of root paths for two mentions

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

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

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

    get incoming dependency relations for the given span

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

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

    Generate a concatenation of the labels for a pair of mentions

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

    get the lemma tag sequence for a Sentence

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

    get the lemma tag sequence for a Mention

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

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

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

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

    get outgoing dependency relations for the given span

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

    find paths from sentence root to mention's trigger

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

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

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

    get token indices of shortest path between two mentions

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

    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]

    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]

    Get shortest syntactic paths between two tokens

  35. def getTrigger(m: Mention): String

    get trigger for a mention

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

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

    Generate variations of trigger -> arg syntactic paths

    Generate variations of trigger -> arg syntactic paths

    m
    returns

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

    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]

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

    find any verbs in shortest path between mentions

  41. def hasResolution(m: Mention): Boolean

  42. def hashCode(): Int

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

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

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

    Features used to represent all mentions

    Features used to represent all mentions

    support

    a sequence of related mentions used to find shared arguments

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

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

    create cross sentence features for two mentions

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

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

    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)

    returns

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

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

    get features for two mentions in same sentence

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

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

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

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

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

  57. final def notify(): Unit

    Definition Classes
    AnyRef
  58. final def notifyAll(): Unit

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

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

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

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

    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

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

    Check if two mentions are in the same doc and sentence

  63. val sep: String

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

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

    get the tokens on either end of the mention

  66. def toString(): String

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

    get the words between two mentions

  68. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped