Metadata-Version: 2.4
Name: tdmelodic-torch
Version: 2.0.1
Summary: tdmelodic: Tokyo Japanese Accent Estimator (PyTorch fork)
Home-page: https://github.com/Na2CuCl4/tdmelodic
Author: Hideyuki Tachibana, Zirui Xia
Author-email: xiazr0422@163.com
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Text Processing :: Linguistic
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Natural Language :: Japanese
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.15.4
Requires-Dist: torch>=2.0.0
Requires-Dist: mecab-python3>=0.996.1
Requires-Dist: jaconv>=0.2.4
Requires-Dist: python-Levenshtein>=0.12.0
Requires-Dist: tqdm>=4.42.1
Requires-Dist: regex>=2020.1.8
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

<p align="center">
<img src="https://github.com/PKSHATechnology-Research/tdmelodic/raw/master/docs/imgs/logo/logo_tdmelodic.svg" width="200" />
</p>


# Tokyo Dialect MELOdic accent DICtionary (tdmelodic) generator

[![document](https://readthedocs.org/projects/tdmelodic/badge/?version=latest)](https://tdmelodic.readthedocs.io/en/latest)
[![arXiv](https://img.shields.io/badge/arXiv-2009.09679-B31B1B.svg)](https://arxiv.org/abs/2009.09679)
[![Python unittest](https://github.com/PKSHATechnology-Research/tdmelodic/actions/workflows/test.yml/badge.svg)](https://github.com/PKSHATechnology-Research/tdmelodic/actions/workflows/test.yml)
[![Docker](https://github.com/PKSHATechnology-Research/tdmelodic/actions/workflows/docker-image.yml/badge.svg)](https://github.com/PKSHATechnology-Research/tdmelodic/actions/workflows/docker-image.yml)
[![Lilypond](https://github.com/PKSHATechnology-Research/tdmelodic/actions/workflows/img.yml/badge.svg)](https://github.com/PKSHATechnology-Research/tdmelodic/actions/workflows/img.yml)
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)


This module generates a large scale accent dictionary of
Japanese (Tokyo dialect) using a neural network based technique.

> **2026-06**: Migrated the neural network backend from **Chainer** to **PyTorch**.
> The public API (`Converter.sy2a()`, `Converter.s2ya()`) is fully backward-compatible
> and produces identical inference results. Now supports Python 3.8+.

For academic use, please cite the following paper.
[[IEEE Xplore]](https://ieeexplore.ieee.org/document/9054081)
[[arXiv]](https://arxiv.org/abs/2009.09679)

```bibtex
@inproceedings{tachibana2020icassp,
    author    = "H. Tachibana and Y. Katayama",
    title     = "Accent Estimation of {Japanese} Words from Their Surfaces and Romanizations
                 for Building Large Vocabulary Accent Dictionaries",
    booktitle = {2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
    pages     = "8059--8063",
    year      = "2020",
    doi       = "10.1109/ICASSP40776.2020.9054081"
}
```

## Installation and Usage

- English: [tdmelodic Documentation](https://tdmelodic.readthedocs.io/en/latest)
- 日本語: [tdmelodic 利用マニュアル](https://tdmelodic.readthedocs.io/ja/latest)

## Acknowledgement
Some part of this work is based on the results obtained from a project subsidized by the New Energy and Industrial Technology Development Organization (NEDO).
