Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for segments containing extra spaces #24

Merged
merged 2 commits into from
Jun 11, 2023
Merged

Conversation

stevencrader
Copy link
Owner

Some transcript tools create a separate segment containing the space between words. When combined, spaces were being added resulting in multiple spaces. It now strips any unnecessary spaces from the data.

Resolve #22

@codecov
Copy link

codecov bot commented Jun 11, 2023

Codecov Report

Merging #24 (b75ef35) into master (0b8d878) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #24   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          533       536    +3     
  Branches       155       155           
=========================================
+ Hits           533       536    +3     
Impacted Files Coverage Δ
src/segments.ts 100.00% <100.00%> (ø)

@stevencrader stevencrader merged commit 75faa70 into master Jun 11, 2023
@stevencrader stevencrader deleted the spaces branch June 11, 2023 01:07
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.

Remove extra spaces being added for some transcripts
1 participant