[][src]Function ed_join::matching::min_edit_errors

pub fn min_edit_errors(qgram_array: &[PosQGram], q: usize) -> usize

Given a set of q-grams, find the minimum number of edit operations that destroys all q-grams.

Parameters

  • qgram_array: A PosQGramArray, i.e. a set of positional q-grams.
  • q: A positive integer as the tuning parameter for length of q-grams.

Return

The minimum number of edit operations that destroy all q-grams in the given set.