Skip to content

Commit 08306f2

Browse files
committed
bump version
1 parent 6e8a215 commit 08306f2

File tree

6 files changed

+51
-26
lines changed

6 files changed

+51
-26
lines changed

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.0.0] - 2025-04-16
11+
1012
### Added
1113

1214
- GUI which is hosted on Hugging Face
1315
- Tests for `pypinyin`
1416
- Support for Python 3.13
1517
- Missing tests to cover 100 % of the code
18+
- mypy support
19+
- ruff linting
1620

1721
### Bugfix
1822

19-
- `ɔ` missed in the phoneme set
23+
- `ɔ` missed in the phoneme set in readme
24+
25+
### Removed
26+
27+
- Pipfile and Pipfile.lock
2028

2129
## [0.0.2] - 2024-02-09
2230

@@ -30,6 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3038

3139
- Initial release
3240

33-
[unreleased]: https://github.com/stefantaubert/pinyin-to-ipa/compare/v0.0.2...HEAD
41+
[unreleased]: https://github.com/stefantaubert/pinyin-to-ipa/compare/v1.0.0...HEAD
42+
[1.0.0]: https://github.com/stefantaubert/pinyin-to-ipa/compare/v0.0.2...v1.0.0
3443
[0.0.2]: https://github.com/stefantaubert/pinyin-to-ipa/compare/v0.0.1...v0.0.2
3544
[0.0.1]: https://github.com/stefantaubert/pinyin-to-ipa/releases/tag/v0.0.1

