object EditDistance
this object provides useful methods using the edit distance as based method.
- Alphabetic
- By Inheritance
- EditDistance
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- @native() @throws( ... )
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getEditDistance[A](textA: Iterable[A], textB: Iterable[A]): (Int, Double, Double)
Returns three values for the edit distance (a, b, c).
Returns three values for the edit distance (a, b, c). a = Edit distance as integer (exmpl. 2) b = The reduction value as double (exmpl. 0.5) c = The netto/weighted edit distance as double, a-b (exampl. 1.5)
- textA
Text a) for comparison.
- textB
Text b) for comparison.
- returns
Return a Tuple with the edit distande, reduction value an weighted edit distance.
-
def
getEditDistanceSimilarity(textA: String, textB: String): Double
Returns a weighted normalized similarity value between 0 and 1.
Returns a weighted normalized similarity value between 0 and 1. 0 means no similarity, 1 is 100% similarity/exact match.
- textA
Text a) for comparison.
- textB
Text b) for comparison.
- returns
Return the edit distance similarity (value between 0 and 1).
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @native() @throws( ... )