epic
.
parser
.
models
.
ThreePointModel
Grammar
case class
Grammar
[
L
,
L2
,
W
]
(
topology:
RuleTopology
[
L
]
,
lexicon:
Lexicon
[
L
,
W
]
,
refinedTopology:
RuleTopology
[
L2
]
,
refinements:
GrammarRefinements
[
L
,
L2
]
,
labelFeaturizer:
RefinedFeaturizer
[
L
,
W
,
Feature
]
,
wordFeaturizer:
IndexedWordFeaturizer
[
W
]
,
featureIndex:
SegmentedIndex
[
Feature
,
Index
]
,
weights:
DenseVector
[
Double
]
)
extends
parser.Grammar
[
L
,
W
] with
Serializable
with
Product
Annotations
@SerialVersionUID
(
1L
)
Linear Supertypes
Product
,
Equals
,
parser.Grammar
[
L
,
W
],
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Grammar
Product
Equals
Grammar
Serializable
Serializable
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
Grammar
(
topology:
RuleTopology
[
L
]
,
lexicon:
Lexicon
[
L
,
W
]
,
refinedTopology:
RuleTopology
[
L2
]
,
refinements:
GrammarRefinements
[
L
,
L2
]
,
labelFeaturizer:
RefinedFeaturizer
[
L
,
W
,
Feature
]
,
wordFeaturizer:
IndexedWordFeaturizer
[
W
]
,
featureIndex:
SegmentedIndex
[
Feature
,
Index
]
,
weights:
DenseVector
[
Double
]
)
Type Members
class
Anchoring
extends
ProjectionsGrammarAnchoring
[
L
,
L2
,
W
]
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
*
(
refined:
parser.Grammar
[
L
,
W
]
)
:
parser.Grammar
[
L
,
W
]
Definition Classes
Grammar
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
anchor
(
w:
IndexedSeq
[
W
]
,
cons:
ChartConstraints
[
L
]
)
:
Anchoring
Definition Classes
Grammar
→
Grammar
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
extractEcounts
(
m:
ParseMarginal
[
L
,
W
]
,
deriv:
DenseVector
[
Double
]
,
scale:
Double
)
:
Unit
val
featureIndex
:
SegmentedIndex
[
Feature
,
Index
]
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
index
:
Index
[
Rule
[
L
]]
Definition Classes
Grammar
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
labelEncoder
:
Encoder
[
L
]
Definition Classes
Grammar
val
labelFeaturizer
:
RefinedFeaturizer
[
L
,
W
,
Feature
]
def
labelIndex
:
Index
[
L
]
Definition Classes
Grammar
val
lexicon
:
Lexicon
[
L
,
W
]
Definition Classes
Grammar
→
Grammar
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
refinedTopology
:
RuleTopology
[
L2
]
val
refinements
:
GrammarRefinements
[
L
,
L2
]
def
root
:
L
Definition Classes
Grammar
val
ruleMatrix
:
DenseMatrix
[
Double
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
topology
:
RuleTopology
[
L
]
Definition Classes
Grammar
→
Grammar
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
(
...
)
val
weights
:
DenseVector
[
Double
]
def
withPermissiveLexicon
:
Grammar
[
L
,
L2
,
W
]
Definition Classes
Grammar
→
Grammar
val
wordFeaturizer
:
IndexedWordFeaturizer
[
W
]
val
wordMatrices
:
Seq
[
DenseMatrix
[
Double
]]
Inherited from
Product
Inherited from
Equals
Inherited from
parser.Grammar
[
L
,
W
]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped