epic.trees.annotations

KMAnnotator

case class KMAnnotator(horizontal: Int = 2, vertical: Int = 2) extends TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel] with Product with Serializable

More or less the annotator that does Klein&Manning 2003 annotations.

Linear Supertypes
Product, Equals, TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel], Serializable, Serializable, (TreeInstance[AnnotatedLabel, String]) ⇒ TreeInstance[AnnotatedLabel, String], (BinarizedTree[AnnotatedLabel], Seq[String]) ⇒ BinarizedTree[AnnotatedLabel], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. KMAnnotator
  2. Product
  3. Equals
  4. TreeAnnotator
  5. Serializable
  6. Serializable
  7. Function1
  8. Function2
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KMAnnotator(horizontal: Int = 2, vertical: Int = 2)

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. final def andThen[N](other: TreeAnnotator[AnnotatedLabel, String, N]): ComposedAnnotator[AnnotatedLabel, String, AnnotatedLabel, N]

    Definition Classes
    TreeAnnotator
  5. def andThen[A](g: (TreeInstance[AnnotatedLabel, String]) ⇒ A): (TreeInstance[AnnotatedLabel, String]) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  6. def apply(tree: BinarizedTree[AnnotatedLabel], words: Seq[String]): BinarizedTree[AnnotatedLabel]

    Definition Classes
    KMAnnotatorTreeAnnotator → Function2
  7. def apply(ti: TreeInstance[AnnotatedLabel, String]): TreeInstance[AnnotatedLabel, String]

    Definition Classes
    TreeAnnotator → Function1
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def compose[N](other: TreeAnnotator[N, String, AnnotatedLabel]): ComposedAnnotator[N, String, AnnotatedLabel, AnnotatedLabel]

    Definition Classes
    TreeAnnotator
  11. def compose[A](g: (A) ⇒ TreeInstance[AnnotatedLabel, String]): (A) ⇒ TreeInstance[AnnotatedLabel, String]

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. def curried: (BinarizedTree[AnnotatedLabel]) ⇒ (Seq[String]) ⇒ BinarizedTree[AnnotatedLabel]

    Definition Classes
    Function2
    Annotations
    @unspecialized()
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  16. val horizontal: Int

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def latent: (BinarizedTree[AnnotatedLabel], IndexedSeq[String]) ⇒ BinarizedTree[IndexedSeq[AnnotatedLabel]]

    Definition Classes
    TreeAnnotator
  19. def localized[C](proj: ProjectionIndexer[C, AnnotatedLabel]): (BinarizedTree[AnnotatedLabel], IndexedSeq[String]) ⇒ BinarizedTree[(C, Int)]

    Definition Classes
    TreeAnnotator
  20. def map[N](other: TreeAnnotator[AnnotatedLabel, String, N]): ComposedAnnotator[AnnotatedLabel, String, AnnotatedLabel, N]

    Definition Classes
    TreeAnnotator
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

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

    Definition Classes
    AnyRef
  24. val pipeline: ComposedAnnotator[AnnotatedLabel, String, AnnotatedLabel, AnnotatedLabel]

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

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    TreeAnnotator → Function1 → Function2 → AnyRef → Any
  27. def tupled: ((BinarizedTree[AnnotatedLabel], Seq[String])) ⇒ BinarizedTree[AnnotatedLabel]

    Definition Classes
    Function2
    Annotations
    @unspecialized()
  28. val vertical: Int

  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel]

Inherited from Serializable

Inherited from Serializable

Inherited from (TreeInstance[AnnotatedLabel, String]) ⇒ TreeInstance[AnnotatedLabel, String]

Inherited from (BinarizedTree[AnnotatedLabel], Seq[String]) ⇒ BinarizedTree[AnnotatedLabel]

Inherited from AnyRef

Inherited from Any

Ungrouped