diff --git a/src/n_gram_merge.cpp b/src/n_gram_merge.cpp index fc5b319..6fb064a 100644 --- a/src/n_gram_merge.cpp +++ b/src/n_gram_merge.cpp @@ -449,7 +449,7 @@ CharacterVector cpp_get_char_ngrams(const std::vector &vects, vects_mod = cpp_list_unique(vects_mod, TRUE); // For each element of vects, combine all ngram strings into a single string, - // equivelant to calling r func paste(char_vect, collapse = "") on each + // equivalent to calling r func paste(char_vect, collapse = "") on each // element of vects. CharacterVector out = cpp_paste_list(vects_mod, "");