Skip to main content

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.

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
  • 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

GPLv3

Release files for grzegorz 0.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grzegorz 0.6.2
File Size Uploaded
grzegorz-0.6.2.tar.gz 29.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for grzegorz 0.6.2
File Interpreter ABI Platform
grzegorz-0.6.2-py3-none-any.whl Python 3 none any Details

Total release size: 62.7 kB

Release files / grzegorz-0.6.2.tar.gz

Download URL grzegorz-0.6.2.tar.gz
Size 29.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1360f4881ac2276f036a8e5733d7379c7da804fb1da26abe7711e27afff9f24d
BLAKE2b-256 checksum
How to use checksums
91142cb6beb9723e96ffdce44a522ddc5bf85e9c0166e8273c00d73f50903595
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / grzegorz-0.6.2-py3-none-any.whl

Download URL grzegorz-0.6.2-py3-none-any.whl
Size 33.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bffdebc588c0e9cdbbf86e95f7acb2d7afe66f98c552b8e640eea6405aed7efd
BLAKE2b-256 checksum
How to use checksums
8a00c9dce7920a8bb2552544d84d48a2ef78c5075d87a845072d6446a6b5bc47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

0.6.2 This release

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.10

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page