public final class PipelineExtractor extends Extractor
Modifier | Constructor and Description |
---|---|
protected |
PipelineExtractor(LinkLabeller holderLinkLabeller,
LinkLabeller targetLinkLabeller,
SpanLabeller holderSpanLabeller,
SpanLabeller targetSpanLabeller,
boolean holderUnique,
boolean targetUnique) |
protected |
PipelineExtractor(Properties properties,
Path path) |
Modifier and Type | Method and Description |
---|---|
protected Iterable<Opinion> |
doExtract(KAFDocument document,
int sentence,
EnumSet<Component> components) |
protected void |
doFilter(KAFDocument document) |
protected Iterable<Opinion> |
doRefine(KAFDocument document,
int sentence,
EnumSet<Component> components,
Opinion opinion) |
protected void |
doWrite(Properties properties,
Path path) |
protected PipelineExtractor(Properties properties, Path path) throws IOException
IOException
protected PipelineExtractor(@Nullable LinkLabeller holderLinkLabeller, @Nullable LinkLabeller targetLinkLabeller, @Nullable SpanLabeller holderSpanLabeller, @Nullable SpanLabeller targetSpanLabeller, boolean holderUnique, boolean targetUnique)
protected void doFilter(KAFDocument document)
protected Iterable<Opinion> doExtract(KAFDocument document, int sentence, EnumSet<Component> components)
protected Iterable<Opinion> doRefine(KAFDocument document, int sentence, EnumSet<Component> components, Opinion opinion)
protected void doWrite(Properties properties, Path path) throws IOException
doWrite
in class Extractor
IOException
Copyright © 2016–2020 FBK. All rights reserved.