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
get_stop_words and get_safe_words ?
stop_words = get_stop_words('english')
and
stop_words = safe_get_stop_words('en')
Thanks
The text was updated successfully, but these errors were encountered:
if the language is not supported or does not exist, safe_get_stop_words will return an empty array.
stop_words = safe_get_stop_words('some_lang') print(stop_words) # []
stop_words = safe_get_stop_words('some_lang')
print(stop_words) # []
but in get_stop_words will be the StopWordError exception
Sorry, something went wrong.
No branches or pull requests
get_stop_words and get_safe_words ?
stop_words = get_stop_words('english')
and
stop_words = safe_get_stop_words('en')
Thanks
The text was updated successfully, but these errors were encountered: