-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_snow_match_normalised
34 lines (24 loc) · 1.23 KB
/
run_snow_match_normalised
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
trap times EXIT
source SET_VARS
CLS="de.uni_mannheim.informatik.dws.tnt.match.cli.NormaliseWebTables"
ENT="50"
DEN="0.0"
FD="0.95"
#INST="10"
INST="0"
MATCHER="Trivial"
DEF="knowledgebase/"
RATIO="0.00"
STITCH="BothTablesFullyMapped"
NORM="_2NF"
host="$1"
echo $(date)": $host"
OUT="$host/normalised_M_norm"
rm -r $OUT
rm -r $OUT"_csv"
rm -r $OUT"_fd_relations"
$J8 $VMARGS -cp $JAR $CLS -web $host/union_dedup_json/ -results $OUT -csv $OUT"_csv" -candidateKeys $host/evaluation/candidateKeys.tsv -correspondences $host/evaluation/union_goldstandard.tsv -contextCorrespondences $host/evaluation/context_correspondences.tsv -entityStructure $host/evaluation/entity_structure.tsv -entityDefinition $DEF -functionalDependencies $host/evaluation/functional_dependencies.tsv -matchTables -matcher $MATCHER -normalisation $NORM -stitching $STITCH -minEntities $ENT -minDensity $DEN -minFDApproximation $FD -minInstanceCorrespondences $INST -logEntityDetection -serialise -logFDStitching -evaluateNormalisation -taneRoot $TANE_HOME > "$host/snow_match_norm.log" 2>&1
cp $host/column_classification.tsv $host/column_classification_M_norm.tsv
cp $host/entitytable_evaluation.tsv $host/entitytable_evaluation_M_norm.tsv
echo $(date)": $host done."