com
.
johnsnowlabs
.
nlp
.
annotators
.
spell
.
context
.
parser
DateToken
Related Doc:
package parser
class
DateToken
extends
RegexParser
with
WeightedLevenshtein
with
SerializableClass
Linear Supertypes
SerializableClass
,
KryoSerializable
,
Serializable
,
Serializable
,
WeightedLevenshtein
,
RegexParser
,
SpecialClassParser
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
DateToken
SerializableClass
KryoSerializable
Serializable
Serializable
WeightedLevenshtein
RegexParser
SpecialClassParser
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
DateToken
()
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
backTrack
(
dist:
Array
[
Array
[
Float
]]
,
s2:
String
,
s1:
String
,
j:
Int
,
i:
Int
,
acc:
Seq
[(
String
,
String
)]
)
:
Seq
[(
String
,
String
)]
Definition Classes
WeightedLevenshtein
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
dateRegex
:
Regex
def
deserializeTransducer
(
aInputStream:
ObjectInputStream
)
:
Transducer
[
DawgNode
,
Candidate
]
Definition Classes
SerializableClass
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
generateTransducer
:
ITransducer
[
Candidate
]
Definition Classes
RegexParser
→
SpecialClassParser
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
inVocabulary
(
word:
String
)
:
Boolean
Definition Classes
SpecialClassParser
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
label
:
String
Definition Classes
DateToken
→
SpecialClassParser
def
learnDist
(
s1:
String
,
s2:
String
)
:
Seq
[(
String
,
String
)]
Definition Classes
WeightedLevenshtein
def
levenshteinDist
(
s11:
String
,
s22:
String
)
(
cost: (
String
,
String
) ⇒
Float
)
:
Float
Definition Classes
WeightedLevenshtein
def
loadWeights
(
filename:
String
)
:
Map
[
String
,
Map
[
String
,
Float
]]
Definition Classes
WeightedLevenshtein
val
maxDist
:
Int
Definition Classes
DateToken
→
SpecialClassParser
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
read
(
kryo:
Kryo
,
input:
Input
)
:
Unit
Definition Classes
SerializableClass
→ KryoSerializable
var
regex
:
String
Definition Classes
DateToken
→
RegexParser
def
replaceWithLabel
(
tmp:
String
)
:
String
Definition Classes
DateToken
→
SpecialClassParser
def
separate
(
word:
String
)
:
String
def
serializeTransducer
(
aOutputStream:
ObjectOutputStream
,
t:
ITransducer
[
Candidate
]
)
:
Unit
Definition Classes
SerializableClass
def
setTransducer
(
t:
ITransducer
[
Candidate
]
)
:
SpecialClassParser
Definition Classes
SpecialClassParser
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
var
transducer
:
ITransducer
[
Candidate
]
Definition Classes
SpecialClassParser
def
wLevenshteinDist
(
s1:
String
,
s2:
String
,
weights:
Map
[
String
,
Map
[
String
,
Float
]]
)
:
Float
Definition Classes
WeightedLevenshtein
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
write
(
kryo:
Kryo
,
output:
Output
)
:
Unit
Definition Classes
SerializableClass
→ KryoSerializable
Inherited from
SerializableClass
Inherited from
KryoSerializable
Inherited from
Serializable
Inherited from
Serializable
Inherited from
WeightedLevenshtein
Inherited from
RegexParser
Inherited from
SpecialClassParser
Inherited from
AnyRef
Inherited from
Any
Ungrouped