First line is the input followed by colorized suggestions.
Metamorph easily fixes typos and suggests alternative wordings by repeatedly translating the text into different languages and in the end to the desired language.
Doc: metamorph --help
Stable | Unstable |
---|---|
pip install metamorph [--user] [--upgrade]
pip install --index-url https://test.pypi.org/simple/ metamorph [--user] [--upgrade]
For a list of parameters run metamorph -h
.
The root node flow
can have multiple different starting languages (given start
is None).
translator: "GoogleTranslator"
start: "de"
goal: "de"
flow:
de:
fr:
es:
fr:
de:
es:
fr:
sv:
fr:
en:
en:
fi:
de:
fr:
es:
fr:
de:
es:
fr:
sv:
sv:
This exemplary configs/config.yaml
will produce following results (note -sd
for diagrams and -c
for config, while most command line parameters take precedence over config (-gs
here)).
A list of translators can be found here https://github.com/nidhaloff/deep-translator.
metamorph -i -sd -gs en -c config.yaml
(GoogleTranslate
gets abbreviated to only capital letters GT
)