c

epic.trees

RuleBasedHeadFinder

class RuleBasedHeadFinder[L] extends HeadFinder[L] with Serializable

Can annotate a tree with the head word. Usually you should just use HeadFinder.collinsHeadFinder

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, HeadFinder[L], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RuleBasedHeadFinder
  2. Serializable
  3. Serializable
  4. HeadFinder
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RuleBasedHeadFinder(defaultDirection: Dir = Left, rules: HeadRules[L])

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 annotateHeadIndices(t: BinarizedTree[L]): BinarizedTree[(L, Int)]
    Definition Classes
    HeadFinder
  5. def annotateHeadIndices[W](t: Tree[L]): Tree[(L, Int)]
    Definition Classes
    HeadFinder
  6. def annotateHeadTags[W](t: BinarizedTree[L]): BinarizedTree[(L, L)]
    Definition Classes
    HeadFinder
  7. def annotateHeadWords[W](t: Tree[L], words: Seq[W]): Tree[(L, W)]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def findHeadChild(l: L, children: L*): Int
    Definition Classes
    RuleBasedHeadFinderHeadFinder
  13. def findHeadChild(t: Tree[L]): Int
    Definition Classes
    HeadFinder
  14. def findHeadChild(r: Rule[L]): Int
    Definition Classes
    HeadFinder
  15. def findHeadTag(t: Tree[L]): L
    Definition Classes
    HeadFinder
  16. def findHeadWord[W](t: Tree[L], words: Seq[W]): W
    Definition Classes
    HeadFinder
  17. def findHeadWordIndex(t: Tree[L]): Int
    Definition Classes
    HeadFinder
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def lensed[U](implicit lens: Lens[U, L]): HeadFinder[U]
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def projected[U](f: (U) ⇒ L): HeadFinder[U]
    Definition Classes
    RuleBasedHeadFinderHeadFinder
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from HeadFinder[L]

Inherited from AnyRef

Inherited from Any

Ungrouped