Entity Matching by Similarity Join
 
Loading...
Searching...
No Matches
SimFuncs Class Reference

#include <simfunc.h>

Public Member Functions

 SimFuncs ()=default
 
 ~SimFuncs ()=default
 
 SimFuncs (const SimFuncs &other)=delete
 
 SimFuncs (SimFuncs &&other)=delete
 

Static Public Member Functions

static int overlap (const std::vector< ui > &v1, const std::vector< ui > &v2)
 
static double weightedOverlap (const std::vector< ui > &v1, const std::vector< ui > &v2, const std::vector< double > &wordwt)
 
static int levDist (const std::string &v1, const std::string &v2)
 
static double inverseSqrt (double number)
 
static int tripletMin (int a, int b, int c)
 
static double jaccard (const std::vector< ui > &v1, const std::vector< ui > &v2)
 
static double jaccard (const std::vector< ui > &v1, const std::vector< ui > &v2, int ovlp)
 
static double weightedJaccard (const std::vector< ui > &v1, const std::vector< ui > &v2, const std::vector< double > &wordwt, double v1rw, double v2rw)
 
static double weightedJaccard (double v1rw, double v2rw, double ovlp)
 
static double cosine (const std::vector< ui > &v1, const std::vector< ui > &v2)
 
static double cosine (const std::vector< ui > &v1, const std::vector< ui > &v2, int ovlp)
 
static double weightedCosine (const std::vector< ui > &v1, const std::vector< ui > &v2, const std::vector< double > &wordwt, double v1rw, double v2rw)
 
static double weightedCosine (double v1rw, double v2rw, double ovlp)
 
static double dice (const std::vector< ui > &v1, const std::vector< ui > &v2)
 
static double dice (const std::vector< ui > &v1, const std::vector< ui > &v2, int ovlp)
 
static double weightedDice (const std::vector< ui > &v1, const std::vector< ui > &v2, const std::vector< double > &wordwt, double v1rw, double v2rw)
 
static double weightedDice (double v1rw, double v2rw, double ovlp)
 
static double overlapCoeff (const std::vector< ui > &v1, const std::vector< ui > &v2)
 
static double overlapCoeff (const std::vector< ui > &v1, const std::vector< ui > &v2, int ovlp)
 
static double weightedOverlapCoeff (const std::vector< ui > &v1, const std::vector< ui > &v2, const std::vector< double > &wordwt, double v1rw, double v2rw)
 
static double weightedOverlapCoeff (double v1rw, double v2rw, double ovlp)
 
static double levSim (const std::string &v1, const std::string &v2)
 
static bool exactMatch (const std::string &s1, const std::string &s2)
 
static double absoluteNorm (const std::string &s1, const std::string &s2)
 
static double jaroWinkler (const std::string &s1, const std::string &s2)
 
static double mongeElkan (const std::string &s1, const std::string &s2)
 

Constructor & Destructor Documentation

◆ SimFuncs() [1/3]

SimFuncs::SimFuncs ( )
default

◆ ~SimFuncs()

SimFuncs::~SimFuncs ( )
default

◆ SimFuncs() [2/3]

SimFuncs::SimFuncs ( const SimFuncs & other)
delete

◆ SimFuncs() [3/3]

SimFuncs::SimFuncs ( SimFuncs && other)
delete

Member Function Documentation

◆ absoluteNorm()

double SimFuncs::absoluteNorm ( const std::string & s1,
const std::string & s2 )
static

◆ cosine() [1/2]

double SimFuncs::cosine ( const std::vector< ui > & v1,
const std::vector< ui > & v2 )
static

◆ cosine() [2/2]

double SimFuncs::cosine ( const std::vector< ui > & v1,
const std::vector< ui > & v2,
int ovlp )
static

◆ dice() [1/2]

double SimFuncs::dice ( const std::vector< ui > & v1,
const std::vector< ui > & v2 )
static

◆ dice() [2/2]

double SimFuncs::dice ( const std::vector< ui > & v1,
const std::vector< ui > & v2,
int ovlp )
static

◆ exactMatch()

bool SimFuncs::exactMatch ( const std::string & s1,
const std::string & s2 )
static

◆ inverseSqrt()

double SimFuncs::inverseSqrt ( double number)
static

◆ jaccard() [1/2]

double SimFuncs::jaccard ( const std::vector< ui > & v1,
const std::vector< ui > & v2 )
static

◆ jaccard() [2/2]

double SimFuncs::jaccard ( const std::vector< ui > & v1,
const std::vector< ui > & v2,
int ovlp )
static

◆ jaroWinkler()

double SimFuncs::jaroWinkler ( const std::string & s1,
const std::string & s2 )
static

◆ levDist()

int SimFuncs::levDist ( const std::string & v1,
const std::string & v2 )
static

◆ levSim()

double SimFuncs::levSim ( const std::string & v1,
const std::string & v2 )
static

◆ mongeElkan()

double SimFuncs::mongeElkan ( const std::string & s1,
const std::string & s2 )
static

◆ overlap()

int SimFuncs::overlap ( const std::vector< ui > & v1,
const std::vector< ui > & v2 )
static

◆ overlapCoeff() [1/2]

double SimFuncs::overlapCoeff ( const std::vector< ui > & v1,
const std::vector< ui > & v2 )
static

◆ overlapCoeff() [2/2]

double SimFuncs::overlapCoeff ( const std::vector< ui > & v1,
const std::vector< ui > & v2,
int ovlp )
static

◆ tripletMin()

int SimFuncs::tripletMin ( int a,
int b,
int c )
static

◆ weightedCosine() [1/2]

double SimFuncs::weightedCosine ( const std::vector< ui > & v1,
const std::vector< ui > & v2,
const std::vector< double > & wordwt,
double v1rw,
double v2rw )
static

◆ weightedCosine() [2/2]

double SimFuncs::weightedCosine ( double v1rw,
double v2rw,
double ovlp )
static

◆ weightedDice() [1/2]

double SimFuncs::weightedDice ( const std::vector< ui > & v1,
const std::vector< ui > & v2,
const std::vector< double > & wordwt,
double v1rw,
double v2rw )
static

◆ weightedDice() [2/2]

double SimFuncs::weightedDice ( double v1rw,
double v2rw,
double ovlp )
static

◆ weightedJaccard() [1/2]

double SimFuncs::weightedJaccard ( const std::vector< ui > & v1,
const std::vector< ui > & v2,
const std::vector< double > & wordwt,
double v1rw,
double v2rw )
static

◆ weightedJaccard() [2/2]

double SimFuncs::weightedJaccard ( double v1rw,
double v2rw,
double ovlp )
static

◆ weightedOverlap()

double SimFuncs::weightedOverlap ( const std::vector< ui > & v1,
const std::vector< ui > & v2,
const std::vector< double > & wordwt )
static

◆ weightedOverlapCoeff() [1/2]

double SimFuncs::weightedOverlapCoeff ( const std::vector< ui > & v1,
const std::vector< ui > & v2,
const std::vector< double > & wordwt,
double v1rw,
double v2rw )
static

◆ weightedOverlapCoeff() [2/2]

double SimFuncs::weightedOverlapCoeff ( double v1rw,
double v2rw,
double ovlp )
static

The documentation for this class was generated from the following files: