{ "info": { "author": "Aaron Christianson", "author_email": "ninjaaron@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "ivsort.py\r\n=========\r\n\r\na simple script to sort Hebrew words with vowels and accents according\r\nto their lexical order (which differs from the unicode point order or\r\neven the locale's collation string)\r\n\r\nFrom the docstring:\r\n\r\n Module for properly sorting Hebrew words with niqqud -- according to\r\n consonants first and vowels later. If run from the command line, takes a\r\n file with a list of words as input or reads lines from stdin.\r\n\r\n disclaimer: there is no universal method for the ordering of Hebrew\r\n vowels. The order used by this module is:\r\n\r\n Sheva, Hataf Segol, Hataf Patah, Hataf Qamets,\r\n Hiriq, Tsere, Segol, Patah, Qamets, Holem, Holem Vav, Qibbuts, Shureq\r\n\r\n This order may seem foreign to those accustomed to Latin-based\r\n languages, but it was recommended to me by the Academy for the Hebrew\r\n Language in Israel, and it is very similar to orders use by Unicode and\r\n standard Israeli keyboard layouts. It is also more \"scientific\" in the\r\n sense that it follows a phonological pattern (horizontal to vertical\r\n vowels), rather than a traditional, Latin-based pattern (aeiou).\r\n\r\n This does differ from the one convention common in Israeli works, in\r\n that it treats Sin as a separate letter from Shin. This is not\r\n especially common in Israel, but it is the convention in all of the\r\n widely used Biblical lexicons and other Western Biblical scholarship. I\r\n do this both because it would be pedagogical malpractice to give my\r\n students glossaries that differ in this regard from the works they will\r\n be using later, and because it is more accurate from the perspective of\r\n historical linguistics.\r\n\r\n I would probably revise this approach if this sort engine were targeted\r\n at modern Hebrew.\r\n\r\n\r\nUsage\r\n-----\r\n\r\nAt the command line::\r\n\r\n $ cat wordlist.txt | ivsort\r\n ...\r\n $ ivsort wordlist.txt\r\n\r\nSo it can read from a file or from STDIN, so as to be useful for text\r\neditors that can use shell commands as filters (like all of them that\r\nmatter). It is basically how `sort` works.\r\n\r\nAs a Python3 module::\r\n\r\n from ivsort import ivsort\r\n sorted_list = ivsort(unsorted_iterable)\r\n\r\nYou probably aren't going to want to muck around with the other\r\nfunctions this script provides.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ninjaaron/ivsort", "keywords": "Hebrew sorting niqqud vowels", "license": "", "maintainer": "", "maintainer_email": "", "name": "ivsort", "package_url": "https://pypi.org/project/ivsort/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ivsort/", "project_urls": { "Homepage": "https://github.com/ninjaaron/ivsort" }, "release_url": "https://pypi.org/project/ivsort/0.2/", "requires_dist": null, "requires_python": "", "summary": "proper sorting of pointed Hebrew texts", "version": "0.2" }, "last_serial": 2009567, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8ccdce9aa8bbb232fc9644b133abea87", "sha256": "0bdb0a27c1e74bb41d1baedb6f4278da90efb6afeeba89507b4000b915532b8d" }, "downloads": -1, "filename": "ivsort-0.1.tar.gz", "has_sig": false, "md5_digest": "8ccdce9aa8bbb232fc9644b133abea87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3717, "upload_time": "2016-03-16T07:25:10", "url": "https://files.pythonhosted.org/packages/e9/fd/4faaa4a1a124cfa862a834c1b301e988a273b371d253d4b4ea66dc35fa93/ivsort-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "5b0a65fa7784d3ba0c97f08e80ee5a11", "sha256": "217220cc8a4adb284ea5c4bcd20b645e84d1eadb97fdd158ab642197f4bb0ff9" }, "downloads": -1, "filename": "ivsort-0.2.tar.gz", "has_sig": false, "md5_digest": "5b0a65fa7784d3ba0c97f08e80ee5a11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3724, "upload_time": "2016-03-16T07:30:25", "url": "https://files.pythonhosted.org/packages/4c/be/56b338e8ce7c0e31be9482bf887df868081044bc35782bb40ecb1ea22f68/ivsort-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5b0a65fa7784d3ba0c97f08e80ee5a11", "sha256": "217220cc8a4adb284ea5c4bcd20b645e84d1eadb97fdd158ab642197f4bb0ff9" }, "downloads": -1, "filename": "ivsort-0.2.tar.gz", "has_sig": false, "md5_digest": "5b0a65fa7784d3ba0c97f08e80ee5a11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3724, "upload_time": "2016-03-16T07:30:25", "url": "https://files.pythonhosted.org/packages/4c/be/56b338e8ce7c0e31be9482bf887df868081044bc35782bb40ecb1ea22f68/ivsort-0.2.tar.gz" } ] }