[ngrams] changing args to ngrams

This commit is contained in:
Al
2016-12-21 18:09:45 -05:00
parent 2d4483d012
commit dbe801fa08
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#include "ngrams.h"
#include "utf8proc/utf8proc.h"
bool add_ngrams(cstring_array *grams, char *str, size_t n, size_t len, bool prefix, bool suffix) {
bool add_ngrams(cstring_array *grams, size_t n, char *str, size_t len, bool prefix, bool suffix) {
if (n == 0) return false;
size_t lengths[n];

View File

@@ -1,3 +1,3 @@
#include "string_utils.h"
bool add_ngrams(cstring_array *grams, char *str, size_t n, size_t len, bool prefix, bool suffix);
bool add_ngrams(cstring_array *grams, size_t n, char *str, size_t len, bool prefix, bool suffix);