n_gram_merge(), renamed arg
weight. The only purpose of this arg is to be passed along to function
stringdistmatrixfrom the stringdist package (which uses the name
weight, so this change is simply to match that).
Fixed issue in
n_gram_merge() in which incorrect values were being return when input arg
ignore_strings was not
NULL, and arg
bus_suffix = FALSE (#7).
Fixed issue in which input strings that contained punctuation that was NOT surrounded by spaces was returning incorrect values (#6).
Fixed issue in which the edit value assigned to a cluster was sometimes not the most frequent string in that cluster (#5).
std::unordered_map(), resulting in a substantial speed improvement when passing large character vectors (length 100,000+) to either of the exported functions (#8).