{ "info": { "author": "Pavel Sofroniev", "author_email": "pavelsof@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Topic :: Text Processing :: Linguistic" ], "description": "=======\nipalint\n=======\n\nChecks linguistic datasets for IPA errors and inconsistencies. Usage::\n\n ipalint mydataset\n\nThis will either (1) print the IPA errors found in the dataset; (2) print\nnothing, meaning it found no errors; or (3) print an error message if it fails\nto read the file. In no case will the input file be modified.\n\nThe linter should be able to read any well-formed csv/tsv/tab dataset, assuming\nthat there is an IPA data column. It also reads table-less lines and handles\npipes; thus, even if you have a less common format like `this one`_, you can\nstill lint it by doing something like::\n\n cat KSL.qlc | grep \"^[[:digit:]]\" | cut -f 6 | ipalint\n\n\noptional arguments\n==================\n\n``--col COL`` specifies the column containing the IPA data; this can be either\nthe column name or the column index (starting from 0). If this option is not\nset, ipalint will try to guess the column by looking at the column names.\n\n``--no-header`` treats the first row as data. The default is to treat the first\nrow as header and not lint it.\n\n``--ignore-nfd`` ignores errors about an IPA string that are not in Unicode's\nNFD normal form. With very few exceptions, IPA diacritics should be combining\ncharacters. However, in some situations this might be irrelevant for your\npurposes and you can ignore these errors.\n\n``--ignore-ws`` ignores errors about leading or trailing whitespace in IPA\nstrings. If combined with the previous flag, ipalint will only report errors\nabout symbols that are not part of the IPA chart.\n\n``--linewise`` outputs (line number, error message) tuples, one such tuple per\nline of output. The default is to output the set of errors and include the list\nof line numbers to the right of each error.\n\n``--no-lines`` only outputs the set of errors found in the data. Useful when\nyou want a quick glimpse of what might be wrong. This flag is ignored if the\nprevious one is set.\n\n\nwhat is checked\n===============\n\n* Ensures that all the characters of the dataset's IPA strings are in the `IPA\n chart`_ (the 2015 revision). The only accepted non-IPA character is space.\n* Ensures that the strings conform to Unicode's `Normalisation Form D`_ (NFD).\n* Ensures that the strings do not start or end with unnecessary whitespace.\n\n\ninstallation\n============\n\nThis is a standard Python 3 package without dependencies. It is offered at the\n`Cheese Shop`_, so you can install it through pip::\n\n pip install ipalint\n\nor, alternatively, you can clone this repo (safe to delete afterwards) and do::\n\n python setup.py test\n python setup.py install\n\nOf course, this could be happening within a virtualenv/venv as well.\n\n\nsimilar projects\n================\n\n* ipapy_ checks and cleans IPA strings.\n* lingpy_ includes some tools for analysing IPA strings.\n* ipatok_ is a library for tokenising IPA strings.\n\n\nlicence\n=======\n\nMIT. Do as you please and praise the snake gods.\n\n\n.. _`this one`: https://github.com/lingpy/lingpy/blob/facf0230c70a23cde3883a6f904445bb965878f8/lingpy/tests/test_data/KSL.qlc\n.. _`IPA chart`: https://www.internationalphoneticassociation.org/sites/default/files/phonsymbol.pdf\n.. _`Normalisation Form D`: http://www.unicode.org/reports/tr15/\n.. _`Cheese Shop`: https://pypi.org/project/ipalint/\n.. _`ipapy`: https://pypi.org/project/ipapy/\n.. _`lingpy`: https://pypi.org/project/lingpy/\n.. _`ipatok`: https://pypi.org/project/ipatok/\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pavelsof/ipalint", "keywords": "IPA lint", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ipalint", "package_url": "https://pypi.org/project/ipalint/", "platform": "", "project_url": "https://pypi.org/project/ipalint/", "project_urls": { "Homepage": "https://github.com/pavelsof/ipalint" }, "release_url": "https://pypi.org/project/ipalint/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "simple linter that checks datasets for IPA errors and inconsistencies", "version": "0.0.1" }, "last_serial": 3817481, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "d614f8ea6ba71faa2ebb2ca6d71f1033", "sha256": "a415dee677d4a38167c781af2d8610b86d30fc93fcd6aaf4380fe1ba90ad3339" }, "downloads": -1, "filename": "ipalint-0.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d614f8ea6ba71faa2ebb2ca6d71f1033", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 31215, "upload_time": "2017-05-25T14:05:58", "url": "https://files.pythonhosted.org/packages/ad/f9/f1289e93c3930ae164ff3de7ee625b2f9723bcc9a48458ddbcc78e6244f3/ipalint-0.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "878224f9d009c823e2d34cce42a13c5c", "sha256": "1c4ec22aed6484191084207d4a17ab033712c26f87190806a79546c514a4e61e" }, "downloads": -1, "filename": "ipalint-0.0.0.tar.gz", "has_sig": false, "md5_digest": "878224f9d009c823e2d34cce42a13c5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23845, "upload_time": "2017-05-25T14:06:00", "url": "https://files.pythonhosted.org/packages/ae/33/97f1876f740f93ca374c5a9cf952ff6f8f924fc1dd34e1ec4847539df99a/ipalint-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "b93633f2fca51d083f4de28bc75f9b71", "sha256": "66dfd8bd1a7af0afecfb268b33afb15c7c12489a0a4d44c33148346d757eb8ab" }, "downloads": -1, "filename": "ipalint-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b93633f2fca51d083f4de28bc75f9b71", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 31282, "upload_time": "2018-04-28T19:22:41", "url": "https://files.pythonhosted.org/packages/dd/c6/05cae32575e9e59bf2f3edb4ccd9f5709ae6eb37ed0fff40068aa75285a8/ipalint-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d45bcc82b66c75faafda164c761643c0", "sha256": "9d0c19ca107f7a53becceabac41ba6085a293729b3a3b15e55df30b7e77978ac" }, "downloads": -1, "filename": "ipalint-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d45bcc82b66c75faafda164c761643c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23873, "upload_time": "2018-04-28T19:22:43", "url": "https://files.pythonhosted.org/packages/31/f6/b3039e9454073ee8f28f2739e0b41a810e2ed1d1f42a49452a5b87a27757/ipalint-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b93633f2fca51d083f4de28bc75f9b71", "sha256": "66dfd8bd1a7af0afecfb268b33afb15c7c12489a0a4d44c33148346d757eb8ab" }, "downloads": -1, "filename": "ipalint-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b93633f2fca51d083f4de28bc75f9b71", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 31282, "upload_time": "2018-04-28T19:22:41", "url": "https://files.pythonhosted.org/packages/dd/c6/05cae32575e9e59bf2f3edb4ccd9f5709ae6eb37ed0fff40068aa75285a8/ipalint-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d45bcc82b66c75faafda164c761643c0", "sha256": "9d0c19ca107f7a53becceabac41ba6085a293729b3a3b15e55df30b7e77978ac" }, "downloads": -1, "filename": "ipalint-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d45bcc82b66c75faafda164c761643c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23873, "upload_time": "2018-04-28T19:22:43", "url": "https://files.pythonhosted.org/packages/31/f6/b3039e9454073ee8f28f2739e0b41a810e2ed1d1f42a49452a5b87a27757/ipalint-0.0.1.tar.gz" } ] }