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

True-casing support? #19

Open
silvioprog opened this issue Mar 24, 2024 · 1 comment
Open

True-casing support? #19

silvioprog opened this issue Mar 24, 2024 · 1 comment

Comments

@silvioprog
Copy link

Hey.

Thanks a lot for this project!

So, I have a question. Do we have true-casing (capitalization) support in fullstop-deep-punctuation-prediction? If not, what do you recommend to solve it?

TIA for any help!

@oliverguhr
Copy link
Owner

Hey @silvioprog,
the project has no true-casing support. This should be relatively simple to implement, and I am optimistic that the models can handle this quite well. I have two ideas how this feature could be implemented: A) You could add a second classification head, that classifies if the token starts in upper case or not. B) Or you can change the classification head to multi label classification and add an "upper case" class.

Best,
Oliver

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