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.1.tar.gz (26.3 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.1-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lectura_ctc-1.0.1.tar.gz
  • Upload date:
  • Size: 26.3 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.1.tar.gz
Algorithm Hash digest
SHA256 80d62da889d48b10d388c1cc54f260f4aaad679cabe3748f561455362c85e00e
MD5 2bf78465f8e0370dd32b100355c72fcf
BLAKE2b-256 fefdbe88105efe98323531bdb74ace0721a0133d8565fd0c7cc9cd08e4c1d240

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lectura_ctc-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 26.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3cc3e4a5f44c5ba4825d70479b459a681aadf1e0269b23956f7a28d71d8d6478
MD5 a250e72466ca4153a29b9bc48f911c07
BLAKE2b-256 704db042d6463d7012d0e665762477a52562a0d70aa0067ba991b5bc6a95528a

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