-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the transformation of the extended contingency matrix into JSON…
… LD that is given to the user. Removed the German and french DBpedias from the entity checking properities.
- Loading branch information
1 parent
331498f
commit fd83ddd
Showing
8 changed files
with
615 additions
and
476 deletions.
There are no files selected for viewing
939 changes: 487 additions & 452 deletions
939
src/main/java/org/aksw/gerbil/database/ExperimentDAOImpl.java
Large diffs are not rendered by default.
Oops, something went wrong.
59 changes: 59 additions & 0 deletions
59
src/main/java/org/aksw/gerbil/database/IntByteArrayPair.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
package org.aksw.gerbil.database; | ||
|
||
import java.util.Arrays; | ||
|
||
public class IntByteArrayPair { | ||
|
||
public int first; | ||
public byte[] second; | ||
|
||
public IntByteArrayPair() { | ||
} | ||
|
||
public IntByteArrayPair(int first, byte[] second) { | ||
this.first = first; | ||
this.second = second; | ||
} | ||
|
||
public int getFirst() { | ||
return first; | ||
} | ||
|
||
public void setFirst(int first) { | ||
this.first = first; | ||
} | ||
|
||
public byte[] getSecond() { | ||
return second; | ||
} | ||
|
||
public void setSecond(byte[] second) { | ||
this.second = second; | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
final int prime = 31; | ||
int result = 1; | ||
result = prime * result + first; | ||
result = prime * result + Arrays.hashCode(second); | ||
return result; | ||
} | ||
|
||
@Override | ||
public boolean equals(Object obj) { | ||
if (this == obj) | ||
return true; | ||
if (obj == null) | ||
return false; | ||
if (getClass() != obj.getClass()) | ||
return false; | ||
IntByteArrayPair other = (IntByteArrayPair) obj; | ||
if (first != other.first) | ||
return false; | ||
if (!Arrays.equals(second, other.second)) | ||
return false; | ||
return true; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,7 +101,7 @@ Configuration: | |
- ref: STDOUT | ||
- ref: File | ||
Root: | ||
level: warn | ||
level: info | ||
AppenderRef: | ||
- ref: STDOUT | ||
- ref: File |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters