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

feat(transliterate): add strict mode #39

Merged
merged 1 commit into from
May 12, 2024
Merged

Conversation

noomorph
Copy link
Contributor

A new mode has been added to the transliterate function that enforces only minimal preprocessing.

You can now add an optional third parameter, preprocessed = true, to indicate that the text being processed does not require any additional workarounds, such as converting "sz" to "š", "cz" to "č", and so on. This update should help resolve any visual issues in the online dictionary.

@coveralls
Copy link

coveralls commented May 12, 2024

Pull Request Test Coverage Report for Build 9052740493

Details

  • 9 of 9 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.01%) to 92.462%

Totals Coverage Status
Change from base Build 9052500681: -0.01%
Covered Lines: 1631
Relevant Lines: 1708

💛 - Coveralls

ru-danko
ru-danko previously approved these changes May 12, 2024
Copy link
Contributor

github-actions bot commented May 12, 2024

View the deployed report at surge.sh

@noomorph noomorph merged commit 25b95cf into main May 12, 2024
1 check passed
@noomorph noomorph deleted the feat/transliterate-strict branch May 12, 2024 16:29
Copy link
Contributor

🎉 This PR is included in version 3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants