Jaro-Winkler distance: Difference between revisions
Content deleted Content added
→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)" |
m →{{header|Wren}}: Minor tidy |
||
Line 2,883: | Line 2,883: | ||
{{libheader|Wren-sort}} |
{{libheader|Wren-sort}} |
||
This uses unixdict and borrows code from the [[Jaro_distance#Wren]] task. |
This uses unixdict and borrows code from the [[Jaro_distance#Wren]] task. |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">import "io" for File |
||
import "/fmt" for Fmt |
import "./fmt" for Fmt |
||
import "/sort" for Sort |
import "./sort" for Sort |
||
var jaroSim = Fn.new { |s1, s2| |
var jaroSim = Fn.new { |s1, s2| |