This is a simple Flask-based API for generating phonetic transcriptions using transliteration. The API accepts text input and provides a phonetic transcription in the Ukrainian language.
These instructions will help you set up and run the project locally for development and testing purposes.
- Python 3.x
- Flask
- Flask-CORS
- Transliterate
-
Clone this repository to your local machine.
git clone https://github.com/grey-box/project_codex_features
-
Change into the project directory.
cd project_codex_features
-
Create and activate a virtual environment.
python -m venv venv source venv/bin/activate # For macOS/Linux venv\Scripts\activate # For Windows
-
Install the required dependencies.
pip install -r requirements.txt
To start the API, run the following command:
```bash
python app.py
```
The API will be available at http://localhost:5000.
You can access the API by sending a GET request to the following endpoint:
http://localhost:5000/api/phonetic-transcription/
Replace with the text you want to transcribe. The API will respond with a JSON object containing the phonetic transcription.