<commit_before># Money Bot for Telegram

Bot is handy in group chats. She looking for the currencies in context and converts $, €, ₽, CAD to opposite ones (based on Open Exchange Rates).

For example:
* someone send to a chat `I bought a backpack for $119 free shipping`
* she replies `7691 ₽`

Start chat with **[@USDRUB_bot](https://telegram.me/USDRUB_bot)** in Telegram. Ask '$1', '5€' or even '100 RUB'.

### Build Docker Image

In the folder:

```sh
$ echo "TOKEN = 'YOUR_TOKEN'" >> money_bot/token.rb       # Telegram Bot Token from @BotFather
$ echo "OXR_APP_ID = 'YOUR_OXR_ID'" >> money_bot/token.rb # App token from Open Exchange Rates
<commit_msg>readme update<commit_after># Money Bot for Telegram

Bot is handy in group chats. She looking for the currencies in context and converts $, €, ₽, CAD to opposite ones (based on Open Exchange Rates).

For example:
* someone sent to a chat `I bought a backpack for $119 free shipping`
* she replies `7691 ₽`

Start chat with **[@USDRUB_bot](https://telegram.me/USDRUB_bot)** in Telegram. Ask '$1', '5€' or even '100 RUB'.

### Build Docker Image

In the folder:

```sh
$ echo "TOKEN = 'YOUR_TOKEN'" >> money_bot/token.rb       # Telegram Bot Token from @BotFather
$ echo "OXR_APP_ID = 'YOUR_OXR_ID'" >> money_bot/token.rb # App token from Open Exchange Rates

{'fraction_non_alphanumeric': 0.1187214611872146, 'fraction_numerical': 0.0182648401826484, 'mean_word_length': 4.218253968253968, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '996602', 'n_tokens_mistral': 467, 'n_tokens_neox': 430, 'n_words': 179}