epic
.
parser
.
models
LexModelFactory
Related Doc:
package models
case class
LexModelFactory
(
annotator:
TreeAnnotator
[
AnnotatedLabel
,
String
,
AnnotatedLabel
] =
Xbarize()
,
oldWeights:
File
=
null
,
dummyFeats:
Double
=
1.0
,
minFeatCutoff:
Int
=
1
,
useSpanFeatures:
Boolean
=
false
,
useBilexRuleFeatures:
Boolean
=
true
)
extends
ParserModelFactory
[
AnnotatedLabel
,
String
] with
SerializableLogging
with
Product
with
Serializable
Linear Supertypes
Product
,
Equals
,
SerializableLogging
,
Serializable
,
Serializable
,
ParserModelFactory
[
AnnotatedLabel
,
String
],
ParserExtractableModelFactory
[
AnnotatedLabel
,
String
],
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
LexModelFactory
Product
Equals
SerializableLogging
Serializable
Serializable
ParserModelFactory
ParserExtractableModelFactory
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
LexModelFactory
(
annotator:
TreeAnnotator
[
AnnotatedLabel
,
String
,
AnnotatedLabel
] =
Xbarize()
,
oldWeights:
File
=
null
,
dummyFeats:
Double
=
1.0
,
minFeatCutoff:
Int
=
1
,
useSpanFeatures:
Boolean
=
false
,
useBilexRuleFeatures:
Boolean
=
true
)
Type Members
type
MyModel
=
LexModel
[
AnnotatedLabel
,
AnnotatedLabel
,
String
]
Definition Classes
LexModelFactory
→
ParserModelFactory
→
ParserExtractableModelFactory
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
annotator
:
TreeAnnotator
[
AnnotatedLabel
,
String
,
AnnotatedLabel
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
@throws
(
...
)
val
dummyFeats
:
Double
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
extractBasicCounts
[
L
,
W
]
(
trees:
IndexedSeq
[
TreeInstance
[
L
,
W
]]
)
: (
Counter2
[
L
,
W
,
Double
],
Counter2
[
L
,
BinaryRule
[
L
],
Double
],
Counter2
[
L
,
UnaryRule
[
L
],
Double
])
Attributes
protected
Definition Classes
ParserExtractableModelFactory
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
Annotations
@HotSpotIntrinsicCandidate
()
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
logger
:
LazyLogger
Attributes
protected
Definition Classes
SerializableLogging
def
make
(
trainTrees:
IndexedSeq
[
TreeInstance
[
AnnotatedLabel
,
String
]]
,
topology:
RuleTopology
[
AnnotatedLabel
]
,
lexicon:
Lexicon
[
AnnotatedLabel
,
String
]
,
constrainer:
Factory
[
AnnotatedLabel
,
String
]
)
:
MyModel
Definition Classes
LexModelFactory
→
ParserExtractableModelFactory
val
minFeatCutoff
:
Int
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
val
oldWeights
:
File
def
readWeights
(
in:
File
)
:
Counter
[
Feature
,
Double
]
Definition Classes
ParserExtractableModelFactory
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
useBilexRuleFeatures
:
Boolean
val
useSpanFeatures
:
Boolean
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Deprecated Value Members
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@Deprecated
@deprecated
@throws
(
classOf[java.lang.Throwable]
)
Deprecated
(Since version )
see corresponding Javadoc for more information.
Inherited from
Product
Inherited from
Equals
Inherited from
SerializableLogging
Inherited from
Serializable
Inherited from
Serializable
Inherited from
ParserModelFactory
[
AnnotatedLabel
,
String
]
Inherited from
ParserExtractableModelFactory
[
AnnotatedLabel
,
String
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped