Jaro similarity: Difference between revisions
Added Arturo implementation
Not a robot (talk | contribs) (Add CLU) |
Drkameleon (talk | contribs) (Added Arturo implementation) |
||
Line 661:
</lang>
=={{header|Arturo}}==
<lang rebol>loop [["MARTHA" "MARHTA"]["DIXON" "DICKSONX"]["JELLYFISH" "SMELLYFISH"]] 'pair ->
print [pair "-> Jaro similarity:" round.to: 3 jaro first pair last pair]</lang>
{{out}}
<pre>[MARTHA MARHTA] -> Jaro similarity: 0.944
[DIXON DICKSONX] -> Jaro similarity: 0.767
[JELLYFISH SMELLYFISH] -> Jaro similarity: 0.896</pre>
=={{header|AWK}}==
|