Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Model corrects even though correct=False #27

Open
Tejash241 opened this issue Mar 26, 2021 · 0 comments
Open

Model corrects even though correct=False #27

Tejash241 opened this issue Mar 26, 2021 · 0 comments

Comments

@Tejash241
Copy link

The fastPunct.punct() function takes a correct boolean argument, which is supposed to trigger text correction. However, the model corrects text even when correct is set to False. Steps to reproduce:

model = FastPunct('english', checkpoint_local_path=str(models.get_unzip('zenai-models/punct/FastPunct_2_0_2_en.zip')))
model.punct('effortless', correct=True) --> 'Easy, easy.'
model.punct('effortless', correct=False) --> 'Easy, easy.'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant