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

Model corrects even though correct=False #27

@Tejash241

Description

@Tejash241

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.'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions