Skip to content

Commit

Permalink
Packaged repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
cschaefer26 committed Apr 28, 2021
1 parent f6e244f commit 6d10e31
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# DeepPhonemizer

Grapheme to phoneme conversion with deep learning.
1 change: 0 additions & 1 deletion dp/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import torch
import yaml
from torch.nn.utils.rnn import pad_sequence


def read_config(path: str) -> Dict[str, Any]:
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md
43 changes: 43 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
from setuptools import setup, find_packages

long_description = """ DeepPhonemizer is a multilingual grapheme-to-phoneme modeling library that leverages recent deep learning
technology and is optimized for usage in production systems such as TTS. In particular, the library should
be accurate, fast, easy to use. Moreover, you can train a custom model on your own dataset in a few lines of code.
DeepPhonemizer is compatible with Python 3.6+ and is distributed under the MIT license."""

setup(
name='deep-phonemizer',
version='0.0.1',
author='Christian Schäfer',
author_email='[email protected]',
description='Grapheme to phoneme conversion with deep learning.',
long_description=long_description,
long_description_content_type='text/x-rst',
license='MIT',
install_requires=['torch>=1.2.0', 'tqdm>=4.38.0', 'PyYAML>=5.1', 'transformers>=2.2.2', 'tensorboard'],
extras_require={
'tests': ['pytest', 'pytest-cov', 'codecov', 'tensorflow==2.0.0'],
'docs': ['mkdocs', 'mkdocs-material'],
'dev': ['bumpversion']
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages=find_packages(exclude=('tests',)),
)

0 comments on commit 6d10e31

Please sign in to comment.