Options
All
  • Public
  • Public/Protected
  • All
Menu

A collection of indexes on the permutation of possible alignments.

Hierarchy

  • PermutationIndex

Index

Constructors

constructor

Properties

Private alignPermFreqIndex

alignPermFreqIndex: AlignmentIndex

Alignment permutation frequency index. The total number of occurrences within the alignment permutations.

Private srcNgramPermFreqIndex

srcNgramPermFreqIndex: NgramIndex

Source n-gram permutation frequency index. The total number of occurrences within the alignment permutations.

Private tgtNgramPermFreqIndex

tgtNgramPermFreqIndex: NgramIndex

Target n-gram permuation frequency index. The total number of occurrences within the alignment permutations.

Accessors

alignmentFrequency

  • Returns an index of alignment frequencies in the permutations

    Returns AlignmentIndex

sourceNgramFrequency

  • Returns an index of source n-gram frequencies in the permutations

    Returns NgramIndex

targetNgramFrequency

  • Returns an index of target n-gram frequencies in the permutations

    Returns NgramIndex

Methods

addAlignment

  • Adds a single alignment to the index

    Parameters

    Returns void

addAlignments

  • addAlignments(alignments: Alignment[]): void
  • Adds a sentence alignment to the index.

    Parameters

    • alignments: Alignment[]

      an array of alignments to add

    Returns void

Generated using TypeDoc