Skip to content
New issue

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

Using bool for mask and handling possible spaces in prediction #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

9173860
Copy link

@9173860 9173860 commented Aug 24, 2020

If your text file is provided with space char, the length of labellist won't be equal to textlist in convert_examples_to_features.

Here comes a quick and dirty fix that replaced all continuous space char into two space char to avoid length change due to split with space char itself.

Also, this MR changed all byte mask to bool mask to eliminate warnings about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants