Instance Constructors
-
new
ChainModel(labelDomain: CategoricalDomain[String], featuresDomain: CategoricalVectorDomain[String], labelToFeatures: (Label) ⇒ Features, labelToToken: (Label) ⇒ Token, tokenToLabel: (Token) ⇒ Label)(implicit lm: ClassTag[Label], fm: ClassTag[Features], tm: ClassTag[Token])
Type Members
-
-
-
-
-
case class
ViterbiResults(mapScore: Double, mapValues: Array[Int], localScores: Array[la.DenseTensor1]) extends Product with Serializable
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
-
-
-
-
def
accumulateExtraObsGradients(gradient: WeightsMapAccumulator, obsMarginal: la.Tensor1, position: Int, labels: Seq[Label]): Unit
-
-
-
-
-
final
def
asInstanceOf[T0]: T0
-
-
-
-
-
val
bias: DotFamilyWithStatistics1[Label] { val weights: cc.factorie.model.Weights1 }
-
def
clone(): AnyRef
-
-
def
currentScore(d: variable.Diff): Double
-
-
def
currentScore(variable: variable.Var): Double
-
def
deserialize(stream: InputStream): Unit
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
-
-
-
-
-
-
-
def
factorsOfClass[F <: model.Factor](variable: variable.Var)(implicit fm: ClassTag[F]): Iterable[F]
-
-
-
def
factorsOfFamilies[F <: Family](d: variable.DiffList, families: Seq[F]): Iterable[model.Model.factorsOfFamilies.F.Factor]
-
def
factorsOfFamilies[F <: Family](variables: Iterable[variable.Var], families: Seq[F]): Iterable[model.Model.factorsOfFamilies.F.Factor]
-
def
factorsOfFamilies[F <: Family](variable: variable.Var, families: Seq[F]): Iterable[model.Model.factorsOfFamilies.F.Factor]
-
def
factorsOfFamily[F <: Family](d: variable.DiffList, family: F): Iterable[model.Model.factorsOfFamily.F.Factor]
-
def
factorsOfFamily[F <: Family](variables: Iterable[variable.Var], family: F): Iterable[model.Model.factorsOfFamily.F.Factor]
-
def
factorsOfFamily[F <: Family](variable: variable.Var, family: F): Iterable[model.Model.factorsOfFamily.F.Factor]
-
def
factorsOfFamilyClass[F <: Family](d: variable.DiffList)(implicit fm: ClassTag[F]): Iterable[model.Model.factorsOfFamilyClass.F.Factor]
-
def
factorsOfFamilyClass[F <: Family](d: variable.DiffList, fclass: Class[F]): Iterable[model.Model.factorsOfFamilyClass.F.Factor]
-
def
factorsOfFamilyClass[F <: Family](variables: Iterable[variable.Var])(implicit fm: ClassTag[F]): Iterable[model.Model.factorsOfFamilyClass.F.Factor]
-
def
factorsOfFamilyClass[F <: Family](variable: variable.Var)(implicit fm: ClassTag[F]): Iterable[model.Model.factorsOfFamilyClass.F.Factor]
-
def
factorsOfFamilyClass[F <: Family](variables: Iterable[variable.Var], fclass: Class[F]): Iterable[model.Model.factorsOfFamilyClass.F.Factor]
-
def
factorsOfFamilyClass[F <: Family](variable: variable.Var, fclass: Class[F]): Iterable[model.Model.factorsOfFamilyClass.F.Factor]
-
val
featureClass: Class[_]
-
-
-
def
filterByFamilies[F <: Family](factors: Iterable[model.Factor], families: Seq[F]): Iterable[model.Model.filterByFamilies.F.Factor]
-
def
filterByFamily[F <: Family](factors: Iterable[model.Factor], family: F): Iterable[model.Model.filterByFamily.F.Factor]
-
def
filterByFamilyClass[F <: Family](factors: Iterable[model.Factor], fclass: Class[F]): Iterable[model.Model.filterByFamilyClass.F.Factor]
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
-
def
getLocalScores(varying: Seq[Label]): Array[la.DenseTensor1]
-
def
hashCode(): Int
-
def
inferFast(varying: Seq[Label], addToLocalScoresOpt: Option[Array[la.Tensor1]] = None): InferenceResults
-
final
def
isInstanceOf[T0]: Boolean
-
-
-
-
-
val
labelClass: Class[_]
-
-
val
labelToFeatures: (Label) ⇒ Features
-
val
labelToToken: (Label) ⇒ Token
-
val
markov: DotFamilyWithStatistics2[Label, Label] { val weights: cc.factorie.model.Weights2 }
-
def
maximize(vars: Seq[Label])(implicit d: variable.DiffList): Unit
-
final
def
ne(arg0: AnyRef): Boolean
-
def
newFactorsCollection: Set[model.Factor]
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
obs: DotFamilyWithStatistics2[Features, Label] { val weights: cc.factorie.model.Weights2 }
-
val
obsmarkov: DotFamilyWithStatistics3[Label, Label, Features] { val weights: cc.factorie.model.Weights3 }
-
-
def
serialize(stream: OutputStream): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
val
tokenClass: Class[_]
-
val
tokenToLabel: (Token) ⇒ Label
-
var
useObsMarkov: Boolean
-
def
viterbiFast(varying: Seq[Label], addToLocalScoresOpt: Option[Array[la.Tensor1]] = None): ViterbiResults
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit