https://github.com/voidful/ipa2
Tools for convert Text to IPA in python
https://github.com/voidful/ipa2
Last synced: 10 months ago
JSON representation
Tools for convert Text to IPA in python
- Host: GitHub
- URL: https://github.com/voidful/ipa2
- Owner: voidful
- Created: 2019-07-24T16:22:55.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-11T00:00:15.000Z (over 3 years ago)
- Last Synced: 2025-07-31T20:29:49.951Z (11 months ago)
- Language: Python
- Homepage:
- Size: 69.3 MB
- Stars: 17
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📖 IPA2
Tools for convert Text to IPA in python
## Usage
Install:
```
pip install ipa2
```
Before using :
```
from ipa2 import IPA2
```
# Features
* [Convert Text to IPA](#convert)
Convert Text to IPA
### convert_sent(sent)
Arguments
- `sent(String)` : sentence to convert (string)
Returns
- `list(String)` : list of the result
Examples
```
IPAConverter('yue')
print(IPAConverter.convert_sent("ä½ å¥½"))
## ['nei˩˧ hou˧˥', 'lei˩˧ hou˧˥']
```