├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── examples ├── MT │ ├── adv.charswap.en │ ├── adv.charswap.fr │ ├── adv.knn.en │ ├── adv.knn.fr │ ├── adv.unconstrained.en │ ├── adv.unconstrained.fr │ ├── base.en │ ├── ref.en │ └── src.fr ├── custom_scorers.py └── sentiment │ ├── adv_out.txt │ ├── adv_src.txt │ ├── out.txt │ ├── ref.txt │ └── src.txt ├── setup.py ├── teapot.gif ├── teapot ├── __init__.py ├── main.py ├── scorers.py └── utils.py └── tests ├── __init__.py ├── test_api.py └── test_scorers.py /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/README.md -------------------------------------------------------------------------------- /examples/MT/adv.charswap.en: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/MT/adv.charswap.en -------------------------------------------------------------------------------- /examples/MT/adv.charswap.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/MT/adv.charswap.fr -------------------------------------------------------------------------------- /examples/MT/adv.knn.en: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/MT/adv.knn.en -------------------------------------------------------------------------------- /examples/MT/adv.knn.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/MT/adv.knn.fr -------------------------------------------------------------------------------- /examples/MT/adv.unconstrained.en: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/MT/adv.unconstrained.en -------------------------------------------------------------------------------- /examples/MT/adv.unconstrained.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/MT/adv.unconstrained.fr -------------------------------------------------------------------------------- /examples/MT/base.en: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/MT/base.en -------------------------------------------------------------------------------- /examples/MT/ref.en: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/MT/ref.en -------------------------------------------------------------------------------- /examples/MT/src.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/MT/src.fr -------------------------------------------------------------------------------- /examples/custom_scorers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/custom_scorers.py -------------------------------------------------------------------------------- /examples/sentiment/adv_out.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/sentiment/adv_out.txt -------------------------------------------------------------------------------- /examples/sentiment/adv_src.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/sentiment/adv_src.txt -------------------------------------------------------------------------------- /examples/sentiment/out.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/sentiment/out.txt -------------------------------------------------------------------------------- /examples/sentiment/ref.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/sentiment/ref.txt -------------------------------------------------------------------------------- /examples/sentiment/src.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/examples/sentiment/src.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/setup.py -------------------------------------------------------------------------------- /teapot.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/teapot.gif -------------------------------------------------------------------------------- /teapot/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/teapot/__init__.py -------------------------------------------------------------------------------- /teapot/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/teapot/main.py -------------------------------------------------------------------------------- /teapot/scorers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/teapot/scorers.py -------------------------------------------------------------------------------- /teapot/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/teapot/utils.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/tests/test_api.py -------------------------------------------------------------------------------- /tests/test_scorers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmichel31415/teapot-nlp/HEAD/tests/test_scorers.py --------------------------------------------------------------------------------