-
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 an interface and an implementation for scored spans.
- Loading branch information
1 parent
f7ce7bb
commit e4a8d06
Showing
5 changed files
with
404 additions
and
331 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,158 +1,158 @@ | ||
<!-- | ||
This file is part of NIF transfer library for the General Entity Annotator Benchmark. | ||
NIF transfer library for the General Entity Annotator Benchmark is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Lesser General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
NIF transfer library for the General Entity Annotator Benchmark is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with NIF transfer library for the General Entity Annotator Benchmark. If not, see <http://www.gnu.org/licenses/>. | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.aksw</groupId> | ||
<artifactId>gerbil.nif.transfer</artifactId> | ||
<version>1.1.0</version> | ||
<name>NIF transfer library for the General Entity Annotator Benchmark</name> | ||
<description>This project contains classes for transferring documents using NIF.</description> | ||
|
||
<properties> | ||
<java.version>1.7</java.version> | ||
<slf4j.version>1.7.5</slf4j.version> | ||
<junit.version>4.11</junit.version> | ||
<jena.version>2.13.0</jena.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<repositories> | ||
<repository> | ||
<id>maven.aksw.internal</id> | ||
<name>University Leipzig, AKSW Maven2 Repository</name> | ||
<url>http://maven.aksw.org/repository/internal</url> | ||
</repository> | ||
<repository> | ||
<id>maven.aksw.snapshots</id> | ||
<name>University Leipzig, AKSW Maven2 Repository</name> | ||
<url>http://maven.aksw.org/repository/snapshots</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
<!-- Jena for using NIF --> | ||
<dependency> | ||
<groupId>org.apache.jena</groupId> | ||
<artifactId>jena-core</artifactId> | ||
<version>${jena.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.jena</groupId> | ||
<artifactId>jena-arq</artifactId> | ||
<version>${jena.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>commons-io</groupId> | ||
<artifactId>commons-io</artifactId> | ||
<version>2.4</version> | ||
</dependency> | ||
|
||
<!-- slf4j: Logging API --> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>${slf4j.version}</version> | ||
</dependency> | ||
<!-- slf4j: Logging Binding - is already contained in aida --> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-log4j12</artifactId> | ||
<version>${slf4j.version}</version> | ||
</dependency> | ||
|
||
<!-- JUnit --> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>${junit.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.1</version> | ||
<configuration> | ||
<source>${java.version}</source> | ||
<target>${java.version}</target> | ||
</configuration> | ||
</plugin> | ||
<!-- Javadoc plugin for generating documentation --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>2.10.1</version> | ||
<configuration> | ||
<show>private</show> | ||
<nohelp>true</nohelp> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<!-- Source plugin for creating source file jar --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>2.4</version> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<!-- License management plugin --> | ||
<plugin> | ||
<groupId>com.mycila</groupId> | ||
<artifactId>license-maven-plugin</artifactId> | ||
<version>2.6</version> | ||
<configuration> | ||
<header>com/mycila/maven/plugin/license/templates/LGPL-3.txt</header> | ||
<properties> | ||
<year>${project.inceptionYear}</year> | ||
<email>[email protected]</email> | ||
</properties> | ||
<excludes> | ||
<exclude>**/README</exclude> | ||
<exclude>**/LICENSE</exclude> | ||
<exclude>**/install_to_gerbil.sh</exclude> | ||
<exclude>diagrams/**</exclude> | ||
<exclude>repository/**</exclude> | ||
<exclude>gerbil_data/**</exclude> | ||
<exclude>src/test/resources/**</exclude> | ||
<exclude>src/main/resources/**</exclude> | ||
</excludes> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<!-- | ||
This file is part of NIF transfer library for the General Entity Annotator Benchmark. | ||
NIF transfer library for the General Entity Annotator Benchmark is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Lesser General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
NIF transfer library for the General Entity Annotator Benchmark is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with NIF transfer library for the General Entity Annotator Benchmark. If not, see <http://www.gnu.org/licenses/>. | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.aksw</groupId> | ||
<artifactId>gerbil.nif.transfer</artifactId> | ||
<version>1.2.0-SNAPSHOT</version> | ||
<name>NIF transfer library for the General Entity Annotator Benchmark</name> | ||
<description>This project contains classes for transferring documents using NIF.</description> | ||
|
||
<properties> | ||
<java.version>1.7</java.version> | ||
<slf4j.version>1.7.5</slf4j.version> | ||
<junit.version>4.11</junit.version> | ||
<jena.version>2.13.0</jena.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<repositories> | ||
<repository> | ||
<id>maven.aksw.internal</id> | ||
<name>University Leipzig, AKSW Maven2 Repository</name> | ||
<url>http://maven.aksw.org/repository/internal</url> | ||
</repository> | ||
<repository> | ||
<id>maven.aksw.snapshots</id> | ||
<name>University Leipzig, AKSW Maven2 Repository</name> | ||
<url>http://maven.aksw.org/repository/snapshots</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
<!-- Jena for using NIF --> | ||
<dependency> | ||
<groupId>org.apache.jena</groupId> | ||
<artifactId>jena-core</artifactId> | ||
<version>${jena.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.jena</groupId> | ||
<artifactId>jena-arq</artifactId> | ||
<version>${jena.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>commons-io</groupId> | ||
<artifactId>commons-io</artifactId> | ||
<version>2.4</version> | ||
</dependency> | ||
|
||
<!-- slf4j: Logging API --> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>${slf4j.version}</version> | ||
</dependency> | ||
<!-- slf4j: Logging Binding - is already contained in aida --> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-log4j12</artifactId> | ||
<version>${slf4j.version}</version> | ||
</dependency> | ||
|
||
<!-- JUnit --> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>${junit.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.1</version> | ||
<configuration> | ||
<source>${java.version}</source> | ||
<target>${java.version}</target> | ||
</configuration> | ||
</plugin> | ||
<!-- Javadoc plugin for generating documentation --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>2.10.1</version> | ||
<configuration> | ||
<show>private</show> | ||
<nohelp>true</nohelp> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<!-- Source plugin for creating source file jar --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>2.4</version> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<!-- License management plugin --> | ||
<plugin> | ||
<groupId>com.mycila</groupId> | ||
<artifactId>license-maven-plugin</artifactId> | ||
<version>2.6</version> | ||
<configuration> | ||
<header>com/mycila/maven/plugin/license/templates/LGPL-3.txt</header> | ||
<properties> | ||
<year>${project.inceptionYear}</year> | ||
<email>[email protected]</email> | ||
</properties> | ||
<excludes> | ||
<exclude>**/README</exclude> | ||
<exclude>**/LICENSE</exclude> | ||
<exclude>**/install_to_gerbil.sh</exclude> | ||
<exclude>diagrams/**</exclude> | ||
<exclude>repository/**</exclude> | ||
<exclude>gerbil_data/**</exclude> | ||
<exclude>src/test/resources/**</exclude> | ||
<exclude>src/main/resources/**</exclude> | ||
</excludes> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
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,5 @@ | ||
package org.aksw.gerbil.transfer.nif; | ||
|
||
public interface ScoredSpan extends Span, ScoredMarking { | ||
|
||
} |
Oops, something went wrong.