UNPKG

wordmap

Version:
15 lines (14 loc) 481 B
import Alignment from "../structures/Alignment"; import AlignmentIndex from "./AlignmentIndex"; import NgramIndex from "./NgramIndex"; /** * A collection of indexes for the alignment memory */ export default class AlignmentMemoryIndex { private permutationIndex; readonly alignmentFrequency: AlignmentIndex; readonly sourceNgramFrequency: NgramIndex; readonly targetNgramFrequency: NgramIndex; constructor(); append(alignmentMemory: Alignment[]): void; }