Skip to content

✨ Bidirectional streaming for regex sentence splitting - #346

Open
evaline-ju wants to merge 3 commits into
caikit:mainfrom
evaline-ju:bidi-token
Open

✨ Bidirectional streaming for regex sentence splitting#346
evaline-ju wants to merge 3 commits into
caikit:mainfrom
evaline-ju:bidi-token

Conversation

@evaline-ju

Copy link
Copy Markdown
Collaborator

The regex sentence splitter is not a very accurate sentence splitter but we would like to provide an initial implementation of aggregation and splitting for bidirectional streaming use, in the case of streaming text chunks/tokens needing to be aggregated to sentences for further sentence analysis.

For tracking purposes, output streamed sentences remain directly concatenable.

Closes: #345

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>
Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Initial bidirectional streaming tokenization on regex sentence splitter

1 participant