Okkhor CLI is a thin command-line wrapper for Okkhor Core, providing Bangla phonetic transliteration directly from the terminal.
- Latin → Bangla transliteration
- Bangla → Latin transliteration
- Standard input (stdin) support
- Custom data directory support
- Suitable for scripts and shell pipelines
okkhor "amar sonar bangla"okkhor --reverse "আমার সোনার বাংলা"okkhor --data-dir ./data "amar sonar bangla"Short form:
okkhor -d ./data "amar sonar bangla"If no data directory is provided, Okkhor Core uses its default embedded data.
echo "amar sonar bangla" | okkhorProcess a file:
okkhor < input.txtReverse:
okkhor --reverse < input.txtokkhor [options] [text]
-r, --reverse Bangla → Latin
-d, --data-dir <directory> Use custom data
-v, --version Show version
-h, --help Show help
- Quickly transliterate text from the terminal
- Process text files
- Use Okkhor in shell pipelines
- Automate transliteration from scripts
- Test custom Okkhor data and rules
- Experiment with Okkhor Core before integrating it into an application
Clone with the okkhor-core submodule:
git clone --recurse-submodules https://github.com/okkhor-bn/okkhor-cli.git
cd okkhor-cliBuild with CMake:
cmake -S . -B build
cmake --build build --config ReleaseThis project is licensed under GPL3 See the repository license for details.