{ "info": { "author": "Brooke Cowan", "author_email": "cowanb@ohsu.edu", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Overview\n\nThis package converts text encoded using the legacy SIL IPA93 font to\nunicode.\n\nIt contains one function, convert_to_unicode(), which relies on a\ndictionary mapping IPA93 glyph codes to their corresponding unicode\ncode point(s). This is useful if, for example, you are working with a\nresource like the [MOSS Aphasia MAPPD dataset]\n(https://www.mappd.org/about.html).\n\nThe package also exposes the dictionary itself, sil_to_unicode_dict,\nin case it is more convenient to use that directly. Lastly, this\npackage contains a list of all the unicode diacritics\n(ipa_diacritics_unicode), which may be useful for removing diacritics\nfrom the input in a post-processing step.\n\n## Notes\n\n* The IPA93 glyph access codes (and descriptions in the comments) were\ncopied from the file Ipa93.pdf, which can be found in the [IPA93 fonts\nzip archive]\n(https://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=silipa93-2.00.zip&filename=silipa93.zip).\n* Glyph access code 202 \"minute space\" does not have an obvious\nunicode equivalent and is not handled in this package.\n* The interpretation of glyph access codes 232, 134, 216, 128, 133,\n217 in this package is based on [ipa-braille-final.pdf]\n(http://brailleauthority.org/ipa/ipa-braille-final.pdf) and understood\nto represent various tone bars (see\nhttp://www.internationalphoneticalphabet.org/ipa-charts/tones-and-accents/\nas well as comments in the code).\n\n# Usage\n\nThe following code snippet illustrates the usage of the function\nconvert_to_unicode, which takes a string of SIL IPA93 glyph access\ncodes and returns an equivalent unicode string. In this example, we\nassume the input excel file MAPPD.xlsx contains a structured data set\nin which the IPA93 data lives in a column called \"Phonetic_response.\"\nWe send each data point in this column to convert_to_unicode(), store\nthe result in a new column called \"New_phonetic_response,\" and write\nthe new data set to a file called \"MAPPD.new.xlsx\":\n\n import pandas as pd\n\n mappd_df = pd.read_excel('MAPPD.xlsx')\n # The input to convert_to_unicode() is a string so handle null values\n # appropriately first.\n mappd_df['New_phonetic_response'] = mappd_df.Phonetic_response.fillna('')\n mappd_df.New_phonetic_response = mappd_df.New_phonetic_response.map(lambda x: convert_to_unicode(x))\n mappd_df.to_excel('MAPPD.new.xlsx', index=False)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cslu-nlp/ipa2unicode", "keywords": "SIL,IPA93,unicode", "license": "", "maintainer": "", "maintainer_email": "", "name": "ipa2unicode", "package_url": "https://pypi.org/project/ipa2unicode/", "platform": "", "project_url": "https://pypi.org/project/ipa2unicode/", "project_urls": { "Homepage": "https://github.com/cslu-nlp/ipa2unicode" }, "release_url": "https://pypi.org/project/ipa2unicode/1.3/", "requires_dist": null, "requires_python": "", "summary": "Package for converting SIL IPA93 legacy font to unicode", "version": "1.3" }, "last_serial": 5704388, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "3657618f9cd4669e9e91a9bcd1f53273", "sha256": "6d2e8f223bc8b1d52b1a93e7f480afbb18abaf3bc5ef65a703673b5dd35488db" }, "downloads": -1, "filename": "ipa2unicode-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3657618f9cd4669e9e91a9bcd1f53273", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7573, "upload_time": "2019-08-12T19:52:15", "url": "https://files.pythonhosted.org/packages/65/cb/b7079db3bf6ac2600416aeae8b00ea3b98ba1576ee1c11020d974a652690/ipa2unicode-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9573b0b5b8a65ddf225006b53d7abc3c", "sha256": "8d260c187694acc321afbf915abdf55e9f44a484c8ad0387cdb7cd8254730e3f" }, "downloads": -1, "filename": "ipa2unicode-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9573b0b5b8a65ddf225006b53d7abc3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5710, "upload_time": "2019-08-12T19:52:17", "url": "https://files.pythonhosted.org/packages/55/a8/b880059f2dd9a196220231a9428f1d4a52f6449f7cddc738b1e1eef02518/ipa2unicode-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "3e846398dd14a8dcf493adb09756db74", "sha256": "f629631dff44073b449b386370dfc41e7485577768e9071ffb927a88e1fec5e1" }, "downloads": -1, "filename": "ipa2unicode-0.0.2.tar.gz", "has_sig": false, "md5_digest": "3e846398dd14a8dcf493adb09756db74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5726, "upload_time": "2019-08-12T21:02:21", "url": "https://files.pythonhosted.org/packages/f7/36/3bfdbc7ade057879eb3f4f0ca688778e058b0389d55dfd2c6a1d21d64352/ipa2unicode-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "f8f98ce2270d7bd37b0791c44eb5d1f1", "sha256": "8c47d5a4962d556ff92b6dc5dfa3048e4a38794e7a1c3a0b7b357ca8d264ce56" }, "downloads": -1, "filename": "ipa2unicode-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f8f98ce2270d7bd37b0791c44eb5d1f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5725, "upload_time": "2019-08-12T21:06:40", "url": "https://files.pythonhosted.org/packages/c9/2e/7d9633cb561b97ba2a183826413c2d32e17b435408f2e78ac110c357a5a2/ipa2unicode-0.0.3.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "b1cc26e4ea69c5d3aeee2e2d5f1401f5", "sha256": "687ba804e3046630b2a2fbe994d632227157ca3737f4b1e0c17d29b98c39a808" }, "downloads": -1, "filename": "ipa2unicode-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b1cc26e4ea69c5d3aeee2e2d5f1401f5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7564, "upload_time": "2019-08-12T21:02:20", "url": "https://files.pythonhosted.org/packages/56/07/7b1d348460f1b093b8f781b953d26c8672523fc0f4c457a3a6636da00e55/ipa2unicode-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b92896f3a2e2c8060dc6943f5b5e8352", "sha256": "a9c9f9fe73aa85c37948af45a8ebcb6266f0040d273dcc0bbab247da150e469d" }, "downloads": -1, "filename": "ipa2unicode-1.0.tar.gz", "has_sig": false, "md5_digest": "b92896f3a2e2c8060dc6943f5b5e8352", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5675, "upload_time": "2019-08-12T21:02:22", "url": "https://files.pythonhosted.org/packages/14/d3/6970abb10437398015948f723999334fff4bf04d030dd5ca5af3ab487de7/ipa2unicode-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "4f6acbd133c37114153b7ec76fc7ec32", "sha256": "943a45eb4a66e866b9435cb40b5f9f0fac5cc98db2f9e5f82de6766fc6fb49d2" }, "downloads": -1, "filename": "ipa2unicode-1.1.tar.gz", "has_sig": false, "md5_digest": "4f6acbd133c37114153b7ec76fc7ec32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5718, "upload_time": "2019-08-12T21:12:45", "url": "https://files.pythonhosted.org/packages/25/0b/2b9f0aa8203fd5369ca51fedf2e25e9fe8f9989a2b152a5d85a82b500c53/ipa2unicode-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "a36864ed5b600f6c6eba03c4c61dabc3", "sha256": "e6f74cb53a056f788308c92d64d48c68350daa4a17463cf8b37b6c60c95cf952" }, "downloads": -1, "filename": "ipa2unicode-1.2.tar.gz", "has_sig": false, "md5_digest": "a36864ed5b600f6c6eba03c4c61dabc3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5716, "upload_time": "2019-08-12T21:17:54", "url": "https://files.pythonhosted.org/packages/30/97/59b62e27361d5eab8f5be048fdb27fbb86eb81a7417b87e1407e092d1f41/ipa2unicode-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "165ff7b7be21c01cf6c136ef7f31039f", "sha256": "eae2a54840a24a14f47817839c19867a21cb7de541139fd4a25567f9e79933c2" }, "downloads": -1, "filename": "ipa2unicode-1.3.tar.gz", "has_sig": false, "md5_digest": "165ff7b7be21c01cf6c136ef7f31039f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5698, "upload_time": "2019-08-20T16:36:58", "url": "https://files.pythonhosted.org/packages/25/01/943b884f51d089a94d01c72cde9274789f18c83a4d1b7e7bd93e64e8050d/ipa2unicode-1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "165ff7b7be21c01cf6c136ef7f31039f", "sha256": "eae2a54840a24a14f47817839c19867a21cb7de541139fd4a25567f9e79933c2" }, "downloads": -1, "filename": "ipa2unicode-1.3.tar.gz", "has_sig": false, "md5_digest": "165ff7b7be21c01cf6c136ef7f31039f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5698, "upload_time": "2019-08-20T16:36:58", "url": "https://files.pythonhosted.org/packages/25/01/943b884f51d089a94d01c72cde9274789f18c83a4d1b7e7bd93e64e8050d/ipa2unicode-1.3.tar.gz" } ] }