We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In ctcdecode/src/binding.cpp change:
const char* end = str_i + strlen(labels)-1; to const char* end = str_i + strlen(labels);
const char* end = str_i + strlen(labels)-1;
const char* end = str_i + strlen(labels);
I'd submit a patch, but I'm not 100% sure about the utf-8 stuff and how this is supposed to behave.
The text was updated successfully, but these errors were encountered:
Forgot that: int utf8_to_utf8_char_vec needs to be changed to: void utf8_to_utf8_char_vec as there is no return. This causes a segfault.
int utf8_to_utf8_char_vec
void utf8_to_utf8_char_vec
Sorry, something went wrong.
Thank you, this seems to fix the issue for me!
No branches or pull requests
In ctcdecode/src/binding.cpp change:
const char* end = str_i + strlen(labels)-1;
to
const char* end = str_i + strlen(labels);
I'd submit a patch, but I'm not 100% sure about the utf-8 stuff and how this is supposed to behave.
The text was updated successfully, but these errors were encountered: