predict and predict-prob options of the fasttext binary can have a file name or stdin as input,
it would be great to be able to have in the python library the following methods in the supervised model objet
Hello @davidswaven,
Thank you for your post. I just landed an extension to predict that also accepts a list of strings (but not a path to a file). You can feed this function batches of text and it should help you speed up your code a bit. Let me know how this works out.
Thanks,
Christian
Most helpful comment
Hello @davidswaven,
Thank you for your post. I just landed an extension to predict that also accepts a list of strings (but not a path to a file). You can feed this function batches of text and it should help you speed up your code a bit. Let me know how this works out.
Thanks,
Christian