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

Can we normalize the width of japanese? #146

Open
shtse8 opened this issue Aug 7, 2022 · 1 comment
Open

Can we normalize the width of japanese? #146

shtse8 opened this issue Aug 7, 2022 · 1 comment

Comments

@shtse8
Copy link

shtse8 commented Aug 7, 2022

U+FF6x  
U+FF7x
U+FF8x
U+FF9x

Can we normalize the width of string on all to method? Or providing an option to normalize the width?

Currently, wanakana.toHiragana('っつ') is returning っつ, while it would be better to return つつ or っっ.

@DJTB
Copy link
Collaborator

DJTB commented Sep 30, 2023

Hi, thanks for opening an issue.

I don't quite understand this statement: Currently, wanakana.toHiragana('っつ') is returning っつ, while it would be better to return つつ or っっ. These functions should pass through the input provided if it's not being converted.

Is there any reason that writing a function to normalize the width yourself after Wanakana processing isn't possible? I don't see that this provides a huge benefit to add to the api.

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