Skip to main content

Decodeur phonetique CTC du francais — audio vers phones IPA (CNN-BiGRU-CTC)

Project description

lectura-ctc — Decodeur phonetique CTC du francais

Transcription audio vers phonemes IPA via un modele CNN-BiGRU-CTC (3.5M params, PER ~6%).

Installation

# Avec backend ONNX (recommande)
pip install lectura-ctc[onnx]

# Sans ONNX (mode API uniquement)
pip install lectura-ctc

Utilisation

import numpy as np
from lectura_ctc import creer_engine

engine = creer_engine()

# Audio PCM float32 mono 16kHz
audio = np.zeros(16000, dtype=np.float32)  # 1 seconde de silence
result = engine.transcrire(audio)
print(result)  # chaine IPA : "b ɔ̃ ʒ u ʁ | l ə | m ɔ̃ d"

Backends

Backend Dependance Latence Modele
ONNX Runtime onnxruntime ~10 ms/s audio phone_ctc_int8.onnx (13 Mo)
API aucune ~100 ms/s audio serveur Lectura

Parametres audio

  • Sample rate : 16 kHz
  • Format : PCM float32 mono
  • Mel : 80 bins, n_fft=512, hop=160, win=400

Licence

Double licence : AGPL-3.0 (libre) + Licence Commerciale (payante).

Les modeles ONNX sont distribues separement — voir MODEL_LICENCE.md.

Auteur

Max Carriere — lec-tu-ra.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lectura_ctc-1.0.0.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lectura_ctc-1.0.0-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file lectura_ctc-1.0.0.tar.gz.

File metadata

  • Download URL: lectura_ctc-1.0.0.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for lectura_ctc-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b56145b7a8509ff71e3fa124eef4c7c6e0762559e51ce08b9f98fdd6b6714084
MD5 7a45d4f7b3e6f0141b98be35be4791dc
BLAKE2b-256 8f6c78dc021319227cced57342110884db18fa70d46a70623b80338c03a09d57

See more details on using hashes here.

File details

Details for the file lectura_ctc-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: lectura_ctc-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for lectura_ctc-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d6446ef652b7f75aec8c837f77487a13c69c48c049091f7e84f5293a0b2d6e3
MD5 942fc0365a12b2f7c27c507ee664fb82
BLAKE2b-256 914aefac9df65a10e905ff566176269b803d312f369348f36fc85ba871dd9236

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page