Skip to content

feat(trim sentences): add multi symbol sequences#920

Open
codedealer wants to merge 4 commits intoagnaistic:devfrom
codedealer:feat/trim-whitelist
Open

feat(trim sentences): add multi symbol sequences#920
codedealer wants to merge 4 commits intoagnaistic:devfrom
codedealer:feat/trim-whitelist

Conversation

@codedealer
Copy link
Contributor

Adds special handling to sequences that should not be trimmed, e.g. code block closing tag, markdown separator, etc.

Side note: technically END_SYMBOLS could be refactored into END_SEQUENCES but it makes the function recursive and hurts performance, so we opted out of doing that.

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.

1 participant