epic
.
parser
.
projections
ParserChartConstraintsFactory
class
ParserChartConstraintsFactory
[
L
,
W
]
extends
Factory
[
L
,
W
] with
Serializable
with
SafeLogging
Creates labeled span scorers for a set of trees from some parser.
Annotations
@SerialVersionUID
(
1L
)
Linear Supertypes
SafeLogging
,
Serializable
,
Factory
[
L
,
W
],
Factory
[
W
],
Has2
[
IndexedSeq
[
W
],
SpanConstraints
],
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
ParserChartConstraintsFactory
SafeLogging
Serializable
Factory
Factory
Has2
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
ParserChartConstraintsFactory
(
parser:
Parser
[
L
,
W
]
,
isIntermediate: (
L
) ⇒
Boolean
,
threshold:
Double
=
scala.math.`package`.exp(-9)
)
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
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
computePruningStatistics
(
marg:
ParseMarginal
[
L
,
W
]
,
gold:
GoldTagPolicy
[
L
]
)
: (
PruningStatistics
,
PruningStatistics
)
def
computePruningStatistics
(
words:
IndexedSeq
[
W
]
,
gold:
GoldTagPolicy
[
L
]
)
: (
PruningStatistics
,
PruningStatistics
)
def
constraints
(
marg:
ParseMarginal
[
L
,
W
]
,
gold:
GoldTagPolicy
[
L
]
)
:
ChartConstraints
[
L
]
def
constraints
(
words:
IndexedSeq
[
W
]
,
gold:
GoldTagPolicy
[
L
]
)
:
ChartConstraints
[
L
]
def
constraints
(
w:
IndexedSeq
[
W
]
)
:
ChartConstraints
[
L
]
Definition Classes
ParserChartConstraintsFactory
→
Factory
→
Factory
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]
)
def
get
(
h:
IndexedSeq
[
W
]
)
:
SpanConstraints
Definition Classes
Factory
→
Has2
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
isIntermediate
: (
L
) ⇒
Boolean
def
labelIndex
:
Index
[
L
]
def
logger
:
Logger
Definition Classes
SafeLogging
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
notpruned
:
AtomicInteger
val
notprunedtags
:
AtomicInteger
def
overallStatistics
:
String
val
parser
:
Parser
[
L
,
W
]
val
pruned
:
AtomicInteger
val
prunedtags
:
AtomicInteger
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
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
|
(
cf:
Factory
[
L
,
W
]
)
:
OrFactory
[
L
,
W
]
Definition Classes
Factory
def
|
(
other:
Factory
[
W
]
)
:
UnionFactory
[
W
]
Definition Classes
Factory
Inherited from
SafeLogging
Inherited from
Serializable
Inherited from
Factory
[
L
,
W
]
Inherited from
Factory
[
W
]
Inherited from
Has2
[
IndexedSeq
[
W
],
SpanConstraints
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped
Creates labeled span scorers for a set of trees from some parser.