epic
.
parser
.
models
LexGrammar
final
class
LexGrammar
[
L
,
L2
,
W
]
extends
Grammar
[
L
,
W
]
Linear Supertypes
Grammar
[
L
,
W
],
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
LexGrammar
Grammar
Serializable
Serializable
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
LexGrammar
(
topology:
RuleTopology
[
L
]
,
lexicon:
Lexicon
[
L
,
W
]
,
refinedGrammar:
RuleTopology
[
L2
]
,
featurizer:
IndexedLexFeaturizer
[
L
,
L2
,
W
]
,
weights:
DenseVector
[
Double
]
,
binaries:
Array
[
Boolean
]
,
leftRules:
Array
[
Boolean
]
,
rightRules:
Array
[
Boolean
]
)
Type Members
final
case class
Spec
(
words:
IndexedSeq
[
W
]
,
sparsityPattern:
ChartConstraints
[
L
]
)
extends
GrammarAnchoring
[
L
,
W
] with
Product
with
Serializable
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:
Grammar
[
L
,
W
]
)
:
Grammar
[
L
,
W
]
Definition Classes
Grammar
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
anchor
(
words:
IndexedSeq
[
W
]
,
constraints:
ChartConstraints
[
L
]
)
:
GrammarAnchoring
[
L
,
W
]
Definition Classes
LexGrammar
→
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
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
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
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
index
:
Index
[
Rule
[
L
]]
Definition Classes
Grammar
def
isHeadOnLeftForRule
(
r:
Int
)
:
Boolean
def
isHeadOnRightForRule
(
r:
Int
)
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
labelEncoder
:
Encoder
[
L
]
Definition Classes
Grammar
def
labelIndex
:
Index
[
L
]
Definition Classes
Grammar
val
lexicon
:
Lexicon
[
L
,
W
]
Definition Classes
LexGrammar
→
Grammar
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
refinements
:
GrammarRefinements
[
L
,
L2
]
def
root
:
L
Definition Classes
Grammar
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
val
topology
:
RuleTopology
[
L
]
Definition Classes
LexGrammar
→
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
(
...
)
def
withPermissiveLexicon
:
Grammar
[
L
,
W
]
Definition Classes
LexGrammar
→
Grammar
Inherited from
Grammar
[
L
,
W
]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped