Skip to content

Commit

Permalink
Merge pull request #3 from wasertech/v0.3.1
Browse files Browse the repository at this point in the history
V0.3.1b4
  • Loading branch information
wasertech authored Mar 13, 2023
2 parents a297a79 + 66f4413 commit 9296b43
Show file tree
Hide file tree
Showing 5 changed files with 387 additions and 162 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.PHONY:

release:
@python -m build
@python -m twine upload dist/*
@rm dist/*
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
# Translator
# Interpres (Translator)

> Latin Noun
>
> **interpres** *m* or *f* (genitive interpretis); third declension
>
> 1. *An agent between two parties*; *broker*, *negotiator*, *factor*.
>
>>> Synonyms: *cōciō*, *arillātor*
>
>
> 2. *A translator*, *interpreter*, *expounder*, *expositor*, *explainer*; *dragoman*.
>
>>> Synonyms: *coniector*, *commentātor*, *interpretātor*, *trānslātor*

*`Translate`* *`from` one language* *`to` another*, *any `sentence` you would like*.

```zsh
# Translate [FROM] [TO] [SENTENCES]
❯ translate fra_Latn eng_Latn "Traduisez quelle que soit la phrase que vous voulez."
❯ translate fr "Traduisez quelle que soit la phrase que vous voulez."
Translate whatever sentence you want.
```

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


setup(
name='translator',
name='interpres',
author='Danny Waser',
version=translator.__version__,
license='LICENSE',
Expand All @@ -26,6 +26,7 @@
'psutil~=5.9.4',
'shutils~=0.1.0',
'accelerate~=0.17.0',
'questionary~=1.10.0',
],
entry_points={
'console_scripts': [
Expand Down
2 changes: 1 addition & 1 deletion translator/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from translator.translate import Translator
from translator.language import get_nllb_lang

__version__ = "0.3.0b6"
__version__ = "0.3.1b4"

LANGS = get_nllb_lang()
Loading

0 comments on commit 9296b43

Please sign in to comment.