Class Orthography2OrthographyComparator<E>

  • All Implemented Interfaces:
    EditComparator<E>

    public class Orthography2OrthographyComparator<E>
    extends Object
    implements EditComparator<E>
    Comparator that maps one plain-text full word orthography to another.

    NB distances are 10x what might normally be expected:

    • Delete: 20.0
    • Insert: 20.0
    • Change case only: 1.0
    • Change case/punctuation: 5.0
    • Any other change: 20.0 + Levenshtein distance
    • Constructor Detail

      • Orthography2OrthographyComparator

        public Orthography2OrthographyComparator()