what is the min_sentence_length parameter that is ...
# ask-ai
c
what is the min_sentence_length parameter that is set to 20 in SentenceTokenizer that is used by default?
t
Thanks for reaching out, Bharath. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I'm responding about the
min_sentence_length
parameter in
SentenceTokenizer
. Could you tell me which library or implementation you're referring to (for example, a specific language SDK, a particular package name, or where you saw
SentenceTokenizer
)? There are multiple tokenizers and implementations, and I want to give the exact behavior and examples for the correct one.
c
I'm referring to livekit.agents.tokenize.blingfire.SentenceTokenizer
t
Thanks — you're asking about
min_sentence_length
in
livekit.agents.tokenize.blingfire.SentenceTokenizer
. I don't have the class's source or docs here, so I can't state its exact implementation. To help quickly and accurately, could you paste the
SentenceTokenizer
class code or the module's small snippet that shows
min_sentence_length
(or tell me where you saw it)? With that I can explain precisely how a value of 20 affects tokenization and give examples.