Entity Matching by Similarity Join
Loading...
Searching...
No Matches
type.h
Go to the documentation of this file.
1
/*
2
* author: Yunqi Li
3
* contact: liyunqixa@gmail.com
4
*/
5
#ifndef _TYPE_H_
6
#define _TYPE_H_
7
8
typedef
unsigned
int
ui
;
9
10
inline
char
OSseparator
()
11
{
12
#ifdef _WIN32
13
return
'\\'
;
14
#else
15
return
'/'
;
16
#endif
17
}
18
19
/*
20
* Table type: gold record or data table
21
*/
22
enum class
TableType
23
{
24
Gold
= 0,
25
Data
= 1,
26
Invalid
= 2
27
};
28
29
30
/*
31
* ChunkerArrayType
32
*/
33
34
35
/*
36
* Similarity functions & tokenizers
37
*/
38
enum class
TokenizerType
39
{
40
Dlm
= 0,
41
QGram
= 1,
42
WSpace
= 2,
43
AlphaNumeric
= 3
44
};
45
46
47
enum class
SimFuncType
48
{
49
JACCARD
= 0,
50
COSINE
= 1,
51
DICE
= 2
52
};
53
54
55
/*
56
* Main function
57
*/
58
enum class
JoinType
59
{
60
SELF
= 0,
61
RS
= 1
62
};
63
64
enum class
JoinSettings
65
{
66
SEQUENTIAL
= 0,
67
PARALLEL
= 1
68
};
69
70
71
#endif
// _TYPE_H_
TokenizerType
TokenizerType
Definition
type.h:39
TokenizerType::WSpace
@ WSpace
TokenizerType::Dlm
@ Dlm
TokenizerType::QGram
@ QGram
TokenizerType::AlphaNumeric
@ AlphaNumeric
SimFuncType
SimFuncType
Definition
type.h:48
SimFuncType::DICE
@ DICE
SimFuncType::JACCARD
@ JACCARD
SimFuncType::COSINE
@ COSINE
JoinSettings
JoinSettings
Definition
type.h:65
JoinSettings::SEQUENTIAL
@ SEQUENTIAL
JoinSettings::PARALLEL
@ PARALLEL
ui
unsigned int ui
Definition
type.h:8
OSseparator
char OSseparator()
Definition
type.h:10
TableType
TableType
Definition
type.h:23
TableType::Invalid
@ Invalid
TableType::Gold
@ Gold
TableType::Data
@ Data
JoinType
JoinType
Definition
type.h:59
JoinType::RS
@ RS
JoinType::SELF
@ SELF
cpp
common
type.h
Generated by
1.12.0