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

Enhance the way we specify Persian words #30

Open
amirhoseinsalimi opened this issue Feb 26, 2021 · 0 comments
Open

Enhance the way we specify Persian words #30

amirhoseinsalimi opened this issue Feb 26, 2021 · 0 comments
Labels
enhancement New feature or request refactor Needs a refactore

Comments

@amirhoseinsalimi
Copy link
Owner

amirhoseinsalimi commented Feb 26, 2021

In Persian, we have two separators: space and half-space. Currently, we have an issue in words-not-to-follow and words-to-follow: We have to specify words in both forms, once with the common space character and once with a half-space. People use these words in their tweets - interchangeably - so the bot has to be sensitive on both of them, but polluting the aforementioned files with redundant data is not a good idea (which is the current implementation). So it's good to write a new function (or modify this function) to do this job. In brief, this new implementation should:

  • Convert any half-space to a normal space (And then we can only enter words w/ half-spaces and the bot takes care of the rest)
  • Convert dashes into underscore (bonus)
@amirhoseinsalimi amirhoseinsalimi added the enhancement New feature or request label Feb 26, 2021
@amirhoseinsalimi amirhoseinsalimi added the refactor Needs a refactore label May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor Needs a refactore
Projects
None yet
Development

No branches or pull requests

1 participant