CITATION.cff

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
cff-version: 1.2.0
22
title: pinyin-to-ipa
3-
abstract: Command-line interface (CLI) and Python library to transcribe pinyin to IPA.
3+
abstract: A Python library, web application, and command-line tool for transcribing Pinyin to IPA. Tone markers are attached to the vowel of each syllable.
44
message: >-
55
If you use this software, please cite it using the
66
metadata from this file.
77
type: software
88
authors:
9-
- email: github@stefantaubert.com
10-
given-names: Stefan
9+
- given-names: Stefan
1110
family-names: Taubert
1211
affiliation: Chemnitz University of Technology
1312
orcid: 'https://orcid.org/0000-0002-4932-2874'
1413
website: 'https://stefantaubert.com'
15-
version: 0.0.2
16-
date-released: 2024-02-09
14+
version: 1.0.0
15+
date-released: 2025-04-16
1716
license: MIT
1817
url: https://github.com/stefantaubert/pinyin-to-ipa
19-
doi: 10.5281/zenodo.10639971
18+
doi: 10.5281/zenodo.15229718

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
[![CI](https://github.com/stefantaubert/pinyin-to-ipa/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/stefantaubert/pinyin-to-ipa/actions/workflows/ci.yml)
44
[![codecov](https://codecov.io/github/stefantaubert/pinyin-to-ipa/branch/master/graph/badge.svg?token=DZ8LB2Q5I0)](https://codecov.io/github/stefantaubert/pinyin-to-ipa)
55
[![PyPI](https://img.shields.io/pypi/v/pinyin-to-ipa.svg)](https://pypi.python.org/pypi/pinyin-to-ipa)
6-
[![Python versions](https://img.shields.io/pypi/pyversions/pinyin-to-ipa.svg)](https://pypi.python.org/pypi/pinyin-to-ipa) \
7-
[![License: MIT](https://img.shields.io/github/license/stefantaubert/pinyin-to-ipa.svg)](https://github.com/stefantaubert/pinyin-to-ipa/blob/master/LICENSE)
6+
[![Python versions](https://img.shields.io/pypi/pyversions/pinyin-to-ipa.svg)](https://pypi.python.org/pypi/pinyin-to-ipa)
7+
[![License: MIT](https://img.shields.io/github/license/stefantaubert/pinyin-to-ipa.svg)](https://github.com/stefantaubert/pinyin-to-ipa/blob/master/LICENSE) \
8+
[![PyPI Downloads](https://img.shields.io/pypi/dm/pinyin-to-ipa.svg?label=PyPI%20downloads)](https://pypi.org/project/pinyin-to-ipa)
89
[![Hugging Face 🤗](https://img.shields.io/badge/%20%F0%9F%A4%97_Hugging_Face-pinyin--to--ipa-blue.svg)](https://huggingface.co/spaces/stefantaubert/pinyin-to-ipa)
9-
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10639971.svg)](https://doi.org/10.5281/zenodo.10639971)
10+
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.15229718.svg)](https://doi.org/10.5281/zenodo.15229718)
1011

11-
Python library, web app, and command-line interface to transcribe pinyin to IPA.
12-
The tones are attached to the vowel of the syllable.
12+
A Python library, web application, and command-line tool for transcribing Pinyin to IPA.
13+
Tone markers are attached to the vowel of each syllable.
1314

1415
## Getting started
1516

@@ -149,5 +150,5 @@ Vowels and diphthongs contain one of these tones:
149150
If you want to cite this repo, you can use this BibTeX-entry generated by GitHub (see *About => Cite this repository*).
150151

151152
```txt
152-
Taubert, S. (2025). pinyin-to-ipa (Version 0.0.2) [Computer software]. https://doi.org/10.5281/zenodo.10639971
153+
Taubert, S. (2025). pinyin-to-ipa (Version 1.0.0) [Computer software]. https://doi.org/10.5281/zenodo.15229718
153154
```

pyproject.toml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "pinyin-to-ipa"
3-
version = "0.0.2"
4-
description = "Command-line interface (CLI) and Python library to transcribe pinyin to IPA."
3+
version = "1.0.0"
4+
description = "A Python library, web application, and command-line tool for transcribing Pinyin to IPA. Tone markers are attached to the vowel of each syllable."
55
readme = "README.md"
66
requires-python = ">=3.8, <3.14"
77
license = { file = "LICENSE" }
@@ -10,16 +10,28 @@ maintainers = [
1010
{ name = "Stefan Taubert" },
1111
]
1212
keywords = [
13-
"Pronunciation",
14-
"Dictionary",
1513
"Chinese",
16-
"IPA",
14+
"Mandarin",
1715
"Pinyin",
16+
"IPA",
17+
"Phonetics",
18+
"Phonology",
19+
"Tone",
20+
"Transcription",
1821
"Language",
1922
"Linguistics",
23+
"Speech",
24+
"Romanization",
25+
"Language Learning",
26+
"Natural Language Processing",
27+
"Grapheme-to-Phoneme"
2028
]
2129
classifiers = [
22-
"Development Status :: 4 - Beta",
30+
"Development Status :: 5 - Production/Stable",
31+
"Intended Audience :: Developers",
32+
"Intended Audience :: Education",
33+
"Intended Audience :: Science/Research",
34+
"License :: OSI Approved :: MIT License",
2335
"Operating System :: OS Independent",
2436
"Operating System :: MacOS",
2537
"Operating System :: POSIX",
@@ -35,11 +47,15 @@ classifiers = [
3547
"Programming Language :: Python :: 3.11",
3648
"Programming Language :: Python :: 3.12",
3749
"Programming Language :: Python :: 3.13",
38-
"License :: OSI Approved :: MIT License",
3950
"Topic :: Multimedia :: Sound/Audio",
4051
"Topic :: Multimedia :: Sound/Audio :: Analysis",
4152
"Topic :: Multimedia :: Sound/Audio :: Sound Synthesis",
4253
"Topic :: Multimedia :: Sound/Audio :: Speech",
54+
"Topic :: Text Processing :: Linguistic",
55+
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
56+
"Topic :: Software Development :: Libraries :: Python Modules",
57+
"Environment :: Console",
58+
"Environment :: Web Environment"
4359
]
4460
dependencies = ["ordered-set>=4.1.0", "pypinyin>=0.54"]
4561

src/pinyin_to_ipa/transcription.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,14 +250,14 @@ def apply_tone(
250250

251251
def pinyin_to_ipa(pinyin: str) -> OrderedSet[Tuple[str, ...]]:
252252
"""
253-
Convert a Pinyin string into its corresponding
253+
Convert a Pinyin syllable into its corresponding
254254
International Phonetic Alphabet (IPA) transcription.
255255
256256
Parameters
257257
----------
258258
pinyin : str
259-
A string representing the Pinyin input to be transcribed into IPA. The input
260-
can include tone markers (e.g., "ma1", "zhong4").
259+
A syllable representing the Pinyin input to be transcribed into IPA. The input
260+
can include tone markers (e.g., "zhong", "zhōng", "zho1ng", "zhong1").
261261
262262
Returns
263263
-------

src/pinyin_to_ipa_app/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def build_interface() -> gr.Blocks:
103103
104104
### Citation
105105
106-
Taubert, S. (2024). pinyin-to-ipa (Version 0.0.2) [Computer software]. https://doi.org/10.5281/zenodo.10639971
106+
Taubert, S. (2024). pinyin-to-ipa (Version 1.0.0) [Computer software]. https://doi.org/10.5281/zenodo.15229718
107107
108108
### References
109109
@@ -124,7 +124,7 @@ def build_interface() -> gr.Blocks:
124124
125125
### App information
126126
127-
- Version: 0.0.2
127+
- Version: 1.0.0
128128
- License: [MIT](https://github.com/stefantaubert/pinyin-to-ipa?tab=MIT-1-ov-file#readme)
129129
- GitHub: [stefantaubert/pinyin-to-ipa](https://github.com/stefantaubert/pinyin-to-ipa)
130130
"""

0 commit comments

Comments
 (0)