failure: length > 1 in coercion to logical issueinn_gram_merge(), in commit4336ee6.stringdist C API, andcalling C functions in place of usingstringdist::stringdistmatrix(). This change results inspeed improvements in functionn_gram_merge(), and requiresthatstringdist v0.9.5.1 or greater be installed.n_gram_merge(), renamed argedit_dist_weights toweight. The only purposeof this arg is to be passed along to functionstringdistmatrix from thestringdistpackage (which uses the nameweight, so this change issimply to match that).Fixed issue in which input strings that contained accent markswere not being properly handled/clustered (#9). The fixinvolved addingstringi toImports and usingstringi::stri_trans_general().
Fixed issue inn_gram_merge() in which incorrectvalues were being return when input argignore_strings wasnotNULL, and argbus_suffix = FALSE (#7).
Fixed issue in which input strings that contained punctuationthat was NOT surrounded by spaces was returning incorrect values (#6).
Fixed issue in which the edit value assigned to a cluster wassometimes not the most frequent string in that cluster (#5).
std::unordered_map(), resulting in a substantial speedimprovement when passing large character vectors (length 100,000+) toeither of the exported functions (#8).