| Modifier and Type | Interface and Description |
|---|---|
interface |
ProvenancedAlignment<LeftT,LeftProvT,RightT,RightProvT>
An
Alignment which also tracks "provenances" (which can be arbitrary metadata) for the
items being aligned. |
| Modifier and Type | Class and Description |
|---|---|
class |
EquivalenceBasedProvenancedAlignment<EqClassT,LeftT,RightT>
A
ProvenancedAlignment based on grouping items into equivalence classes. |
class |
MultimapAlignment<LeftT,RightT>
A default implementation for
Alignment. |
| Modifier and Type | Method and Description |
|---|---|
Alignment<LeftT,RightT> |
Aligner.align(Iterable<? extends LeftT> leftItems,
Iterable<? extends RightT> rightItems) |
static <LeftT,RightT> |
MultimapAlignment.create(Iterable<? extends LeftT> leftItems,
Iterable<? extends RightT> rightItems,
com.google.common.collect.Multimap<? extends LeftT,? extends RightT> leftToRight,
com.google.common.collect.Multimap<? extends RightT,? extends LeftT> rightToLeft)
Creates an
Alignment from Multimaps. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Function<EvalPair<? extends Iterable<? extends LeftT>,? extends Iterable<? extends RightT>>,Alignment<LeftT,RightT>> |
Aligner.asFunction() |
BootstrapInspector.ObservationSummarizer<Alignment<? extends T,? extends T>,Map<String,SummaryConfusionMatrix>> |
BinaryFScoreBootstrapStrategy.createObservationSummarizer() |
static <T,V> com.google.common.collect.ImmutableMap<V,Alignment<T,T>> |
Alignments.splitAlignmentByKeyFunction(Alignment<? extends T,? extends T> alignment,
com.google.common.base.Function<? super T,? extends V> keyFunction)
Splits an alignment into many alignments based on a function mapping aligned items to some set
of keys.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AggregateBinaryFScoresInspector.inspect(Alignment<? extends KeyT,? extends TestT> alignment) |
void |
BinaryErrorLogger.inspect(Alignment<? extends KeyT,? extends TestT> alignment) |
void |
TypeConfusionInspector.inspect(Alignment<? extends LeftRightT,? extends LeftRightT> alignment) |
static <T,V> com.google.common.collect.ImmutableMap<V,Alignment<T,T>> |
Alignments.splitAlignmentByKeyFunction(Alignment<? extends T,? extends T> alignment,
com.google.common.base.Function<? super T,? extends V> keyFunction)
Splits an alignment into many alignments based on a function mapping aligned items to some set
of keys.
|
Copyright © 2016. All rights reserved.