https://github.com/gmelodie/talkmentative
Augmentative translator bot
https://github.com/gmelodie/talkmentative
Last synced: 8 months ago
JSON representation
Augmentative translator bot
- Host: GitHub
- URL: https://github.com/gmelodie/talkmentative
- Owner: gmelodie
- License: mit
- Created: 2021-02-24T19:11:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-24T20:14:29.000Z (over 4 years ago)
- Last Synced: 2025-01-24T11:44:28.943Z (9 months ago)
- Language: Elixir
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# talkmentative
Augmentative translator bot
## Usage
There are three functions you can use:
1. `augment` takes in a string and returns a translated string to augmentative
```elixir
> augment "oi to sentindo saudade"
"oi tão são são"
```
2. `augment_word` takes in a single word and returns its translation
```elixir
> augment_word "ola"
"olão"
```
3. `augment_list` takes a list of words and returns a list with their translations
```elixir
> augment_list ["ola", "to", "com", "saudade"]
["olão", "tão", "cão", "são"]
```