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
8typedef unsigned int ui;
9
10inline 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 */
22enum 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 */
38enum class TokenizerType
39{
40 Dlm = 0,
41 QGram = 1,
42 WSpace = 2,
43 AlphaNumeric = 3
44};
45
46
47enum class SimFuncType
48{
49 JACCARD = 0,
50 COSINE = 1,
51 DICE = 2
52};
53
54
55/*
56 * Main function
57 */
58enum class JoinType
59{
60 SELF = 0,
61 RS = 1
62};
63
64enum class JoinSettings
65{
66 SEQUENTIAL = 0,
67 PARALLEL = 1
68};
69
70
71#endif // _TYPE_H_
TokenizerType
Definition type.h:39
SimFuncType
Definition type.h:48
JoinSettings
Definition type.h:65
unsigned int ui
Definition type.h:8
char OSseparator()
Definition type.h:10
TableType
Definition type.h:23
JoinType
Definition type.h:59