From 48cc1360a7a17a620dae9c586c8a81dd2f1addac Mon Sep 17 00:00:00 2001 From: Achim Ruopp Date: Thu, 27 Apr 2023 12:33:34 -0400 Subject: [PATCH] Preparation for v0.0.2 release --- .gitignore | 1 + CHANGELOG.md | 13 +++++++++++++ mteval/__init__.py | 2 +- mteval/_modidx.py | 4 ++-- settings.ini | 42 ++++++++++++++++++------------------------ 5 files changed, 35 insertions(+), 27 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.gitignore b/.gitignore index 5f112e2..9c0417c 100644 --- a/.gitignore +++ b/.gitignore @@ -149,3 +149,4 @@ checklink/cookies.txt # Quarto .quarto +token diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..0ccf2c0 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,13 @@ +# Release notes + + + +## 0.0.2 +* Added TER metric +* Added functions to detect language support of online MT services +* Updated COMET evaluation code to COMET v2.x +* Added support for ModernMT including adaptive MT and use of reference TMs +* Bugfixes + + + diff --git a/mteval/__init__.py b/mteval/__init__.py index f102a9c..3b93d0b 100644 --- a/mteval/__init__.py +++ b/mteval/__init__.py @@ -1 +1 @@ -__version__ = "0.0.1" +__version__ = "0.0.2" diff --git a/mteval/_modidx.py b/mteval/_modidx.py index a1ddb37..3b5eebf 100644 --- a/mteval/_modidx.py +++ b/mteval/_modidx.py @@ -2,8 +2,8 @@ d = { 'settings': { 'branch': 'main', 'doc_baseurl': '/mteval', - 'doc_host': 'https://polyglottech.github.io', - 'git_url': 'https://github.com/polyglottech/mteval', + 'doc_host': 'https://achimr.github.io', + 'git_url': 'https://github.com/achimr/mteval', 'lib_path': 'mteval'}, 'syms': { 'mteval.awsmt': { 'mteval.awsmt.awstranslate': ('awsmt.html#awstranslate', 'mteval/awsmt.py'), 'mteval.awsmt.awstranslate.__init__': ('awsmt.html#awstranslate.__init__', 'mteval/awsmt.py'), diff --git a/settings.ini b/settings.ini index 0640c62..80b7352 100644 --- a/settings.ini +++ b/settings.ini @@ -1,42 +1,36 @@ [DEFAULT] -# All sections below are required unless otherwise specified. -# See https://github.com/fastai/nbdev/blob/master/settings.ini for examples. - -### Python library ### repo = mteval -lib_name = %(repo)s -version = 0.0.1 +lib_name = mteval +version = 0.0.2 min_python = 3.7 license = apache2 - -### nbdev ### doc_path = _docs lib_path = mteval nbs_path = nbs recursive = True tst_flags = notest put_version_in_init = True - -### Docs ### branch = main custom_sidebar = False -doc_host = https://%(user)s.github.io -doc_baseurl = /%(repo)s -git_url = https://github.com/%(user)s/%(repo)s -title = %(lib_name)s - -### PyPI ### +doc_host = https://achimr.github.io +doc_baseurl = /mteval +git_url = https://github.com/achimr/mteval +title = mteval audience = Developers -author = Polyglot Technology LLC -author_email = info@polyglot.technology -copyright = 2022 onwards, %(author)s +author = Achim Ruopp +author_email = achimru@gmail.com +copyright = 2022 onwards, Achim Ruopp description = Library to automate machine translation evaluation keywords = nbdev jupyter notebook python language = English status = 3 -user = polyglottech - -### Optional ### +user = achimr requirements = sacrebleu[ja,ko] requests python-dotenv[cli] google-cloud-translate boto3 deepl unbabel-comet langcodes modernmt -# dev_requirements = -# console_scripts = +black_formatting = False +readme_nb = index.ipynb +allowed_metadata_keys = +allowed_cell_metadata_keys = +jupyter_hooks = True +clean_ids = True +clear_all = False +