{ "info": { "author": "Anna Wasewicz", "author_email": "wasewicz@umich.edu", "bugtrack_url": null, "classifiers": [], "description": "This package uses Jaccard similarity with bag of words to find similarities between passed in contents\r\nand a json file.\r\n\r\nThere are two useful functions:\r\n\r\nsave(filename, docID, contents) ===> takes in the json filename, an id for the document you want to save,\r\n\t\t\t\t\t\t\t\t\t and the contents of the document in a string. The function adds on \r\n\t\t\t\t\t\t\t\t\t the docID and contents to filename, and if filename doesn't exist, it \r\n\t\t\t\t\t\t\t\t\t creates a new file and inserts the passed in contents.\r\n\r\ndef getSimilarities(filename, docID, contents, threshold) ===> takes in the filename of all the documents to \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tto compare to, docID of the document you want \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tto find similarities for, the contents of the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument, a similarity threshold between 0 and\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t1 inclusive. The function returns a list of \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(similarity, docID) in descending order of all\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocuments whose similarities are above or equal\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tto the threshold.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pypi.python.org/pypi/jsim/1.0", "keywords": null, "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "jsim", "package_url": "https://pypi.org/project/jsim/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/jsim/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://pypi.python.org/pypi/jsim/1.0" }, "release_url": "https://pypi.org/project/jsim/1.2/", "requires_dist": null, "requires_python": null, "summary": "Jaccard similarity document manager", "version": "1.2" }, "last_serial": 1924974, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "81bf96fb24a87a310d218f11f8da33bc", "sha256": "5f5326c04cd479420e52056789a49bfec0c400f7cebbe14cf83806f9805fd0cc" }, "downloads": -1, "filename": "jsim-1.0.tar.gz", "has_sig": false, "md5_digest": "81bf96fb24a87a310d218f11f8da33bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3386, "upload_time": "2016-01-25T01:06:01", "url": "https://files.pythonhosted.org/packages/37/29/b7fe6aa8aaff2337c167cd7c5277d4298822f022ea9e71d3389d9f5f83cf/jsim-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "17d438a74a657f8ac335cd01794e162e", "sha256": "b13a6d0b0e3152077d1f53c0e6eb500161fab03acb2694d17cc8ac5da72f6601" }, "downloads": -1, "filename": "jsim-1.1.tar.gz", "has_sig": false, "md5_digest": "17d438a74a657f8ac335cd01794e162e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3406, "upload_time": "2016-01-25T06:33:16", "url": "https://files.pythonhosted.org/packages/00/3c/f6a43464cbb6e115ba42a774234e77db04851f1cf578eb156a2c8117e6eb/jsim-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "94cd76f51fecdc5ceec52c558f29e471", "sha256": "0740183adedd017ddab5b3693c2c2b0766146b431e42881986511abcb5fc57b1" }, "downloads": -1, "filename": "jsim-1.2.tar.gz", "has_sig": false, "md5_digest": "94cd76f51fecdc5ceec52c558f29e471", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3412, "upload_time": "2016-01-27T05:57:55", "url": "https://files.pythonhosted.org/packages/c1/52/a58c0d99346b8a60e5a0fafe1499bf7602198514c9e7b37d8a9974bc1712/jsim-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "94cd76f51fecdc5ceec52c558f29e471", "sha256": "0740183adedd017ddab5b3693c2c2b0766146b431e42881986511abcb5fc57b1" }, "downloads": -1, "filename": "jsim-1.2.tar.gz", "has_sig": false, "md5_digest": "94cd76f51fecdc5ceec52c558f29e471", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3412, "upload_time": "2016-01-27T05:57:55", "url": "https://files.pythonhosted.org/packages/c1/52/a58c0d99346b8a60e5a0fafe1499bf7602198514c9e7b37d8a9974bc1712/jsim-1.2.tar.gz" } ] }