Popularity
7.6
Declining
Activity
6.1
-
42
3
3

Monthly Downloads: 98
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Algorithms     Text    
Latest version: v0.3.0

text-metrics alternatives and similar packages

Based on the "Algorithms" category.
Alternatively, view text-metrics alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of text-metrics or a related project?

Add another 'Algorithms' Package

README

Text Metrics

License BSD3 Hackage Stackage Nightly Stackage LTS CI

The library provides efficient implementations of various strings metric algorithms. It works with strict Text values.

The current version of the package implements:

Comparison with the edit-distance package

There is edit-distance package whose scope overlaps with the scope of this package. The differences are:

  • edit-distance allows to specify costs for every operation when calculating Levenshtein distance (insertion, deletion, substitution, and transposition). This is rarely needed though in real-world applications, IMO.

  • edit-distance only provides Levenshtein distance, text-metrics aims to provide implementations of most string metrics algorithms.

  • edit-distance works on Strings, while text-metrics works on strict Text values.

Implementation

Although we originally used C for speed, currently all functions are pure Haskell tuned for performance. See this blog post for more info.

Contribution

Issues, bugs, and questions may be reported in the GitHub issue tracker for this project.

Pull requests are also welcome.

License

Copyright © 2016–present Mark Karpov

Distributed under BSD 3 clause license.


*Note that all licence references and agreements mentioned in the text-metrics README section above are relevant to that project's source code only.