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

Add Keyboard Errors for Turkish Q Layout #261

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

emrecncelik
Copy link
Contributor

Hi,

First of all, thank you for the amazing library, it's been really useful.

As a native Turkish speaker, I created some data to generate spelling errors to use myself, then decided to share it in case anyone else needs it.

Added the json file for Turkish keyboard errors based on the Turkish Q Layout from here. Language code for Turkish is "tr" and can be used with KeyboardAug as follows:

import nlpaug.augmenter.char as nac

aug = nac.KeyboardAug(lang="tr", aug_char_max=2)
aug.augment("çığırtkan", n=10)

Thank you.

@makcedward makcedward merged commit bb1b001 into makcedward:master Dec 21, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants