- lexicon.py: exact forms from docs/LEXICON.md (Polish diacritics preserved) - generator.py: Clause/Command dataclasses, render(), random_command(level 1-3) - llm.py: OpenAI-compatible client via urllib, JSON-only contract, fallback to random - tts.py: Piper via subprocess, defensive (prints [TTS off: reason] on any failure) - cli.py: argparse interface per SPEC §9 - tests/test_generator.py: 23 tests covering all genders, locations, level-3 joining, capitalisation; all pass DoD verified: pytest 23/23, python -m ipin_vr --level 3 --count 6 --no-audio OK. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
6 lines
268 B
Plaintext
6 lines
268 B
Plaintext
# Rdzeń nie wymaga żadnych zewnętrznych zależności (tylko stdlib).
|
|
# TTS jest opcjonalne — zainstaluj piper-tts i pobierz głos polski:
|
|
# pip install piper-tts
|
|
# # głos: https://huggingface.co/rhasspy/piper-voices (np. pl_PL-gosia-medium.onnx)
|
|
# piper-tts
|