A matching penalty is part of the algorithm used to determine whether or not a source segment is the same as one that already exists in the translation memory. To calculate the matching penalty, an algorithm can consider factors such as contextual cues, fuzzy matches, and whether a pivot language was used.