Options
All
  • Public
  • Public/Protected
  • All
Menu

A commonly seen pattern in translation is that word repetition in the primary text is often seen in the secondary text.

Hierarchy

Implements

Index

Properties

name

name: string = "alignment occurrences"

Methods

execute

Static calc

  • calc(sourceNgramFrequency: number, targetNgramFrequency: number): number
  • Calculates the

    Parameters

    • sourceNgramFrequency: number
    • targetNgramFrequency: number

    Returns number

Static Private calcLemmaOccurrenceSimilarity

  • calcLemmaOccurrenceSimilarity(p: Prediction, usIndex: UnalignedSentenceIndex): void
  • Calculates the weight based on the lemma

    Parameters

    Returns void

Static Private calcOccurrenceSimilarity

  • calcOccurrenceSimilarity(p: Prediction, usIndex: UnalignedSentenceIndex): void
  • Calculates the weight based on the word

    Parameters

    Returns void

Generated using TypeDoc