Skip to content

Commit

Permalink
Fixed issue with logger in main classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
gpapadis committed Mar 3, 2018
1 parent 0a55aaf commit 65f16da
Show file tree
Hide file tree
Showing 20 changed files with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.scify.jedai.utilities.BlocksPerformance;
import org.scify.jedai.utilities.datastructures.BilateralDuplicatePropagation;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -35,6 +36,8 @@
public class TestAllMethodsCleanCleanER {

public static void main(String[] args) {
BasicConfigurator.configure();

String[] entitiesFilePath = {"data" + File.separator + "cleanCleanErDatasets" + File.separator + "abtProfiles",
"data" + File.separator + "cleanCleanErDatasets" + File.separator + "buyProfiles",
"data" + File.separator + "cleanCleanErDatasets" + File.separator + "amazonProfiles",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.scify.jedai.utilities.enumerations.BlockBuildingMethod;
import org.scify.jedai.utilities.BlocksPerformance;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -35,6 +36,8 @@
public class TestAllMethodsDirtyER {

public static void main(String[] args) {
BasicConfigurator.configure();

String mainDirectory = "data" + File.separator + "dirtyErDatasets" + File.separator;
String[] datasets = {"abtBuy", "amazonGp", "cddb", "census", "cora", "dblpAcm", "dblpScholar", "movies", "restaurant"};
for (String dataset : datasets) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.scify.jedai.utilities.enumerations.BlockBuildingMethod;
import org.scify.jedai.utilities.BlocksPerformance;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -38,6 +39,8 @@

public class TestAllMethods {
public static void main(String[] args) {
BasicConfigurator.configure();

String entitiesFilePath = "data" + File.separator + "dirtyErDatasets" + File.separator + "cddbProfiles";
String groundTruthFilePath = "data" + File.separator + "dirtyErDatasets" + File.separator + "cddbIdDuplicates";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.scify.jedai.utilities.enumerations.BlockBuildingMethod;
import org.scify.jedai.utilities.BlocksPerformance;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -38,6 +39,8 @@

public class TestAllMethodsCcer {
public static void main(String[] args) {
BasicConfigurator.configure();

String mainDirectory = "data" + File.separator + "cleanCleanErDatasets" + File.separator;
String[] entitiesFilePaths = { mainDirectory + "abtProfiles", mainDirectory + "buyProfiles" };
String groundTruthFilePath = mainDirectory + "abtBuyIdDuplicates";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.scify.jedai.utilities.BlocksPerformance;
import org.scify.jedai.utilities.enumerations.BlockCleaningMethod;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -38,6 +39,8 @@
public class TestAllStepMethods {

public static void main(String[] args) {
BasicConfigurator.configure();

String entitiesFilePath = "data" + File.separator + "dirtyErDatasets" + File.separator + "cddbProfiles";
String groundTruthFilePath = "data" + File.separator + "dirtyErDatasets" + File.separator + "cddbIdDuplicates";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.scify.jedai.utilities.datastructures.BilateralDuplicatePropagation;
import org.scify.jedai.utilities.enumerations.BlockCleaningMethod;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -38,6 +39,8 @@
public class TestAllStepMethodsCcer {

public static void main(String[] args) {
BasicConfigurator.configure();

String mainDirectory = "data" + File.separator + "cleanCleanErDatasets" + File.separator;
String[] entitiesFilePaths = { mainDirectory + "abtProfiles", mainDirectory + "buyProfiles" };
String groundTruthFilePath = mainDirectory + "abtBuyIdDuplicates";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.scify.jedai.utilities.enumerations.BlockBuildingMethod;
import org.scify.jedai.utilities.BlocksPerformance;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -38,6 +39,8 @@

public class TestAllMethods {
public static void main(String[] args) {
BasicConfigurator.configure();

String entitiesFilePath = "data" + File.separator + "dirtyErDatasets" + File.separator + "cddbProfiles";
String groundTruthFilePath = "data" + File.separator + "dirtyErDatasets" + File.separator + "cddbIdDuplicates";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.scify.jedai.utilities.enumerations.BlockBuildingMethod;
import org.scify.jedai.utilities.BlocksPerformance;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -38,6 +39,8 @@

public class TestAllMethodsCcer {
public static void main(String[] args) {
BasicConfigurator.configure();

String mainDirectory = "data" + File.separator + "cleanCleanErDatasets" + File.separator;
String[] entitiesFilePaths = { mainDirectory + "abtProfiles", mainDirectory + "buyProfiles" };
String groundTruthFilePath = mainDirectory + "abtBuyIdDuplicates";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import org.scify.jedai.utilities.enumerations.BlockCleaningMethod;
import org.scify.jedai.utilities.enumerations.ComparisonCleaningMethod;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -39,6 +40,8 @@
public class TestAllStepMethods {

public static void main(String[] args) {
BasicConfigurator.configure();

String entitiesFilePath = "data" + File.separator + "dirtyErDatasets" + File.separator + "cddbProfiles";
String groundTruthFilePath = "data" + File.separator + "dirtyErDatasets" + File.separator + "cddbIdDuplicates";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.scify.jedai.utilities.enumerations.BlockCleaningMethod;
import org.scify.jedai.utilities.enumerations.ComparisonCleaningMethod;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -40,6 +41,8 @@
public class TestAllStepMethodsCcer {

public static void main(String[] args) {
BasicConfigurator.configure();

String mainDirectory = "data" + File.separator + "cleanCleanErDatasets" + File.separator;
String[] entitiesFilePaths = { mainDirectory + "abtProfiles", mainDirectory + "buyProfiles" };
String groundTruthFilePath = mainDirectory + "abtBuyIdDuplicates";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import org.scify.jedai.utilities.PrintToFile;
import java.io.FileNotFoundException;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -46,6 +47,8 @@
public class CsvDblpAcm {

public static void main(String[] args) throws FileNotFoundException {
BasicConfigurator.configure();

String mainDirectory = "data" + File.separator + "cleanCleanErDatasets" + File.separator + "DBLP-ACM" + File.separator;

EntityCSVReader csvEntityReader = new EntityCSVReader(mainDirectory + "DBLP2.csv");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import org.scify.jedai.utilities.PrintToFile;
import java.io.FileNotFoundException;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -47,6 +48,8 @@
public class RdfCsvDblpAcm {

public static void main(String[] args) throws FileNotFoundException {
BasicConfigurator.configure();

String mainDirectory = "data" + File.separator + "cleanCleanErDatasets" + File.separator;

EntityRDFReader rdfEntityReader = new EntityRDFReader(mainDirectory + "DBLP2toRDFxml.xml");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import org.scify.jedai.utilities.PrintToFile;
import java.io.FileNotFoundException;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -46,6 +47,8 @@
public class RdfDblpAcm {

public static void main(String[] args) throws FileNotFoundException {
BasicConfigurator.configure();

String mainDirectory = "data" + File.separator + "cleanCleanErDatasets" + File.separator;

EntityRDFReader rdfEntityReader = new EntityRDFReader(mainDirectory + "DBLP2toRDFxml.xml");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import org.scify.jedai.utilities.PrintToFile;
import java.io.FileNotFoundException;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -48,6 +49,8 @@
public class SerializedDblpAcm {

public static void main(String[] args) throws FileNotFoundException {
BasicConfigurator.configure();

String mainDirectory = "data" + File.separator + "cleanCleanErDatasets" + File.separator;

IEntityReader serializedEntityReader = new EntitySerializationReader(mainDirectory + "dblpProfiles");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.scify.jedai.datareader.entityreader.EntitySerializationReader;
import org.scify.jedai.datareader.entityreader.IEntityReader;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -30,6 +31,8 @@

public class ViewEntityProfiles {
public static void main(String[] args) {
BasicConfigurator.configure();

String mainDirectory = "data" + File.separator + "cleanCleanErDatasets" + File.separator;

IEntityReader serializedEntityReader = new EntitySerializationReader(mainDirectory + "dblpProfiles");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.scify.jedai.utilities.enumerations.EntityClusteringDerMethod;
import org.scify.jedai.utilities.enumerations.EntityMatchingMethod;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -43,6 +44,8 @@
public class TestAllMethods {

public static void main(String[] args) {
BasicConfigurator.configure();

String entitiesFilePath = "data" + File.separator + "dirtyErDatasets" + File.separator + "coraProfiles";
String groundTruthFilePath = "data" + File.separator + "dirtyErDatasets" + File.separator + "coraIdDuplicates";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.scify.jedai.utilities.enumerations.EntityClusteringCcerMethod;
import org.scify.jedai.utilities.enumerations.EntityMatchingMethod;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -43,6 +44,8 @@
public class TestAllMethodsCcer {

public static void main(String[] args) {
BasicConfigurator.configure();

String mainDirectory = "data" + File.separator + "cleanCleanErDatasets" + File.separator;
String[] entitiesFilePaths = { mainDirectory + "amazonProfiles", mainDirectory + "gpProfiles" };
String groundTruthFilePath = mainDirectory + "amazonGpIdDuplicates";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.scify.jedai.utilities.enumerations.RepresentationModel;
import org.scify.jedai.utilities.enumerations.SimilarityMetric;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -40,6 +41,8 @@

public class TestAllMethods {
public static void main(String[] args) {
BasicConfigurator.configure();

String entitiesFilePath = "data" + File.separator + "dirtyErDatasets" + File.separator + "cddbProfiles";
String groundTruthFilePath = "data" + File.separator + "dirtyErDatasets" + File.separator + "cddbIdDuplicates";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import org.scify.jedai.utilities.enumerations.SimilarityMetric;

import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -39,6 +40,8 @@
public class TestGroupLinkage {

public static void main(String[] args) {
BasicConfigurator.configure();

String entitiesFilePath1 = "/home/ethanos/Downloads/JEDAIfiles/im-identity/oaei2014_identity_aPROFILES";
String groundTruthFilePath = "/home/ethanos/Downloads/JEDAIfiles/cddbTestDuplicates";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.scify.jedai.utilities.datastructures.AbstractDuplicatePropagation;
import org.scify.jedai.utilities.datastructures.UnilateralDuplicatePropagation;
import java.util.List;
import org.apache.log4j.BasicConfigurator;

/**
*
Expand All @@ -32,6 +33,8 @@
public class DirtyErDatasetStatistics {

public static void main(String[] args) {
BasicConfigurator.configure();

String mainFolder = "data" + File.separator + "dirtyErDatasets" + File.separator;
String[] entitiesFiles = {mainFolder + "restaurantProfiles",
mainFolder + "censusProfiles",
Expand Down

0 comments on commit 65f16da

Please sign in to comment.