Skip to main content

Latin ITN (latin-itn)

Inverse Text Normalization (Casing & Trailing Punctuation Restoration) for Latin ASR transcriptions.

Installation

pip install latin-itn

Quickstart

from latin_itn import LatinITNPredictor

predictor = LatinITNPredictor.from_pretrained("njand/latin-asr-postprocessor")

raw_text = "gallia est omnis divisa in partes tres quarum unam incolunt belgae"
formatted_text = predictor.predict(raw_text)

print(formatted_text)
# Output: "Gallia est omnis divisa in partes tres, quarum unam incolunt Belgae."

Download files

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

Source Distribution

latin_itn-0.1.3.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

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

latin_itn-0.1.3-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file latin_itn-0.1.3.tar.gz.

File metadata

  • Download URL: latin_itn-0.1.3.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.9

File hashes

Hashes for latin_itn-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7907bc7b7c2dd82ebd866a7836993d92861824d49866647d3e1683cb3fb88337
MD5 22a47971a877d168a6dbf9d8e8814187
BLAKE2b-256 63f1367d72d5f83e5fddd660226ebdd3343949f5b5587a57c6d3ece34678a7cb

See more details on using hashes here.

File details

Details for the file latin_itn-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: latin_itn-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.9

File hashes

Hashes for latin_itn-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 94fbe811fec97982906c2aea9a1940f663ac361a309694016d5f4deed73d3f59
MD5 2ce4c3f35991587115b5af0fccaf9885
BLAKE2b-256 6a5391dec596ab26ddf28a36aea18b78a5862192b8c7d88411e1ffc1acb2cdcd

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