public final class Analyzer extends Object
Modifier and Type | Method and Description |
---|---|
Analyzer |
add(Iterable<KAFDocument> documents) |
Analyzer |
add(KAFDocument document) |
OpinionPrecisionRecall |
complete() |
static Analyzer |
create(Iterable<String> goldLabels,
Extractor extractor,
Path reportPath,
Component... components) |
static Analyzer |
create(Iterable<String> goldLabels,
Iterable<String> testLabels,
Path reportPath,
Component... components) |
static void |
main(String... args) |
public Analyzer add(KAFDocument document)
public Analyzer add(Iterable<KAFDocument> documents)
public OpinionPrecisionRecall complete()
public static Analyzer create(Iterable<String> goldLabels, Iterable<String> testLabels, @Nullable Path reportPath, Component... components)
public static Analyzer create(Iterable<String> goldLabels, Extractor extractor, @Nullable Path reportPath, Component... components)
public static void main(String... args)
Copyright © 2016–2020 FBK. All rights reserved.