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

Adding punctuator for long text #74

Open
ben-8878 opened this issue May 28, 2021 · 1 comment
Open

Adding punctuator for long text #74

ben-8878 opened this issue May 28, 2021 · 1 comment

Comments

@ben-8878
Copy link

convert an hours audio to text and add punctuator for long text ,I find that it becomes very slowlly and 2000% of memory

@FurkanGozukara
Copy link

@v-yunbin how do you make it work can you show me an example? I want to run it on Windows OS

For example i am able to run fastpunc like below

from fastpunct import FastPunct
# The default language is 'english'
fastpunct = FastPunct()

f = open("TextFile1.txt", "r")

text_val = f.read()

result = fastpunct.punct(text_val, correct=True)

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

No branches or pull requests

2 participants