class NameSimilarity extends AnyRef
This class provides methods to calculate the similarity of two normalized names.
- Alphabetic
- By Inheritance
- NameSimilarity
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new NameSimilarity(similarityConfig: SimilarityConfig = new SimilarityConfig())
- similarityConfig
Optional. A SimilarityConfiguration.
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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getNameSimilarity(normNameA: NormalizedName, normNameB: NormalizedName): Match
Main method to calculate the similarity of two normalized names.
Main method to calculate the similarity of two normalized names. It returns a Match object that provides various key figures to match. Attention: Make sure that you only compare the same name types (person or organization). Maybe it's better to use the specific method (person or organisation).
- normNameA
NormalizedName a).
- normNameB
NormalizedName b).
- returns
Return a Match object with the relevant key figures of the match.
- def getOrganisationNameSimilarity(nameA: String, nameB: String): Match
Standard method to calculate the similarity of two organisation names.
Standard method to calculate the similarity of two organisation names. It returns a Match object that provides various key figures to match.
- nameA
Name a) as a full name.
- nameB
Name b) as a full name.
- def getPersonNameSimilarity(nameA: String, nameB: String): Match
Standard method to calculate the simialrity of two person names.
Standard method to calculate the simialrity of two person names. It returns a Match object that provides various key figures to match.
- nameA
Name a) as a full name.
- nameB
Name b) as a full name.
- returns
Retun a Match object with the relevant match key figures.
- 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()
- val similarityConfig: SimilarityConfig
- 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(classOf[java.lang.InterruptedException])
- 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()