You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.
Thank you for pulling together this awesome library.
I have a question related to trailing text.
Let's say that I'm using the model from the README, and I have the following input:
s := nl.P("hello sir can you pleeeeeease play King by Lauren Aquilina ????")
I would like ???? to be considered trash so the artist remains Lauren Aquilina. Is there a way to train the model in that way ? I was trying to play with the limits, but no luck.
The text was updated successfully, but these errors were encountered:
Answering your question: no, there's no current way of capping the length of the trailing field since it's supposed that you don't know the length of whatever is in the text, but a model option may allow word-capping of the trailing field.
nlp.WithTrailingWordCap()
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi!
Thank you for pulling together this awesome library.
I have a question related to trailing text.
Let's say that I'm using the model from the README, and I have the following input:
I would like
????
to be considered trash so the artist remainsLauren Aquilina
. Is there a way to train the model in that way ? I was trying to play with the limits, but no luck.The text was updated successfully, but these errors were encountered: