Getting Started
Welcome! This guide takes you from a fresh clone to your first Monsu translation.
What you will need
- Python 3.8+
- git
1. Clone and install
git clone https://github.com/rkriad585/EMTranslator.git
cd EMTranslator
python -m pip install -e .
This installs the emtrans command and the emtranslator package in editable
mode, so code changes take effect immediately.
2. Verify the install
emtrans --version
# emtrans 0.1.0
3. Translate your first sentence
emtrans "Hello world"
# Monsu_1 monsu_2
Unknown words pass through unchanged:
emtrans "Hello zebra"
# Monsu_1 zebra
4. Translate back from Monsu
emtrans --reverse "monsu_1 monsu_2"
# hello world
5. Add your first word
emtrans add hi monsu_91
emtrans "hi world"
# monsu_91 monsu_2
The new word is persisted to ~/.config/neostore/emtranslator/config.toml and
is available to every future emtrans run.
6. Use the library
from emtranslator import Translator
t = Translator()
print(t.translate("Hello world"))
Next steps
- Usage — more CLI and library examples.
- CLI Reference — every command and option.
- Configuration — how dictionaries are stored.