Suggester bot discord1/7/2024 blog/comparison-of-string-distance-algorithms/ You can find inspiration in the unit-tests / examples. If you want to use a different algorithm, simply wrap your algorithm in a finder.Algorithm compatible type and pass In each library you can find a README covering the details. TySug is a collection of stand-alone packages. This is both for efficiency (shorter lists to iterate over) and to be more opinionated. Using this approach the service can be used for various The name corresponds with a list definition in the config.toml. The example uses jq, just omit it if you don't have it installed.The webservice uses Jaro-Winkler to calculate similarity.In a different terminal, run: As WebserviceĬurl -s " -data-binary '' | jq. If you don't have Docker, you can download the binary from the releases page. If you have Docker installed, and you quickly want to tinker, just run: If you have Docker you'll have it up and running in a few minutes. You can use TySug as stand-alone webservice to match against a known-list. Out-of-the-box as a library, a webservice or as a set of packages to build your own application.Ĭurrently, it's a fairly naive approach and not (yet) backed by ML. The goal is to provide an extensible library that helps with finding possible spelling errors. ![]() e-mail addresses, detect spam, phishing (Typosquatting), etc. Which is useful in helping to prevent typos in e.g. The primary supported use-case is to help with spelling mistakes against short popular word lists (e.g. It can be used as both a library and a webservice. ![]() ![]() TySug is collection of packages, together they form a keyboard layout aware alternative word suggester.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |