Skip to content
Sections
>> Trisquel >> Paket >> aramo >> devel >> golang-github-xrash-smetrics-dev
nabia  ] [  aramo  ]
[ Källkod: golang-github-xrash-smetrics  ]

Paket: golang-github-xrash-smetrics-dev (0.0~git20201216.039620a-1)

String metrics library written in Go

String metrics This library contains implementations of the Levenshtein distance, Jaro-Winkler and Soundex algorithms written in Go (golang).

The Wagner-Fischer algorithm for calculating the Levenshtein distance.

    smetrics.Hamming("aaa", "aab") >> 1, nil

    smetrics.Hamming("aaaa", "a") >> -1, error

Hämta golang-github-xrash-smetrics-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 8,2 kbyte39 kbyte [filförteckning]