com
.
johnsnowlabs
.
nlp
.
annotators
.
spell
.
context
.
parser
GenericVocabParser
Related Doc:
package parser
class
GenericVocabParser
extends
VocabParser
with
SerializableClass
Linear Supertypes
SerializableClass
,
KryoSerializable
,
Serializable
,
Serializable
,
VocabParser
,
SpecialClassParser
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
GenericVocabParser
SerializableClass
KryoSerializable
Serializable
Serializable
VocabParser
SpecialClassParser
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
GenericVocabParser
(
vocab:
Set
[
String
]
,
label:
String
,
maxDist:
Int
=
3
)
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
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
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
VocabParser
→
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
GenericVocabParser
→
SpecialClassParser
def
loadDataset
(
path:
String
,
col:
Option
[
String
] =
None
)
:
Set
[
String
]
Definition Classes
VocabParser
val
maxDist
:
Int
Definition Classes
GenericVocabParser
→
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
def
replaceWithLabel
(
tmp:
String
)
:
String
Definition Classes
SpecialClassParser
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
var
vocab
:
Set
[
String
]
Definition Classes
GenericVocabParser
→
VocabParser
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
VocabParser
Inherited from
SpecialClassParser
Inherited from
AnyRef
Inherited from
Any
Ungrouped