News for hackers. Stuff that matters.
Re:Building a fully local LLM voice assistant to control my ... by JohnTheNerd on Saturday January 13, 2024 @09:50PM (#38986952)
alternatively, could we not simply split by common characters such as newlines and periods, to split it within sentences? it would be fragile with special handling required for numbers with decimal points and probably various other edge cases, though.

there are also Python libraries meant for natural language parsing[0] that could do that task for us. I even see examples on stack overflow[1] that simply split text into sentences.

[0]: https://www.nltk.org/ [1]: https://stackoverflow.com/questions/4576077/how-can-i-split-...

There are no comments on this comment yet.