c

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
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
    @native() @HotSpotIntrinsicCandidate() @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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. val horizontal: Int
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def latent: (BinarizedTree[AnnotatedLabel], IndexedSeq[String]) ⇒ BinarizedTree[IndexedSeq[AnnotatedLabel]]
    Definition Classes
    TreeAnnotator
  18. def localized[C](proj: ProjectionIndexer[C, AnnotatedLabel]): (BinarizedTree[AnnotatedLabel], IndexedSeq[String]) ⇒ BinarizedTree[(C, Int)]
    Definition Classes
    TreeAnnotator
  19. def map[N](other: TreeAnnotator[AnnotatedLabel, String, N]): ComposedAnnotator[AnnotatedLabel, String, AnnotatedLabel, N]
    Definition Classes
    TreeAnnotator
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. val pipeline: ComposedAnnotator[AnnotatedLabel, String, AnnotatedLabel, AnnotatedLabel]
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    TreeAnnotator → Function1 → Function2 → AnyRef → Any
  26. def tupled: ((BinarizedTree[AnnotatedLabel], Seq[String])) ⇒ BinarizedTree[AnnotatedLabel]
    Definition Classes
    Function2
    Annotations
    @unspecialized()
  27. val vertical: Int
  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 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