Skip to content

Wrong use of the replace function in utils.py #18

@jeongJ2004

Description

@jeongJ2004

Hello,
By checking the annotation json files, I also have remarked some typo such as "imange" and this was already mentioned in #11 this issue.
It is written that you fixed the problem, however, apparently, it is not completely fixed.

I found this code helpful, and maybe this might help you : Modify line 17 in utils.py : <<template.replace("a", "an") >> into << template.replace(" a ", " an ", 1) >> so that it only replaces the determiners correctly.

Thank you very much for your work !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions