# OpenOdia

> openodia is an open source Python library and command-line tool for Odia (ଓଡ଼ିଆ) text: tokenize, normalize, clean, translate, detect language, generate names, romanize (ISO 15919, Hunterian, ITRANS), summarize, remove stopwords, n-grams, word frequency, PII masking, and sandhi / compound splitting (`from openodia import sandhi`, then `sandhi.split` and `sandhi.join`). Install with `pip install openodia` or run `uvx openodia`.

Version note: `--json` on every CLI subcommand (one machine-readable JSON document on stdout) needs a release newer than 0.1.14. PyPI 0.1.14 has `--json` on `detect-language` only, and other subcommands exit with code 2 there. From a source checkout, `uv run openodia <subcommand> --json` works. `openodia pii` exits 2 on 0.1.14 and `import openodia.pii` fails there; it needs a newer release too. `openodia.sandhi` needs a release newer than 0.1.14: `import openodia.sandhi` fails on 0.1.14. `split` and `join` NFC-normalize.

## Docs

- [Getting started](https://openodia.soumendrak.com/getting-started/): install, tokenize, and normalize
- [Documentation](https://openodia.soumendrak.com/): install, library API and command-line interface
- [Applications](https://openodia.soumendrak.com/application/): worked examples such as name generation and data masking
- [Text processing guide](https://openodia.soumendrak.com/guides/text-processing/): tokenize, sentences, stopwords, normalize, clean, detect language
- [Script, syllables and names guide](https://openodia.soumendrak.com/guides/script-and-names/): alphabet, syllable split, name generation
- [Numbers guide](https://openodia.soumendrak.com/guides/numbers/): number words, ordinals, dates, currency, digits
- [Analysis guide](https://openodia.soumendrak.com/guides/analysis/): n-grams, frequency, collocations, co-occurrence, summarization
- [Translation guide](https://openodia.soumendrak.com/guides/translation/): offline dictionary, Google Translate, translation cache
- [Command-line guide](https://openodia.soumendrak.com/guides/cli/): every subcommand with runnable examples
- [Transliteration guide](https://openodia.soumendrak.com/guides/transliteration/): Indic scripts and romanisation
- [PII guide](https://openodia.soumendrak.com/guides/pii/): find and mask phone numbers, emails, URLs, Aadhaar numbers, PAN and PIN codes
- [API reference](https://openodia.soumendrak.com/api/text/): signatures and docstrings generated from the source
- [Romanisation API](https://openodia.soumendrak.com/api/roman/): `to_roman` and `from_roman` for ISO 15919, Hunterian and ITRANS
- [Sandhi API](https://openodia.soumendrak.com/api/sandhi/): `sandhi.split` and `sandhi.join`
- [Indic API](https://openodia.soumendrak.com/api/indic/): `indic.transliterate` between Brahmic scripts
- [PII API](https://openodia.soumendrak.com/api/pii/): `pii.detect` and `pii.mask`
- [Contributing](https://openodia.soumendrak.com/contributing/): setup, checks, and change rules
- [Changelog](https://openodia.soumendrak.com/changelog/): released and unreleased changes

## For agents

- [AGENTS.md](https://github.com/soumendrak/openodia/blob/main/AGENTS.md): CLI examples, JSON output shapes, exit codes and development commands
- [SKILL.md](https://github.com/soumendrak/openodia/blob/main/skills/openodia/SKILL.md): agent skill for the openodia CLI

## Optional

- [PyPI](https://pypi.org/project/openodia/): releases and install
- [Source code](https://github.com/soumendrak/openodia): issues and contributions
- [Changelog file](https://github.com/soumendrak/openodia/blob/main/CHANGELOG.md): the same text as the changelog page, in the repository
