Skip to main content

Python implementation of Avro Phonetic

Project description

A Python implementation of the popular Bengali phonetic-typing software Avro Phonetic.

Branch: Master: Master | Develop: Develop

Overview

pyAvroPhonetic provides a Python package that can be imported and used by other Python programs or scripts. It implements the Avro Phonetic Dictionary Search Library by Mehdi Hasan Khan.

N.B. This package is still experimental and is not (yet) fit for production use.

Inspirations

This package is inspired from Rifat Nabi's jsAvroPhonetic. So far, the code is a direct (and shameless) translation of jsAvroPhonetic into Python.

Installation

Using Git:

$ git clone https://github.com/kaustavdm/pyAvroPhonetic
$ cd pyAvroPhonetic
$ sudo python setup.py install

Using Pip:

$ sudo pip install PyAvroPhonetic

Usage

At present only a subset of features have been implemented. When implemented, the parser can be accessed as:

>>> from pyavrophonetic import avro
>>> avro.parse('aami banglay gaan gai')

Contributing

Fork -> Do your changes -> Send a Pull Request. It’s that easy!

Coding style follows PEP 8 along with PEP 257 for Docstring conventions.

Also, if you find any bugs, please report them in the Issues queue. As always, before you report any new issue, please check that it has not been already posted by someone else.

Acknowledgements

  • Mehdi Hasan Khan for originally developing and maintaining Avro Phonetic

  • Rifat Nabi for porting it to Javascript

  • Md Enzam Hossain for helping me understand the ins and outs of the Avro dictionary and the way it works

  • Sarim Khan for writing ibus-avro which helped to clarify my concepts further

License

Copyright (C) 2013 Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>.

This file is part of pyAvroPhonetic.

pyAvroPhonetic is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

pyAvroPhonetic is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with pyAvroPhonetic.  If not, see <http://www.gnu.org/licenses/>.

The full license text can be found in LICENSE.

Project details


Download files

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

Source Distributions

PyAvroPhonetic-0.1.3.zip (26.6 kB view hashes)

Uploaded Source

PyAvroPhonetic-0.1.3.tar.gz (21.0 kB view hashes)

Uploaded Source

Supported by

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