Sorensen–Dice coefficient: Difference between revisions
→Julia: comment
m (→Julia) |
(→Julia: comment) |
||
Line 203:
=={{header|Julia}}==
Note that the code handles 2-byte characters such that a 2-char sequence containing one has 3 bytes, which causes a change in the fifth choice in the last example because "Erdős" has the multibyte char 'ő'.
<syntaxhighlight lang="julia">using Multisets
|