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

Corrected minor documentation issues and improved the result processing flow in tsToArray.ts. #58

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Leask
Copy link

@Leask Leask commented Dec 28, 2024

No description provided.

This submission addresses the following two issues:

1.  The first line is not always empty. Directly shifting the first line can cause processing failures for short audio clips. A better approach is to use a blank line filter to remove any potential empty lines.

2.  A `null` model return does not necessarily indicate a runtime error. It may signify that some audio clips do not contain text recognizable by the model. In such cases, an empty response should be returned instead of triggering a code error.

Related issues:
1: ariym#46
2: ariym#29
@Leask Leask changed the title typo fixed Corrected minor documentation issues and improved the result processing flow in ·tsToArray.ts. Dec 28, 2024
@Leask Leask changed the title Corrected minor documentation issues and improved the result processing flow in ·tsToArray.ts. Corrected minor documentation issues and improved the result processing flow in tsToArray.ts. Dec 28, 2024
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