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.
If your text file is provided with space char, the length of
labellist
won't be equal totextlist
inconvert_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.