cc.factorie.tutorial.ChainNERDemo

Token

class Token extends BinaryFeatureVectorVariable[String] with ChainLink[Token, Sentence]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Token
  2. ChainLink
  3. ThisType
  4. AbstractChainLink
  5. BinaryFeatureVectorVariable
  6. FeatureVectorVar
  7. CategoricalVectorVariable
  8. CategoricalVectorVar
  9. MutableTensorVar
  10. MutableVar
  11. VectorVar
  12. TensorVar
  13. Var
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Token(word: String, features: Seq[String], labelString: String)

Type Members

  1. case class IncrementTensorDiff(t: Tensor) extends Diff with Product with Serializable

    Definition Classes
    MutableTensorVar
  2. case class IncrementTensorIndexDiff(index: Int, incr: Double) extends Diff with Product with Serializable

    Definition Classes
    MutableTensorVar
  3. case class SetTensorDiff(oldValue: MutableTensorVar.Value, newValue: MutableTensorVar.Value) extends Diff with Product with Serializable

    Definition Classes
    MutableTensorVar
  4. type ThisType = Token

    Definition Classes
    ThisType
  5. case class UpdateTensorDiff(index: Int, oldValue: Double, newValue: Double) extends Diff with Product with Serializable

    Definition Classes
    MutableTensorVar
  6. type Value = la.Tensor1

    Definition Classes
    CategoricalVectorVariableVectorVarTensorVarVar
  7. case class ZeroTensorDiff(prev: Array[Double]) extends Diff with Product with Serializable

    Definition Classes
    MutableTensorVar

Value Members

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

    Definition Classes
    AnyRef → Any
  2. def !==(other: variable.Var): Boolean

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

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

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

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

    Definition Classes
    CategoricalVectorVar
  7. final def :=(newValue: Value): Unit

    Definition Classes
    MutableVar
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def ===(other: variable.Var): Boolean

    Value comparisons (as distinct from variable pointer equality)

    Value comparisons (as distinct from variable pointer equality)

    Definition Classes
    Var
  10. def _setChainPosition(c: Sentence, p: Int): Unit

    This method should never be called outside Chain.+= or Chain.insert or Chain.remove

    This method should never be called outside Chain.+= or Chain.insert or Chain.remove

    Definition Classes
    ChainLink
  11. def activeCategories: Seq[String]

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

    Definition Classes
    Any
  13. def between(other: Token): Seq[Token]

    Definition Classes
    ChainLink
  14. def chain: Sentence

    Definition Classes
    ChainLink
  15. def chainAfter: IndexedSeq[Token]

    Definition Classes
    ChainLink
  16. def chainBefore: IndexedSeq[Token]

    Definition Classes
    ChainLink
  17. def chainHead: Token

    Definition Classes
    AbstractChainLink
  18. def chainLast: Token

    Definition Classes
    AbstractChainLink
  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: TokenDomain.type

    Definition Classes
    TokenCategoricalVectorVarVectorVar
  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. def firstInSeq: Token

    Definition Classes
    ChainLink
  27. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  28. def getNext: Option[Token]

    Definition Classes
    ChainLink
  29. def getPrev: Option[Token]

    Definition Classes
    ChainLink
  30. def hasNext(n: Int): Boolean

    Definition Classes
    ChainLink
  31. def hasNext: Boolean

    Definition Classes
    ChainLinkAbstractChainLink
  32. def hasPrev(n: Int): Boolean

    Definition Classes
    ChainLink
  33. def hasPrev: Boolean

    Definition Classes
    ChainLinkAbstractChainLink
  34. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  35. def increment(incr: Tensor)(implicit d: variable.DiffList): Unit

    Definition Classes
    MutableTensorVar
  36. def increment(index: Int, incr: Double)(implicit d: variable.DiffList): Unit

    Definition Classes
    MutableTensorVar
  37. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  38. val label: Label

  39. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  40. def next(n: Int): Token

    Return the ChainLink "n" positions ahead.

    Return the ChainLink "n" positions ahead. If this goes past the end of the Chain, return null.

    Definition Classes
    ChainLinkAbstractChainLink
  41. def next: Token

    Definition Classes
    ChainLinkAbstractChainLink
  42. def nextWindow(n: Int): Seq[Token]

    Definition Classes
    ChainLink
  43. final def notify(): Unit

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

    Definition Classes
    AnyRef
  45. def position: Int

    Definition Classes
    ChainLinkAbstractChainLink
  46. def prev(n: Int): Token

    Return the ChainLink "n" positions behind.

    Return the ChainLink "n" positions behind. If this goes past the beginning of the Chain, return null.

    Definition Classes
    ChainLinkAbstractChainLink
  47. def prev: Token

    Definition Classes
    ChainLinkAbstractChainLink
  48. def prevWindow(n: Int): Seq[Token]

    Definition Classes
    ChainLink
  49. def printName: String

    Return the string often used as a prefix of the toString representation of this variable.

    Return the string often used as a prefix of the toString representation of this variable.

    Definition Classes
    Var
  50. 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
    MutableTensorVarMutableVar
  51. 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
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  53. def toString(): String

    Return a short string representation of this variable, suitable for debugging messages.

    Return a short string representation of this variable, suitable for debugging messages.

    Definition Classes
    BinaryFeatureVectorVariableVar → AnyRef → Any
  54. def update(index: Int, newValue: Double)(implicit d: variable.DiffList): Unit

    Definition Classes
    MutableTensorVar
  55. final def value: Value

    Abstract method to return the value of this variable.

    Abstract method to return the value of this variable.

    Definition Classes
    MutableTensorVarMutableVarTensorVarVar
    Annotations
    @inline()
  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( ... )
  59. def window(n: Int): Seq[Token]

    Definition Classes
    ChainLink
  60. def windowWithoutSelf(n: Int): Seq[Token]

    Definition Classes
    ChainLink
  61. val word: String

  62. def zero(implicit d: variable.DiffList): Unit

    Definition Classes
    MutableTensorVar

Inherited from ChainLink[Token, Sentence]

Inherited from variable.ThisType[Token]

Inherited from AbstractChainLink[Token]

Inherited from BinaryFeatureVectorVariable[String]

Inherited from FeatureVectorVar[String]

Inherited from CategoricalVectorVariable[String]

Inherited from CategoricalVectorVar[String]

Inherited from MutableTensorVar

Inherited from MutableVar

Inherited from VectorVar

Inherited from TensorVar

Inherited from variable.Var

Inherited from AnyRef

Inherited from Any

Ungrouped