class
LatentParserModel[L, L3, W] extends ParserModel[L, W]
Instance Constructors
-
new
LatentParserModel(indexedFeatures: IndexedFeaturizer[L, L3, W], reannotate: (BinarizedTree[L], IndexedSeq[W]) ⇒ BinarizedTree[IndexedSeq[L3]], projections: GrammarRefinements[L, L3], constrainer: Factory[L, W], topology: RuleTopology[L], lexicon: Lexicon[L, W], initialFeatureVal: (Feature) ⇒ Option[Double] = ...)
Type Members
-
-
-
type
L2 = L3
-
-
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
-
-
final
def
accumulateCounts(inf: Inference, d: TreeInstance[L, W], accum: ExpectedCounts, scale: Double): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
cacheFeatureWeights(weights: DenseVector[Double], suffix: String = ""): Unit
-
def
clone(): AnyRef
-
val
constrainer: Factory[L, W]
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
-
def
expectedCountsToObjective(ecounts: ExpectedCounts): (Double, DenseVector[Double])
-
def
extractParser(weights: DenseVector[Double])(implicit deb: Debinarizer[L]): Parser[L, W]
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
inferenceFromWeights(weights: DenseVector[Double]): LatentParserInference[L, L3, W]
-
def
initialValueForFeature(f: Feature): Double
-
final
def
isInstanceOf[T0]: Boolean
-
val
lexicon: Lexicon[L, W]
-
def
logger: Logger
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
numFeatures: Int
-
-
def
readCachedFeatureWeights(suffix: String = ""): Option[DenseVector[Double]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
weightsCacheName: String
Inherited from AnyRef
Inherited from Any