Skip to content
KristinJensen edited this page Apr 4, 2012 · 4 revisions

Bamboo Integration

class Witness { String id; Token[] tokens; }

Witness[] tokenize(String[] sources, @Null Object parameters);

CollationRef align(Witness[] witnesses, @Null Witness base, Function matches); // boolean matches(Token a, Token b)

AlignmentTable toAlignmentTable(CollationRef collation, Sigil[] returnSet);
AlignmentTable toAlignmentTable(CollationRef collation); // return all witnesses
AlignmentTable toAlignmentTable(VariantGraph vg);

VariantGraph toVariantGraph(CollationRef collation);

DifferenceSet toDifferenceSet(CollationRef collation, Sigil[] returnSet);
Clone this wiki locally