emPhon
Phonetic transcriber for the xtsv framework.
Requirements
- Python >= 3.6
- make
Installation
- Clone the repository:
git clone https://github.com/levaid/emPhon make buildpip install dist/*.whl
Usage
- Same as any other module using the xtsv framework - either as part of the emtsv framework or as separate module.
- The module needs
formandanasfields and produces thephonfield and by default, it prepends the phonetic form of the entire sentence
Configurations
The module takes command line arguments. By default, the module produces IPA output in strict xtsv format.
Command line arguments:
--ipaizeor--no-ipaizetoggles IPA-ization, it produces the inner representation which uses exactly one unicode character for each phoneme. Default: on.--opt-palatal-assimor--no-opt-palatal-assimtoggles optional palatal assimilation for the t/d+ny clusters, e.g. lapátnyél -> lapátynyél. Default: off.--include-sentenceor--no-include-sentencetoggles the inclusion of the entire phonetic form as a comment before each sentence. Default: on.
Example output
# phon = ɒ mɛɡoldaːʒbɒ ɒkaːr moʃt meːɡ nɛm iʃ ɛŋɡɛdeːjɛzɛtː oltaːʃok iʃ bɛjaːt͡shɒtnɒk .
A ɒ
megoldásba mɛɡoldaːʒbɒ
akár ɒkaːr
most moʃt
még meːɡ
nem nɛm
is iʃ
engedélyezett ɛŋɡɛdeːjɛzɛtː
oltások oltaːʃok
is iʃ
bejátszhatnak bɛjaːt͡shɒtnɒk
. .
Paper
Can be downloaded from here. Please cite the following paper using this module:
@InProceedings{ Kulcsar:2021,
author = {Virág Kulcsár and Dániel Lévai},
title = {em{P}hon: Morphologically sensitive open-source phonetic transcriber},
booktitle = {{XVII}. Conference on Hungarian Computational Linguistics ({MSZNY}2021)},
year = 2021,
address = {Szeged}
}
Miscellaneous
If different IPA (or transcription) is needed, the emphon/ipa_key.json file contains the key, which is human-modifiable.
License
This module is licensed under the LGPL 3.0 license.
Metadata
Release files for emphon 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| emphon-1.3.1.tar.gz | 10.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| emphon-1.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.5 kB
Release files / emphon-1.3.1.tar.gz
| Download URL | emphon-1.3.1.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cce20eba3b4a3d98c07112993d9b4dbc5b35117c1f009371c151416343c4ca2d
|
|
BLAKE2b-256 checksum How to use checksums |
e37048b910c9a90ae0a391777592fe7ef686c3ab91e6e168d0392357d913c902
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
|
Release files / emphon-1.3.1-py3-none-any.whl
| Download URL | emphon-1.3.1-py3-none-any.whl |
|---|---|
| Size | 22.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20c40120b9f57a946644f53fbfdc6b457d28f03eac031509cbd40973f2ae9097
|
|
BLAKE2b-256 checksum How to use checksums |
5624ad7964196b7497473665118bdcdd4bf97e6eb976262c47d18052cdfb927c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
|
Security for emphon 1.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.