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, count of matching name elements.
- nofHitsWeighted
Number of hits, count of 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, but 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
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Match(nofHits: Int, nofHitsWeighted: Double, cov: Double, covWeighted: Double, similarity: Double, matchPairs: List[(String, String)])
- nofHits
Number of hits, count of matching name elements.
- nofHitsWeighted
Number of hits, count of 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, but 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val cov: Double
- val covWeighted: Double
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val similarity: Double
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated