{"id":20496464,"url":"https://github.com/hardpixel/unaccent","last_synced_at":"2025-04-13T18:21:37.712Z","repository":{"id":58003519,"uuid":"529593726","full_name":"hardpixel/unaccent","owner":"hardpixel","description":"Replace a string's accent characters with unaccented characters.","archived":false,"fork":false,"pushed_at":"2022-08-31T16:06:44.000Z","size":129,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T15:48:15.678Z","etag":null,"topics":["ascii","ruby-gem","unaccent"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hardpixel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["jonian"]}},"created_at":"2022-08-27T13:29:45.000Z","updated_at":"2025-02-23T20:12:16.000Z","dependencies_parsed_at":"2022-09-05T06:01:41.944Z","dependency_job_id":null,"html_url":"https://github.com/hardpixel/unaccent","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardpixel%2Funaccent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardpixel%2Funaccent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardpixel%2Funaccent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardpixel%2Funaccent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardpixel","download_url":"https://codeload.github.com/hardpixel/unaccent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248759091,"owners_count":21157089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ascii","ruby-gem","unaccent"],"created_at":"2024-11-15T18:07:15.493Z","updated_at":"2025-04-13T18:21:37.675Z","avatar_url":"https://github.com/hardpixel.png","language":"Ruby","readme":"# Unaccent\n\nRuby gem to replace a string's accent characters with unaccented characters. Based on [SixArm Ruby Unaccent](https://github.com/SixArm/sixarm_ruby_unaccent).\n\n[![Gem Version](https://badge.fury.io/rb/unaccent.svg)](https://badge.fury.io/rb/unaccent)\n[![Build](https://github.com/hardpixel/unaccent/actions/workflows/build.yml/badge.svg)](https://github.com/hardpixel/unaccent/actions/workflows/build.yml)\n[![Maintainability](https://api.codeclimate.com/v1/badges/9070ea120ceeddbcc1d2/maintainability)](https://codeclimate.com/github/hardpixel/unaccent/maintainability)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'unaccent'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install unaccent\n\n## Usage\n\n```ruby\nrequire 'unaccent'\n\nUnaccent.unaccent('déjà vu') # deja vu\nUnaccent.unaccent('νέα')     # νεα\n\nrequire 'unaccent/string'\n\n'déjà vu'.unaccent # deja vu\n'νέα'.unaccent     # νεα\n```\n\n## Benchmark\n\n```\nWarming up --------------------------------------\n            unaccent     3.259k i/100ms\n              sixarm   838.000  i/100ms\nCalculating -------------------------------------\n            unaccent     32.573k (± 2.1%) i/s -    162.950k in   5.004780s\n              sixarm      8.025k (± 4.6%) i/s -     40.224k in   5.023339s\n\nComparison:\n            unaccent:    32573.1 i/s\n              sixarm:     8024.7 i/s - 4.06x  (± 0.00) slower\n\nCalculating -------------------------------------\n            unaccent     5.947k memsize (     0.000  retained)\n                        76.000  objects (     0.000  retained)\n                        42.000  strings (     0.000  retained)\n              sixarm    29.979k memsize (     0.000  retained)\n                       633.000  objects (     0.000  retained)\n                        50.000  strings (     0.000  retained)\n\nComparison:\n            unaccent:       5947 allocated\n              sixarm:      29979 allocated - 5.04x more\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/hardpixel/unaccent.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","funding_links":["https://github.com/sponsors/jonian"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardpixel%2Funaccent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardpixel%2Funaccent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardpixel%2Funaccent/lists"}