Packages

class GenericRegexParser extends RegexParser with WeightedLevenshtein with SerializableClass

Linear Supertypes
SerializableClass, KryoSerializable, Serializable, Serializable, WeightedLevenshtein, RegexParser, SpecialClassParser, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenericRegexParser
  2. SerializableClass
  3. KryoSerializable
  4. Serializable
  5. Serializable
  6. WeightedLevenshtein
  7. RegexParser
  8. SpecialClassParser
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GenericRegexParser(regex: String, label: String, maxDist: Int = 3)

Value Members

  1. def backTrack(dist: Array[Array[Float]], s2: String, s1: String, j: Int, i: Int, acc: Seq[(String, String)]): Seq[(String, String)]
    Definition Classes
    WeightedLevenshtein
  2. def deserializeTransducer(aInputStream: ObjectInputStream): Transducer[DawgNode, Candidate]
    Definition Classes
    SerializableClass
  3. def generateTransducer: ITransducer[Candidate]
    Definition Classes
    RegexParserSpecialClassParser
  4. def inVocabulary(word: String): Boolean
    Definition Classes
    SpecialClassParser
  5. var label: String
    Definition Classes
    GenericRegexParserSpecialClassParser
  6. def learnDist(s1: String, s2: String): Seq[(String, String)]
    Definition Classes
    WeightedLevenshtein
  7. def levenshteinDist(s11: String, s22: String)(cost: (String, String) ⇒ Float): Float
    Definition Classes
    WeightedLevenshtein
  8. def loadWeights(filename: String): Map[String, Map[String, Float]]
    Definition Classes
    WeightedLevenshtein
  9. var maxDist: Int
    Definition Classes
    GenericRegexParserSpecialClassParser
  10. def read(kryo: Kryo, input: Input): Unit
    Definition Classes
    SerializableClass → KryoSerializable
  11. var regex: String
    Definition Classes
    GenericRegexParserRegexParser
  12. def replaceWithLabel(tmp: String): String
    Definition Classes
    SpecialClassParser
  13. def serializeTransducer(aOutputStream: ObjectOutputStream, t: ITransducer[Candidate]): Unit
    Definition Classes
    SerializableClass
  14. def setTransducer(t: ITransducer[Candidate]): SpecialClassParser
    Definition Classes
    SpecialClassParser
  15. val transducer: ITransducer[Candidate]
    Definition Classes
    SpecialClassParser
    Annotations
    @transient()
  16. def wLevenshteinDist(s1: String, s2: String, weights: Map[String, Map[String, Float]]): Float
    Definition Classes
    WeightedLevenshtein
  17. def write(kryo: Kryo, output: Output): Unit
    Definition Classes
    SerializableClass → KryoSerializable