Packages

c

com.johnsnowlabs.util.strings

NGramFingerprintKeyer

class NGramFingerprintKeyer extends FingerprintKeyer

Fingerprint keyer which generates a fingerprint from a sorted list of unique character N-grams after removing all whitespace, control characters, and punctuation. N-grams are concatenated to form a single output key.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NGramFingerprintKeyer
  2. FingerprintKeyer
  3. Keyer
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NGramFingerprintKeyer()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def key(s: String, o: <repeated...>[AnyRef]): String
    Definition Classes
    NGramFingerprintKeyerFingerprintKeyerKeyer
  13. def key(s: String): String
    Definition Classes
    Keyer
  14. def keyFromString(s: String): String
    Definition Classes
    Keyer
  15. def keyWithOps(s: String, o: <repeated...>[AnyRef]): Pair[Integer, String]
  16. def minOperationsStartEnd(arr: Array[Int]): Integer
    Attributes
    protected[strings]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def normalize(s: String, strong: Boolean): String
    Attributes
    protected[strings]
    Definition Classes
    FingerprintKeyer
  19. def normalize(s: String): String
    Attributes
    protected[strings]
    Definition Classes
    FingerprintKeyer
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def sorted_ngrams(s: String, size: Int): Stream[String]

    Generate a stream of sorted unique character N-grams from a string

    Generate a stream of sorted unique character N-grams from a string

    s

    String to generate N-grams from

    size

    number of characters per N-gram

    returns

    a stream of sorted unique N-gram Strings

    Attributes
    protected[strings]
  23. def sorted_ngrams_minops(s: String, size: Int): Pair[Integer, Stream[String]]

    Generate a stream of sorted unique character N-grams from a string

    Generate a stream of sorted unique character N-grams from a string

    s

    String to generate N-grams from

    size

    number of characters per N-gram

    returns

    a Pair with the number of operations to achieve the fingerprint and the stream of sorted unique N-gram Strings

    Attributes
    protected[strings]
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def asciify(s: String): String

    Attributes
    protected[strings]
    Definition Classes
    FingerprintKeyer
    Annotations
    @Deprecated
    Deprecated

Inherited from FingerprintKeyer

Inherited from Keyer

Inherited from AnyRef

Inherited from Any

Ungrouped