Class

epic.trees

RuleBasedHeadFinder

Related Doc: package trees

Permalink

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])

    Permalink

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 annotateHeadIndices(t: BinarizedTree[L]): BinarizedTree[(L, Int)]

    Permalink
    Definition Classes
    HeadFinder
  5. def annotateHeadIndices[W](t: Tree[L]): Tree[(L, Int)]

    Permalink
    Definition Classes
    HeadFinder
  6. def annotateHeadTags[W](t: BinarizedTree[L]): BinarizedTree[(L, L)]

    Permalink
    Definition Classes
    HeadFinder
  7. def annotateHeadWords[W](t: Tree[L], words: Seq[W]): Tree[(L, W)]

    Permalink
  8. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def findHeadChild(l: L, children: L*): Int

    Permalink
    Definition Classes
    RuleBasedHeadFinderHeadFinder
  13. def findHeadChild(t: Tree[L]): Int

    Permalink
    Definition Classes
    HeadFinder
  14. def findHeadChild(r: Rule[L]): Int

    Permalink
    Definition Classes
    HeadFinder
  15. def findHeadTag(t: Tree[L]): L

    Permalink
    Definition Classes
    HeadFinder
  16. def findHeadWord[W](t: Tree[L], words: Seq[W]): W

    Permalink
    Definition Classes
    HeadFinder
  17. def findHeadWordIndex(t: Tree[L]): Int

    Permalink
    Definition Classes
    HeadFinder
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def lensed[U](implicit lens: Lens[U, L]): HeadFinder[U]

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def projected[U](f: (U) ⇒ L): HeadFinder[U]

    Permalink
    Definition Classes
    RuleBasedHeadFinderHeadFinder
  26. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    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