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 --sub-cn-inline-limit and --sub-cn-modal-words by jionlp. #14

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

endcloud
Copy link

@endcloud endcloud commented Nov 10, 2022

  1. import jionlp to segment Chinese short sentences.
  2. based on 1., add --sub-cn-inline-limit [int] command to optimize display of Single-line subtitle in Chinese.
  3. based on 1., add --sub-cn-modal-words [str] command to filter the modal particles at the end of a sentence in Chinese.
  4. 2. 3. were inserted into the original transcribe process in the form of middleware (new file transcribe_middleware.py).

@endcloud endcloud changed the title add --sub-optimize-cn and --modal-words-cn. add --sub-cn-inline-limit and --sub-cn-modal-words by jionlp. Nov 11, 2022
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.

3 participants