Tate

tate helps you convert accented characters to ASCII.

tate is a productivity tool, it behaves like a standard Unix application and can be chained with other Unix commands. It only reads from standard input and writes to standard output.

Installation

Add this line to your application's Gemfile:

gem 'tate'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tate

Examples

Let's say you have a French sentence with a lot of weird characters and you want to convert it into ASCII in the most representative way. You can use:

echo "Le cœur de la crémiére" | tate  

This will output:

Le coeur de la cremiere

Or you might want to create a purely ASCII version of some file:

cat customers.csv | tate > customers_tated.csv

If you call tate without providing any input, like a standard Unix command it will expect you to provide input using the keyboard. After you are done typing you can use cmd + D shortcut to trigger EOL (End of Line). You will see that the text you typed into the terminal is converted to ASCII.

Is it any good?

Yes.

Contributing

  1. Fork it (https://github.com/krmbzds/tate/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Trivia

tate is short for transliterate.
Nobody has time to type transliterate in the terminal.

License

The MIT License (MIT)
Copyright (c) 2016 Kerem Bozdas