Installing

Should work for any version of python following 3.9.

1. Install espeak

Install espeak, free text-to-speak (TTS) software, to ‘sound out’ unknown words.

  1. Mac

    • First, install homebrew if not already installed.

    •  brew install espeak
  2. Linux

    •  apt-get install espeak libespeak1 libespeak-dev
  3. Windows

    • Download and install from github

2. Install python>=3.9

You will need to install Python version 3.9 or newer. If you don’t have one, you can:

  1. Use pyenv to manage and install python versions.

    1. To install pyenv:

      curl pyenv.run | bash
    2. To install and activate a version of python:

      pyenv install 3.12
      pyenv shell 3.12
    3. Then (if you want) create a local environment:

      python -m venv venv
      . venv/bin/activate
  2. Or use conda to do the same.

    1. To install, follow these instructions for a command-line install or these for a graphical install.

    2. Then create an environment:

      conda create -n "prosodic" python=3.12 -y
      conda activate prosodic

3. Install prosodic

Install via pip:

pip install git+https://github.com/quadrismegistus/prosodic@develop

Test to see if it works:

prosodic