-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/1239-simple-relation-recommender
* master: (29 commits) No issue. Fix compilation. #1575 - Use fuzzy search for entity linking #1575 - Use fuzzy search for entity linking [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release inception-app-0.14.2 #1587 - Disable fact linking support #1587 - Disable fact linking support No issue. Depend on WebAnno 4.0.0 beta 9 for next release. #1587 - Disable fact linking support #1582 - Support IMS CWB format #1575 - Use fuzzy search for entity linking #1582 - Support IMS CWB format #1581 - Update and modularize format documentation No issue. Back to WebAnno SNAPSHOT version. [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release inception-app-0.14.1 No issue. Depend on WebAnno 4.0.0-beta-8 for release. No issue. Use placeholder mechanism of SLF4J instead of String.format. No issue. Adjust to upstream API change. #1549 - Filter entity candidates by description ... % Conflicts: % inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/RecommendationService.java % inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImpl.java
- Loading branch information
Showing
44 changed files
with
1,581 additions
and
398 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
72 changes: 72 additions & 0 deletions
72
...on-app-webapp/src/main/java/de/tudarmstadt/ukp/inception/formats/ImsCwbFormatSupport.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,72 @@ | ||
/* | ||
* Copyright 2019 | ||
* Ubiquitous Knowledge Processing (UKP) Lab | ||
* Technische Universität Darmstadt | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package de.tudarmstadt.ukp.inception.formats; | ||
|
||
import static org.apache.uima.fit.factory.CollectionReaderFactory.createReaderDescription; | ||
|
||
import org.apache.uima.collection.CollectionReaderDescription; | ||
import org.apache.uima.resource.ResourceInitializationException; | ||
import org.dkpro.core.io.imscwb.ImsCwbReader; | ||
import org.springframework.stereotype.Component; | ||
|
||
import de.tudarmstadt.ukp.clarin.webanno.api.format.FormatSupport; | ||
|
||
@Component | ||
public class ImsCwbFormatSupport | ||
implements FormatSupport | ||
{ | ||
public static final String ID = "imscwb"; | ||
public static final String NAME = "Corpus Workbench Format (aka VRT)"; | ||
|
||
@Override | ||
public String getId() | ||
{ | ||
return ID; | ||
} | ||
|
||
@Override | ||
public String getName() | ||
{ | ||
return NAME; | ||
} | ||
|
||
@Override | ||
public boolean isReadable() | ||
{ | ||
return true; | ||
} | ||
|
||
// @Override | ||
// public boolean isWritable() | ||
// { | ||
// return true; | ||
// } | ||
|
||
@Override | ||
public CollectionReaderDescription getReaderDescription() throws ResourceInitializationException | ||
{ | ||
return createReaderDescription(ImsCwbReader.class); | ||
} | ||
|
||
// @Override | ||
// public AnalysisEngineDescription getWriterDescription(Project aProject, CAS aCAS) | ||
// throws ResourceInitializationException | ||
// { | ||
// return createEngineDescription(ImsCwbWriter.class); | ||
// } | ||
} |
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
Oops, something went wrong.