{ "info": { "author": "Kavya Manohar", "author_email": "sakhi.kavya@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "Python Interface for Malayalam phonetic analyser\n==================================================\n.. image:: https://img.shields.io/pypi/v/mlphon.svg\n :target: https://pypi.python.org/pypi/mlphon\n :alt: PyPI Version\n\nThis is python interface for the `Malayalam phonetic analyser - mlphon`_.\n\nInstallation\n------------\n\nPython 3 is required. Using with `venv`_ is recommended\n\n .. code-block:: console\n\n $ pip install mlphon\n\nUsage\n-----\n\nGrapheme to Phoneme analysis example\n------------------------------------\n\n .. code-block:: python\n\n from mlphon import G2P\n analyser = G2P()\n analyser.analyse('\u0d15\u0d47\u0d30\u0d33\u0d02')\n\n\nGives\n\n .. code-block:: python\n\n [(('ke\u02d0\u027ea\u026dam', 0.0),))]\n\n\nThe second item in this result is the weight.\nIt is not relevant in the current implementation.\n\nGrapheme to Phoneme generation example\n--------------------------------------\n\n .. code-block:: python\n\n from mlphon import G2P\n generator = G2P()\n generator.generate('ke\u02d0\u027ea\u026dam')\n\n\nGives\n\n .. code-block:: python\n\n (('\u0d15\u0d47\u0d30\u0d33\u0d02', 0.0),)\n\nThe second item in this result is the weight.\nIt is not relevant in the current implementation.\n\n\nGrapheme to IPA analysis\n--------------------------\n\n .. code-block:: python\n\n from mlphon import IPA\n analyser = IPA()\n analyser.analyse(\"\u0d15\u0d47\u0d30\u0d33\u0d02\")\n\nGives\n\n .. code-block:: python\n\n (('ke\u02d0\u027ea\u026dam', 0.0),)\n\n, , tags are explisitly shown in the IPA analysis.\n\nGrapheme generation from IPA\n----------------------------\n\n .. code-block:: python\n\n from mlphon import IPA\n generator = IPA()\n generator.generate('ke\u02d0\u027ea\u026dam')\n\nGives\n\n .. code-block:: python\n\n (('\u0d15\u0d47\u0d30\u0d33\u0d02', 0.0),)\n\nThere can be multiple results in this generation.\nPlease ignore the irrelevant ones, if any.\n\nSyllablizer\n-----------\n\n .. code-block:: python\n\n from mlphon import Syllablizer\n syl = Syllablizer()\n syl.syllablize('\u0d15\u0d47\u0d30\u0d33\u0d02')\n\nGives\n\n\n .. code-block:: python\n\n (('\u0d15\u0d47\u0d30\u0d33\u0d02', 0.0),)\n\n\n\n\nCommand line interface\n----------------------\nG2P\n\n .. code-block:: console\n\n $ mlg2p --help\n usage: mlg2p [-h] [-i INFILE] [-o OUTFILE] [-a] [-g] [-v]\n optional arguments:\n -h, --help show this help message and exit\n -i INFILE, --input INFILE\n source of analysis data\n -o OUTFILE, --output OUTFILE\n target of generated strings\n -a, --analyse Analyse the input file strings\n -g, --generate Generate the input file strings\n -v, --verbose print verbosely while processing\n\nIPA\n\n .. code-block:: console\n\n $ mlipa --help\n usage: mlipa [-h] [-i INFILE] [-o OUTFILE] [-a] [-g] [-v]\n optional arguments:\n -h, --help show this help message and exit\n -i INFILE, --input INFILE\n source of analysis data\n -o OUTFILE, --output OUTFILE\n target of generated strings\n -a, --analyse Analyse the input file strings\n -g, --generate Generate the input file strings\n -v, --verbose print verbosely while processing\n\nSyllablizer\n\n\n .. code-block:: console\n\n $ mlsyllablize --help\n usage: mlsyllablize [-h] [-i INFILE] [-o OUTFILE]\n optional arguments:\n -h, --help show this help message and exit\n -i INFILE, --input INFILE\n source of analysis data\n -o OUTFILE, --output OUTFILE\n target of generated strings\n\n\n.. _`Malayalam Phonetic Analyser - mlphon`: https://gitlab.com/smc/mlphon\n.. _`venv`: https://docs.python.org/3/library/venv.html", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/smc/mlphon", "keywords": "Malayalam phonetic FST analyser generator IPA syllable", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mlphon", "package_url": "https://pypi.org/project/mlphon/", "platform": "", "project_url": "https://pypi.org/project/mlphon/", "project_urls": { "Homepage": "https://gitlab.com/smc/mlphon" }, "release_url": "https://pypi.org/project/mlphon/1.0.4/", "requires_dist": null, "requires_python": "", "summary": "Malayalam phonetic analyser", "version": "1.0.4" }, "last_serial": 4671636, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "9d056b7f42fb0166bdb4b4429a631d43", "sha256": "db9b0e48a15d76e570317b2018a9e79325bbf7de23047b456dc67b8f372b5b0b" }, "downloads": -1, "filename": "mlphon-1.0.0.tar.gz", "has_sig": false, "md5_digest": "9d056b7f42fb0166bdb4b4429a631d43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5234, "upload_time": "2018-12-25T13:57:14", "url": "https://files.pythonhosted.org/packages/d7/81/44d96fe0f328b3e9bb95325489ce114024116ed4105581b392f12c73c38d/mlphon-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "a740638612bf128f84655b1b9cad3305", "sha256": "29aea114195f3aea25e449bf51bc6838fb0646538c7635f8c02e3c14dc566b31" }, "downloads": -1, "filename": "mlphon-1.0.1.tar.gz", "has_sig": false, "md5_digest": "a740638612bf128f84655b1b9cad3305", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5230, "upload_time": "2018-12-25T14:10:34", "url": "https://files.pythonhosted.org/packages/93/12/b04c5ab4b12d1fb6fe29d52027580c8d5324af712815c94b0fb756acf7e4/mlphon-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "966ac2a85101e3466a41441f1cbdfc2c", "sha256": "fddb1392e7b062e20884e6551c462d59e0fdeb6390c569f1ac3ca879bdc3a47a" }, "downloads": -1, "filename": "mlphon-1.0.2.tar.gz", "has_sig": false, "md5_digest": "966ac2a85101e3466a41441f1cbdfc2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10054, "upload_time": "2018-12-25T16:25:26", "url": "https://files.pythonhosted.org/packages/b4/c4/770254bb4bad1ca5d8f7ac4572de1b15293031eab6adeba4b5439f979369/mlphon-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "d84c7f7b0b004939f45dbcd6bc70ccc3", "sha256": "f5ebdcb0cbd945c70c8de658bed68ae5dbb5aacd6cff0a38087ff5166abd54ee" }, "downloads": -1, "filename": "mlphon-1.0.3.tar.gz", "has_sig": false, "md5_digest": "d84c7f7b0b004939f45dbcd6bc70ccc3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10062, "upload_time": "2018-12-26T10:02:31", "url": "https://files.pythonhosted.org/packages/6c/34/23dc3f61ca3280ce860ae4b7555ddf4e27a6ea2b2caef1b03c820db4b9ef/mlphon-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "0a3a01b919a75968954e9a4142a85ce5", "sha256": "83216e4a69c6f99b9f1d1eaa2d7b51074dc8bf2d17d57ab88866b267ad2b89c4" }, "downloads": -1, "filename": "mlphon-1.0.4.tar.gz", "has_sig": false, "md5_digest": "0a3a01b919a75968954e9a4142a85ce5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9569, "upload_time": "2019-01-08T06:35:51", "url": "https://files.pythonhosted.org/packages/09/1f/1880ce911860067ea8b2008defc8e01a96a141b980b2cc200ff1d8eb7dfd/mlphon-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0a3a01b919a75968954e9a4142a85ce5", "sha256": "83216e4a69c6f99b9f1d1eaa2d7b51074dc8bf2d17d57ab88866b267ad2b89c4" }, "downloads": -1, "filename": "mlphon-1.0.4.tar.gz", "has_sig": false, "md5_digest": "0a3a01b919a75968954e9a4142a85ce5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9569, "upload_time": "2019-01-08T06:35:51", "url": "https://files.pythonhosted.org/packages/09/1f/1880ce911860067ea8b2008defc8e01a96a141b980b2cc200ff1d8eb7dfd/mlphon-1.0.4.tar.gz" } ] }