SforAiDl / decepticonlp

Python Library for Robustness Monitoring and Adversarial Debugging of NLP models
MIT License
15 stars 10 forks source link

Add Damerau-Levenshtein #68

Closed parantak closed 4 years ago

parantak commented 4 years ago

It should not be merged with the Levenshtein edit distance algorithm given that it does away with the one-edit per subsequence restriction and add transposition. I'll add restricted transposition to Levenshtein as well (that would just be OSA distance)

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

codecov[bot] commented 4 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@40c101c). Click here to learn what that means. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #68   +/-   ##
=========================================
  Coverage          ?   97.90%           
=========================================
  Files             ?        7           
  Lines             ?      239           
  Branches          ?        0           
=========================================
  Hits              ?      234           
  Misses            ?        5           
  Partials          ?        0           
Impacted Files Coverage Δ
decepticonlp/metrics/char_metrics.py 100.00% <100.00%> (ø)
decepticonlp/extractor/basic.py 100.00% <0.00%> (ø)
decepticonlp/__init__.py 100.00% <0.00%> (ø)
decepticonlp/transforms/paraphrase.py 91.89% <0.00%> (ø)
decepticonlp/transforms/perturbations.py 97.82% <0.00%> (ø)
decepticonlp/metrics/__init__.py 100.00% <0.00%> (ø)
decepticonlp/transforms/__init__.py 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 40c101c...01559af. Read the comment docs.