Minimal pair generator and phonetics tool
Project description
grzegorz
grzegorz
is a linguistics tool which primarily concerns minimal pairs. For a
detailed history of the project's development, check the
Changelog
Overview
NOTE: throughout the documentation, "IPA" is used as an abbreviation for International Phonetic Alphabet transcription.
- What are minimal pairs?
- Usage manual, contains brief technical descriptions of everything
- Quickshot phonological parsing
- Getting a decently-sized wordlist
- Fetching International Phonetic Alphabet spellings
- Finding minimal pairs with the help of the generator
- Creating an Anki deck and importing it into the app
- The convenient
fullmake
command
Getting started
Requirements
- python3
- pip
Installation
Make sure the pip installation directory (default: ${HOME}/.local/bin
) is on
your ${PATH}
. If not, add it (to your .bashrc
or .zshrc
preferably):
export PATH="${HOME}/.local/bin:${PATH}"
From PyPi
$ pip install grzegorz
From source
Clone this repository and run pip:
$ git clone https://github.com/xylous/grzegorz grzegorz
$ cd grzegorz
$ pip install .
Usage
Check the "overview" section
Roadmap
- fetch a wordlist of most used words in a given language
- fetch the International Phonetic Alphabet spelling for a given wordlist
- generate minimal pairs
- look for phoneme differences
- optimise: look for interesting differences
- optimise: ignore stressed syllables
- look for chroneme differences
- look for syllable stress differences
- look for phoneme differences
- Anki integration
- create Anki flashcards from the generated minimal pairs
- export a deck containing the created flashcards
-
add audio pronunciations for every flashcard
- print phonetical analysis of a word:
- given its IPA
- given its language
- check if two words form a minimal pair, given their IPAs
- search and print the IPA of a word in a given language (on the English Wiktionary)
- minimise side effects of functions, delegate commands to wrappers around class functions
- documentation
- technical docs for usage as a binary
- "tutorial" for usage as a binary
- technical docs for usage as a library
- "tutorial" for usage as a library
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
But, honestly, the greatest contribution you can make is to add International
Phonetic Alphabet (IPA) spellings to words on the English
Wiktionary, which is the source for all the
spellings that grzegorz
uses. The more IPA spellings there are, the higher the
number of words that can be used, the more possibilities for minimal pairs.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file grzegorz-0.6.0.tar.gz
.
File metadata
- Download URL: grzegorz-0.6.0.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba080f714f138b6706443ac4348f2fd2460d02d2079569820133a52ddbfd97ee |
|
MD5 | 4cf134b4efcacbced8c4a9338a45d1f8 |
|
BLAKE2b-256 | bf4ef16b9ae3bf7930c1996a4e5b67ddbee8c37bee3e007a2d189a927cd46260 |
File details
Details for the file grzegorz-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: grzegorz-0.6.0-py3-none-any.whl
- Upload date:
- Size: 33.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9de269a8d8afcd73f1afddbe48631eecf9d2c92544aa78fc789df3097afa2073 |
|
MD5 | dfd19462bf6790b1b68f6680eb40d72d |
|
BLAKE2b-256 | 06c3edb0db06d05f4dae6e2908ecfbebc91dc21bfc3960ac4a6930b70251bdc2 |