case class AnnotatedLabel(label: String, headTag: Option[String] = None, parents: IndexedSeq[String] = IndexedSeq.empty, siblings: IndexedSeq[Either[String, String]] = IndexedSeq.empty, features: Set[Annotation] = Set.empty, index: Int = 1) extends Feature with CachedHashCode with Product with Serializable
The standard label used in the parser (used to be String).
Useful for Klein-and-Manning style annotated labels and other explicit-annotation strategies
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AnnotatedLabel
- Serializable
- Serializable
- Product
- Equals
- CachedHashCode
- Feature
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AnnotatedLabel(label: String, headTag: Option[String] = None, parents: IndexedSeq[String] = IndexedSeq.empty, siblings: IndexedSeq[Either[String, String]] = IndexedSeq.empty, features: Set[Annotation] = Set.empty, index: Int = 1)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def annotate(sym: Annotation*): AnnotatedLabel
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def baseAnnotatedLabel: AnnotatedLabel
- def baseLabel: String
- def clearFeatures: AnnotatedLabel
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val features: Set[Annotation]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def hasAnnotation(f: Annotation): Boolean
-
lazy val
hashCode: Int
- Definition Classes
- CachedHashCode → AnyRef → Any
- val headTag: Option[String]
- val index: Int
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isIntermediate: Boolean
- val label: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val parents: IndexedSeq[String]
- val siblings: IndexedSeq[Either[String, String]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnnotatedLabel → AnyRef → Any
- def treebankString: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )