Skip to content

Can deepgram automatically remove the words "stop" and "full stop" from the end of a sentence? #201

Closed Answered by jkroll-deepgram
Mufasa asked this question in General help
Discussion options

You must be logged in to vote

@Mufasa Thanks for the clarification. You could add a leading space and trailing period into the find-term to limit this replacement to only the end of a sentence, such as replace=%20stop.:., which would replace " stop." with just the period ".". However a potential edge cases could be where "stop" is the end of the meaningful sentence, like "At the red light I needed to stop." which would get replaced with "At the red light I needed to." The Find and Replace feature doesn't have the option to add any more complex rules, it just replaces each occurrence.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jkroll-deepgram
Comment options

Answer selected by Mufasa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants