class GenericRegexParser extends RegexParser with WeightedLevenshtein with SerializableClass
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GenericRegexParser
- SerializableClass
- KryoSerializable
- Serializable
- Serializable
- WeightedLevenshtein
- RegexParser
- SpecialClassParser
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new GenericRegexParser(regex: String, label: String, maxDist: Int = 3)
Value Members
-
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
deserializeTransducer(aInputStream: ObjectInputStream): Transducer[DawgNode, Candidate]
- Definition Classes
- SerializableClass
-
def
generateTransducer: ITransducer[Candidate]
- Definition Classes
- RegexParser → SpecialClassParser
-
def
inVocabulary(word: String): Boolean
- Definition Classes
- SpecialClassParser
-
var
label: String
- Definition Classes
- GenericRegexParser → 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
-
var
maxDist: Int
- Definition Classes
- GenericRegexParser → SpecialClassParser
-
def
read(kryo: Kryo, input: Input): Unit
- Definition Classes
- SerializableClass → KryoSerializable
-
var
regex: String
- Definition Classes
- GenericRegexParser → RegexParser
-
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
-
val
transducer: ITransducer[Candidate]
- Definition Classes
- SpecialClassParser
- Annotations
- @transient()
-
def
wLevenshteinDist(s1: String, s2: String, weights: Map[String, Map[String, Float]]): Float
- Definition Classes
- WeightedLevenshtein
-
def
write(kryo: Kryo, output: Output): Unit
- Definition Classes
- SerializableClass → KryoSerializable