public class FindCorrespondences
extends java.lang.Object
Constructor and Description |
---|
FindCorrespondences() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
formatQueryString(java.lang.String keyColumnString,
int maxEditDistance)
formatQueryString
this small method takes the keyColumnString from one table and prepares it so that it can be used for searching tables with similar key columns.
|
static de.uni_mannheim.informatik.dws.winter.processing.Processable<de.uni_mannheim.informatik.dws.winter.model.Correspondence<uploadTable.additionalWinterClasses.MatchableTableColumn,uploadTable.additionalWinterClasses.MatchableTableRow>> |
getDuplicateBasedSchemaMatches(de.uni_mannheim.informatik.dws.winter.model.DataSet<uploadTable.additionalWinterClasses.MatchableTableRow,uploadTable.additionalWinterClasses.MatchableTableColumn> data1,
de.uni_mannheim.informatik.dws.winter.model.DataSet<uploadTable.additionalWinterClasses.MatchableTableRow,uploadTable.additionalWinterClasses.MatchableTableColumn> data2,
java.io.File file1,
java.io.File file2,
de.uni_mannheim.informatik.dws.winter.processing.Processable<de.uni_mannheim.informatik.dws.winter.model.Correspondence<uploadTable.additionalWinterClasses.MatchableTableRow,uploadTable.additionalWinterClasses.MatchableTableColumn>> instanceCorrespondences,
java.lang.String correspondenceFolderPath)
getDuplicateBasedSchemaMatches
This method uses the previously found instance-matches between two tables to identify the schema-matches between these tables.
|
static de.uni_mannheim.informatik.dws.winter.processing.Processable<de.uni_mannheim.informatik.dws.winter.model.Correspondence<uploadTable.additionalWinterClasses.MatchableTableRow,uploadTable.additionalWinterClasses.MatchableTableColumn>> |
getInstanceMatches(de.uni_mannheim.informatik.dws.winter.model.DataSet<uploadTable.additionalWinterClasses.MatchableTableRow,uploadTable.additionalWinterClasses.MatchableTableColumn> data1,
de.uni_mannheim.informatik.dws.winter.model.DataSet<uploadTable.additionalWinterClasses.MatchableTableRow,uploadTable.additionalWinterClasses.MatchableTableColumn> data2,
java.io.File file1,
java.io.File file2,
java.lang.String correspondenceFolderPath)
getInstanceMatches
This method finds the instance-matches between a pair of tables and returns these instance matches to a csv-file
For finding instance matches, all NxM row combinations between the two tables are considered.
|
static void |
main(java.lang.String[] args)
The main Method
This is where the program starts.
|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- java.lang.Exception
public static de.uni_mannheim.informatik.dws.winter.processing.Processable<de.uni_mannheim.informatik.dws.winter.model.Correspondence<uploadTable.additionalWinterClasses.MatchableTableRow,uploadTable.additionalWinterClasses.MatchableTableColumn>> getInstanceMatches(de.uni_mannheim.informatik.dws.winter.model.DataSet<uploadTable.additionalWinterClasses.MatchableTableRow,uploadTable.additionalWinterClasses.MatchableTableColumn> data1, de.uni_mannheim.informatik.dws.winter.model.DataSet<uploadTable.additionalWinterClasses.MatchableTableRow,uploadTable.additionalWinterClasses.MatchableTableColumn> data2, java.io.File file1, java.io.File file2, java.lang.String correspondenceFolderPath) throws java.lang.Exception
data1
- data2
- file1
- file2
- correspondenceFolderPath
- deternimePrecisionAndRecall
- fileLocationsForEvaluation
- java.lang.Exception
public static de.uni_mannheim.informatik.dws.winter.processing.Processable<de.uni_mannheim.informatik.dws.winter.model.Correspondence<uploadTable.additionalWinterClasses.MatchableTableColumn,uploadTable.additionalWinterClasses.MatchableTableRow>> getDuplicateBasedSchemaMatches(de.uni_mannheim.informatik.dws.winter.model.DataSet<uploadTable.additionalWinterClasses.MatchableTableRow,uploadTable.additionalWinterClasses.MatchableTableColumn> data1, de.uni_mannheim.informatik.dws.winter.model.DataSet<uploadTable.additionalWinterClasses.MatchableTableRow,uploadTable.additionalWinterClasses.MatchableTableColumn> data2, java.io.File file1, java.io.File file2, de.uni_mannheim.informatik.dws.winter.processing.Processable<de.uni_mannheim.informatik.dws.winter.model.Correspondence<uploadTable.additionalWinterClasses.MatchableTableRow,uploadTable.additionalWinterClasses.MatchableTableColumn>> instanceCorrespondences, java.lang.String correspondenceFolderPath) throws java.io.IOException
data1
- data2
- file1
- file2
- instanceCorrespondences
- correspondenceFolderPath
- java.io.IOException
public static java.lang.String formatQueryString(java.lang.String keyColumnString, int maxEditDistance)
keyColumnString
- maxEditDistance
-