cc.factorie.app.nlp.pos

LabeledPennPosTag

class LabeledPennPosTag extends PennPosTag with CategoricalLabeling[String]

A categorical variable, associated with a token, holding its Penn Treebank part-of-speech category, which also separately holds its desired correct "target" value.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LabeledPennPosTag
  2. CategoricalLabeling
  3. LabeledMutableCategoricalVar
  4. LabeledCategoricalVar
  5. LabeledMutableDiscreteVar
  6. LabeledMutableVar
  7. LabeledDiscreteVar
  8. LabeledVar
  9. PennPosTag
  10. CategoricalVariable
  11. MutableCategoricalVar
  12. CategoricalVar
  13. CategoricalVectorVar
  14. MutableDiscreteVar
  15. IterableSettings
  16. MutableVar
  17. DiscreteVar
  18. VarWithDomain
  19. VectorVar
  20. TensorVar
  21. Var
  22. AnyRef
  23. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LabeledPennPosTag(token: Token, targetValue: String)

Type Members

  1. case class DiscreteVariableDiff(oldValue: Int, newValue: Int) extends Diff with Product with Serializable

    Definition Classes
    MutableDiscreteVar
  2. trait SettingIterator extends variable.SettingIterator

    Definition Classes
    IterableSettings
  3. type TargetType = CategoricalTargetVariable[String]

  4. type Value = CategoricalValue[String]

    Definition Classes
    CategoricalVariableCategoricalVarDiscreteVarVectorVarTensorVarVar

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. def !==(other: variable.Var): Boolean

    Definition Classes
    Var
  4. final def ##(): Int

    Definition Classes
    AnyRef → Any
  5. def ++=(elts: Iterable[String]): Unit

    Definition Classes
    CategoricalVectorVar
  6. def +=(elt: String): Unit

    Definition Classes
    CategoricalVectorVar
  7. def +=(elt: String, incr: Double): Unit

    Definition Classes
    CategoricalVectorVar
  8. final def :=(i: Int): Unit

    Definition Classes
    MutableDiscreteVar
    Annotations
    @inline()
  9. final def :=(newValue: Value): Unit

    Definition Classes
    MutableVar
  10. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  12. def ===(other: variable.Var): Boolean

    Value comparisons (as distinct from variable pointer equality)

    Value comparisons (as distinct from variable pointer equality)

    Definition Classes
    Var
  13. def _initialize(newValue: Int): Unit

    Attributes
    protected
    Definition Classes
    MutableDiscreteVar
  14. final def _value: Int

    Attributes
    protected
    Definition Classes
    MutableDiscreteVar
    Annotations
    @inline()
  15. def activeCategories: Seq[String]

    Definition Classes
    CategoricalVectorVar
  16. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  17. def caseFactorProportions(model: model.Model): Proportions1

    Return the distribution over values of this variable given the model and given that all other variables' values are fixed.

    Return the distribution over values of this variable given the model and given that all other variables' values are fixed.

    Definition Classes
    DiscreteVar
  18. def categoryValue: String

    Definition Classes
    CategoricalVar
  19. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def contains(index: Int): Boolean

    Definition Classes
    VectorVar
  21. def doWithIndexSafely(elt: String, v: Double, update: Boolean): Unit

    Attributes
    protected
    Definition Classes
    CategoricalVectorVar
  22. def domain: PennPosDomain.type

    Abstract method to return the domain of this variable.

    Abstract method to return the domain of this variable.

    Definition Classes
    PennPosTagMutableCategoricalVarCategoricalVarCategoricalVectorVarMutableDiscreteVarDiscreteVarVarWithDomainVectorVar
  23. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  27. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  28. def intValue: Int

    Definition Classes
    MutableDiscreteVarDiscreteVar
  29. def isAdjective: Boolean

    Definition Classes
    PennPosTag
  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. def isNoun: Boolean

    Definition Classes
    PennPosTag
  32. def isPersonalPronoun: Boolean

    Definition Classes
    PennPosTag
  33. def isProperNoun: Boolean

    Definition Classes
    PennPosTag
  34. def isUnlabeled: Boolean

    Definition Classes
    LabeledMutableDiscreteVar
  35. def isVerb: Boolean

    Definition Classes
    PennPosTag
  36. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  39. def printName: String

    Definition Classes
    Var
  40. def proportions(model: model.Model): Proportions1

    Return the distribution over values of this variable given the model and given that all other variables' values are fixed.

    Return the distribution over values of this variable given the model and given that all other variables' values are fixed.

    Definition Classes
    DiscreteVar
  41. def proportions(factors: Iterable[model.Factor]): Proportions1

    Return the distribution over values of this variable given some factors (which presumably neighbor this DiscreteVar) and given that all other variables' values are fixed.

    Return the distribution over values of this variable given some factors (which presumably neighbor this DiscreteVar) and given that all other variables' values are fixed.

    Definition Classes
    DiscreteVar
  42. def relabel(): Unit

    Definition Classes
    LabeledMutableDiscreteVar
  43. def set(newValue: Int)(implicit d: variable.DiffList): Unit

    Definition Classes
    MutableDiscreteVar
  44. final def set(newValue: Value)(implicit d: variable.DiffList): Unit

    Assign a new value to this variable

    Assign a new value to this variable

    Definition Classes
    MutableDiscreteVarMutableVar
    Annotations
    @inline()
  45. def setCategory(newCategory: String)(implicit d: variable.DiffList): Unit

    Definition Classes
    MutableCategoricalVar
  46. def setRandomly(implicit random: Random, d: variable.DiffList = null): Unit

    Definition Classes
    MutableDiscreteVar
  47. def setToTarget(implicit d: variable.DiffList = null): Unit

  48. def settings: SettingIterator

    Definition Classes
    MutableDiscreteVarIterableSettings
  49. def skipNonCategories: Boolean

    If false, then when += is called with a value (or index) outside the Domain, an error is thrown.

    If false, then when += is called with a value (or index) outside the Domain, an error is thrown. If true, then no error is thrown, and request to add the outside-Domain value is simply ignored.

    Definition Classes
    CategoricalVectorVar
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. val target: CategoricalTargetVariable[String]

    Stores the intended true "target" value for this variable.

    Stores the intended true "target" value for this variable.

    Definition Classes
    CategoricalLabelingLabeledVar
  52. def toString(): String

    Definition Classes
    CategoricalVarDiscreteVarVar → AnyRef → Any
  53. def unlabel(): Unit

    Definition Classes
    LabeledMutableDiscreteVar
  54. def value: Value

    Abstract method to return the value of this variable.

    Abstract method to return the value of this variable.

    Definition Classes
    MutableCategoricalVarMutableDiscreteVarMutableVarCategoricalVarDiscreteVarVectorVarTensorVarVar
  55. def valueIsTarget: Boolean

    Definition Classes
    LabeledDiscreteVarLabeledVar
  56. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CategoricalLabeling[String]

Inherited from LabeledMutableCategoricalVar[String]

Inherited from LabeledCategoricalVar[String]

Inherited from LabeledMutableDiscreteVar

Inherited from LabeledMutableVar

Inherited from LabeledDiscreteVar

Inherited from LabeledVar

Inherited from PennPosTag

Inherited from CategoricalVariable[String]

Inherited from MutableCategoricalVar[String]

Inherited from CategoricalVar[String]

Inherited from CategoricalVectorVar[String]

Inherited from MutableDiscreteVar

Inherited from IterableSettings

Inherited from MutableVar

Inherited from DiscreteVar

Inherited from VarWithDomain

Inherited from VectorVar

Inherited from TensorVar

Inherited from variable.Var

Inherited from AnyRef

Inherited from Any

Ungrouped