epic
.
preprocess
MLSentenceSegmenter
object
MLSentenceSegmenter
extends
Serializable
Linear Supertypes
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
MLSentenceSegmenter
Serializable
Serializable
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Type Members
case class
CharTypeFeature
(
ct:
Int
,
offset:
Int
=
0
)
extends
Feature
with
Product
with
Serializable
case class
ClassificationInference
(
featureIndex:
Index
[
Feature
]
,
weights:
DenseVector
[
Double
]
)
extends
Inference
[
SentenceDecisionInstance
] with
Product
with
Serializable
Annotations
@SerialVersionUID
(
1L
)
class
ClassificationModel
extends
Model
[
SentenceDecisionInstance
]
case class
CodePointFeature
(
cp:
String
,
offset:
Int
=
0
)
extends
Feature
with
Product
with
Serializable
case class
ContextWord
(
w:
String
,
offset:
Int
=
0
)
extends
Feature
with
Product
with
Serializable
case class
JavaDistFeature
(
x:
Int
)
extends
Feature
with
Product
with
Serializable
case class
LastWordLength
(
len:
Int
,
offset:
Int
=
0
)
extends
Feature
with
Product
with
Serializable
case class
Marginal
(
prob:
Double
,
logPartition:
Double
)
extends
framework.Marginal
with
Product
with
Serializable
case class
NextRealLetterFeature
(
ct:
Int
)
extends
Feature
with
Product
with
Serializable
case class
SentenceDecisionInstance
(
label:
Boolean
,
features:
Array
[
Feature
]
,
id:
String
,
context:
String
)
extends
Example
[
Boolean
,
Array
[
Feature
]] with
Product
with
Serializable
case class
SurroundingCharFeature
(
prev:
String
,
next:
String
)
extends
Feature
with
Product
with
Serializable
case class
SurroundingCharTypeFeature
(
prev:
Int
,
next:
Int
)
extends
Feature
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
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
object
BOFFeature
extends
Feature
with
Product
with
Serializable
object
BiasFeature
extends
Feature
with
Product
with
Serializable
object
EOFFeature
extends
Feature
with
Product
with
Serializable
object
LineIsShortFeature
extends
Feature
with
Product
with
Serializable
def
addCharFeatures
(
text:
String
,
base:
Int
,
rel:
Int
)
:
IndexedSeq
[
Feature
]
def
adjustGoldSentenceBoundaries
(
text:
String
,
_endPoints:
Iterator
[
Span
]
)
:
Set
[
Int
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
bundled
(
language:
String
=
"en"
)
:
Option
[
MLSentenceSegmenter
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
codepointToString
(
cp:
Int
)
:
String
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
evalDev
(
inf:
ClassificationInference
,
dev:
IndexedSeq
[
SentenceDecisionInstance
]
,
decoded:
Counter
[
Feature
,
Double
]
)
:
Unit
def
featuresForEndPointDetection
(
text:
String
,
offset:
Int
)
:
Array
[
Feature
]
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
isControl
(
codepoint:
Int
)
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isPotentialSentenceBoundary
(
text:
String
,
offset:
Int
,
codepoint:
Int
)
:
Boolean
def
isProbablyNotContraction
(
text:
String
,
offset:
Int
,
codepoint:
Int
,
quote:
Char
)
:
Boolean
def
isQuote
(
ch:
Char
)
:
Boolean
def
loadModel
(
file:
File
)
:
MLSentenceSegmenter
def
main
(
args:
Array
[
String
]
)
:
Unit
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
nextPotentialSentenceBoundary
(
text:
String
,
offset:
Int
)
:
Int
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
potentialSentenceBoundariesIterator
(
text:
String
)
:
Iterator
[
Int
]
def
previousLineIsShort
(
s:
String
,
pos:
Int
)
:
Boolean
def
printOutSentenceBoundaries
(
text:
String
,
guessPoints:
Set
[
Int
]
,
goldPoints:
Set
[
Int
]
)
:
Unit
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
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped