giacomocavalieri / edit_distance Goto Github PK
View Code? Open in Web Editor NEW📝 A pure Gleam package to compute the edit distance of two strings
Home Page: https://hexdocs.pm/edit_distance/
License: Apache License 2.0
📝 A pure Gleam package to compute the edit distance of two strings
Home Page: https://hexdocs.pm/edit_distance/
License: Apache License 2.0
Enable the option to compute the normalized distance, which returns a value between 0 and 1. A result of 0 indicates no similarity between the provided strings, while a result of 1 indicates a perfect match as determined by the similarity function. This feature could be useful when applying a threshold to determine whether two strings are sufficiently similar.
Possibly add the ability to apply different weights to each operation—such as insertion, deletion, substitution, transposition, etc. — when calculating string similarity. This would allow more granular control over the distance metric by giving more importance to certain operations based on the context.
The Smith-Waterman algorithm is essentially a paiwise sequence alignment algorithm typically used in bioinformatics to optimally align two (e.g. DNA) sequences.
The Smith-Waterman algorithm can be seen as a generalization of the edit distance and on the other hand the edit distance can be considered as a special case of the Smith-Waterman algorithm with specific scoring rules (giving specific weights to matching, mismatching string characters and gaps). There's more info here:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.