Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/enzet/phonetic-alphabet
A featural alternative to IPA
https://github.com/enzet/phonetic-alphabet
alphabet font linguistics phonetics typography
Last synced: about 1 month ago
JSON representation
A featural alternative to IPA
- Host: GitHub
- URL: https://github.com/enzet/phonetic-alphabet
- Owner: enzet
- Created: 2024-07-15T19:08:58.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-19T22:02:39.000Z (4 months ago)
- Last Synced: 2024-08-20T02:14:50.526Z (4 months ago)
- Topics: alphabet, font, linguistics, phonetics, typography
- Language: C++
- Homepage:
- Size: 3.57 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Featural alternative to international phonetic alphabet
Goals:
* the alphabet is featural, meaning each element should represent some phonological feature of a sound,
* symbols for most frequently used symbols should be as simple as possible,
* the character elements must have the same line width so that they can be written by hand with a pen.## Build and run
Requirements:
* C++20 compiler,
* CMake version 3.30 or higher,
* `xelatex` compiler ([XeTeX](https://tug.org/xetex/)).We include fonts under Open Font License (`fonts` directory):
* [Doulos SIL](https://software.sil.org/doulos/download/),
* [Noto Sans Korean](https://fonts.google.com/noto/specimen/Noto+Sans+KR),
* [CMU Serif Roman](https://cm-unicode.sourceforge.io/index.html).To get a PDF file with the alphabet, run
```shell
./build.sh
```It will create `build` directory and `out` directory with output PDF file.
## Language utility
Language utility has two commands: `table` and `symbol`:
* `table `, where `rows` is the list of phoneme parameters separated by `,`. E.g. `table "dental,alveolar" "trill;voiceless,trill;voiced"`.
* `symbol `, where `descriptors` is the list of symbol element descriptors. E.g. `symbol vc hc`.## Code and commit style
All C++ code should be formatted with clang-format, configuration file is `.clang-format`. All Python code should be formatted with Black, default configuration with `--line-length 80`.