CoolFace
Apppublic

sumanthd/IndicTrans-MultilingualTranslation

sourceHugging Facemitupdated 4y agoView on Hugging Face
6likes
setup.py39 linesDownload Raw Back to subword-nmt
1from setuptools import setup, find_packages2import unittest3import codecs4 5def test_suite():6    test_loader = unittest.TestLoader()7    test_suite = test_loader.discover('subword_nmt/tests', pattern='test_*.py')8 9    return test_suite10 11 12setup(13    name='subword_nmt',14    version='0.3.8',15    description='Unsupervised Word Segmentation for Neural Machine Translation and Text Generation',16    long_description=(codecs.open("README.md", encoding='utf-8').read() +17                      "\n\n" + codecs.open("CHANGELOG.md", encoding='utf-8').read()),18    long_description_content_type="text/markdown",19    url='https://github.com/rsennrich/subword-nmt',20    author='Rico Sennrich',21    license='MIT',22    test_suite='setup.test_suite',23    classifiers=[24    'Intended Audience :: Developers',25    'Topic :: Text Processing',26    'Topic :: Scientific/Engineering :: Artificial Intelligence',27    'License :: OSI Approved :: MIT License',28    'Programming Language :: Python :: 2',29    'Programming Language :: Python :: 3',30    ],31    install_requires=['mock',32                      'tqdm'],33    packages=find_packages(),34    entry_points={35        'console_scripts': ['subword-nmt=subword_nmt.subword_nmt:main'],36    },37    include_package_data=True38)39