Skip to content

Change .PERIOD ,COMMA to . and , #80

@campConservative

Description

@campConservative

I am using your punctuator for a school project I’m working on and I’m not good at python of ML. I realized when I punctuate my text it comes as follows:

“this is ninety nine percent invisible ,COMMA i'm ,COMMA roman mars .PERIOD it started with a place called the stone wall in gay bars had been raided by police for decades ,COMMA......

I tried to change the code below this way from data.py:

PUNCTUATION_VOCABULARY = [SPACE, ",", ".", "?", "!", ":", ";", "-"]
#PUNCTUATION_MAPPING = {}

But still comes up as ,COMMA, .PERIOD
Any help how can I fix this to show only , and .?
The demo site only shows , and .

Thank you

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