private Optional<ResponseLinking> read(Symbol docID, Set<Response> responses,
Optional<ImmutableMap<String, String>> foreignResponseIDToLocal,
Optional<ImmutableMap.Builder<String, String>> foreignLinkingIdToLocal)
throws IOException {
checkNotClosed();
final File f;
try {
f = AssessmentSpecFormats.bareOrWithSuffix(directory, docID.toString(),
ACCEPTABLE_SUFFIXES);
} catch (FileNotFoundException ioe) {
return Optional.absent();
}
return Optional.of(linkingLoader.read(docID, Files.asCharSource(f, UTF_8), responses,
foreignResponseIDToLocal, foreignLinkingIdToLocal));
}
LinkingStoreSource.java 文件源码
java
阅读 33
收藏 0
点赞 0
评论 0
项目:tac-kbp-eal
作者:
评论列表
文章目录