case class Match(nofHits: Int, nofHitsWeighted: Double, cov: Double, covWeighted: Double, similarity: Double, matchPairs: List[(String, String)]) extends Product with Serializable
Class that provides various key figures for a comparison. This class would be used by the NameSimilarity class. You can only consume them as a result.
- nofHits
Number of hits, matching name elements.
- nofHitsWeighted
Number of hits, matching name elements, but weighted. Some matches has a lower weight than 1.
- cov
Coverage. Number of hits in relation to the longer name.
- covWeighted
Coverage. Number of hits weighted in relation to the longer name, also weighted number of name elements.
- similarity
Depending on the ratio of the length - nofHits the similarity is calculated as follows: covW + ((1-covW)/x
- matchPairs
A list that contains all pairs of name elements that were recognized as hits.
- Alphabetic
- By Inheritance
- Match
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Match(nofHits: Int, nofHitsWeighted: Double, cov: Double, covWeighted: Double, similarity: Double, matchPairs: List[(String, String)])
- nofHits
Number of hits, matching name elements.
- nofHitsWeighted
Number of hits, matching name elements, but weighted. Some matches has a lower weight than 1.
- cov
Coverage. Number of hits in relation to the longer name.
- covWeighted
Coverage. Number of hits weighted in relation to the longer name, also weighted number of name elements.
- similarity
Depending on the ratio of the length - nofHits the similarity is calculated as follows: covW + ((1-covW)/x
- matchPairs
A list that contains all pairs of name elements that were recognized as hits.
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( ... )
- val cov: Double
- val covWeighted: Double
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val matchPairs: List[(String, String)]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nofHits: Int
- val nofHitsWeighted: Double
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val similarity: Double
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )