rockymadden / stringmetric

:dart: String metrics and phonetic algorithms for Scala (e.g. Dice/Sorensen, Hamming, Jaccard, Jaro, Jaro-Winkler, Levenshtein, Metaphone, N-Gram, NYSIIS, Overlap, Ratcliff/Obershelp, Refined NYSIIS, Refined Soundex, Soundex, Weighted Levenshtein).
https://rockymadden.com/stringmetric/
486 stars 81 forks source link

CLI errors for n-gram algorithms #21

Open bfazen opened 9 years ago

bfazen commented 9 years ago

I am receiving syntax errors "Expected valid syntax." for all CLI tools that are based off n-grams and which require the user to supply the n parameter. I think there is an error somewhere in how the opts is parsing the integer. The following are not working for me: dicesorensenmetric jaccardmetric ngrammetric overlapmetric Commenting out the the opts and hardcoding the n value resolves the issue.

angeloh commented 9 years ago

What command did you use?