1
1

levenshtein.hpp 275 B

1234567891011
  1. #pragma once
  2. #include <string>
  3. #ifndef LEVENSHTEIN_SENSIBILITY
  4. # define LEVENSHTEIN_SENSIBILITY (0.7f)
  5. #endif //LEVENSHTEIN_SENSIBILITY
  6. size_t levenshtein(const std::string &a, const std::string &b);
  7. float levenshteinPercent(const std::string &a, const std::string &b);