{ "info": { "author": "Kenneth Lim", "author_email": "kl545@cornell.edu", "bugtrack_url": null, "classifiers": [], "description": "AirProfile\n==========\n\n.. image:: https://badge.fury.io/py/AirProfile.svg\n :target: https://badge.fury.io/py/AirProfile\n\nA python package for automatic analysis of Airbnb host profiles.\n\nThe package takes an Airbnb profile, automatically tags topics for each sentence, and predicts whether the profile will be perceived as more trustworthy compared to other profiles of similar length.\n\nExample Usage\n-------------\nLIWC2007_ is a proprietary dependency required for predicting trust. Unfortunately, we can't include it in this package for legal reasons.\n\n.. _LIWC2007: https://liwc.wpengine.com\n\nHowever, if you do not have LIWC, you can still perform topic classification.\n\n.. code:: python\n\n from AirProfile import AirProfile\n\n ap = AirProfile(liwc_path='../LIWC2007/liwc_2007.trie')\n # or ap = AirProfile() if you do not have LIWC.\n\n # Example Airbnb host profile.\n input = \"\"\"I have spent my life in the service industry. I look forward to being your host and I look forward to meeting you.\"\"\"\n\n # Segments the input at the sentence level and returns the probability that\n # each sentence is tagged with the topics described in [1]. This works with or\n # without LIWC.\n ap.predict_topics(input)\n\n >>> [\n [\n 'i have spent my life in the service industry',\n {\n 'relationships': 0.02,\n 'workEducation': 0.99,\n 'travel': 0.0,\n 'originResidence': 0.07,\n 'lifeMottoValues': 0.03,\n 'hospitality': 0.02,\n 'interestsTastes': 0.03,\n 'personality': 0.02\n }\n ], [\n 'i look forward to being your host and i look forward to meeting you',\n {\n 'relationships': 0.0,\n 'workEducation': 0.0,\n 'travel': 0.02,\n 'originResidence': 0.0,\n 'lifeMottoValues': 0.0,\n 'hospitality': 1.0,\n 'interestsTastes': 0.0,\n 'personality': 0.04\n }\n ]\n ]\n\n # Segments the input at the sentence level and returns the probability that\n # the profile is perceived to be more trustworthy compared to other profiles\n # of similar length. This requires LIWC and will throw an error otherwise.\n ap.predict_trust(input)\n\n >>> Prediction(prob=0.49, predict=0)\n\n\nReferences\n----------\n[1] Self-disclosure and Perceived Trustworthiness of Airbnb Host Profiles. Xiao Ma, Jeff Hancock, Kenneth Lim Mingjie, and Mor Naaman. CSCW 2017. Honorable Mention for Best Paper. [PDF1_]\n\n.. _PDF1: https://s.tech.cornell.edu/assets/papers/ma2017airbnb.pdf\n\n[2] A Computational Approach to Perceived Trustworthiness of Airbnb Host Profiles. Xiao Ma, Trishala Neeraj, Mor Naamann. ICWSM 2017. Poster. [PDF2_]\n\n.. _PDF2: http://maxiao.info/assets/computational-airbnb.pdf\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sTechLab/AirProfile", "keywords": "Airbnb,self-disclosure,trustworthiness,sharing economy,social exchange", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "AirProfile", "package_url": "https://pypi.org/project/AirProfile/", "platform": "", "project_url": "https://pypi.org/project/AirProfile/", "project_urls": { "Homepage": "https://github.com/sTechLab/AirProfile" }, "release_url": "https://pypi.org/project/AirProfile/1.0.12/", "requires_dist": [ "beautifulsoup4", "cachetools", "lxml", "nltk", "numpy", "pathlib", "scikit-learn (~=0.18.0)", "textstat", "ujson" ], "requires_python": "", "summary": "Automatic analysis of Airbnb host profiles.", "version": "1.0.12" }, "last_serial": 3199555, "releases": { "1.0.10": [ { "comment_text": "", "digests": { "md5": "9f092797366189e61d25ff87c49ab5cd", "sha256": "943523568bb7081121ba3505c0680ac8b0a8b26c29f8716dbc7b1c23c60de79b" }, "downloads": -1, "filename": "AirProfile-1.0.10-py2-none-any.whl", "has_sig": false, "md5_digest": "9f092797366189e61d25ff87c49ab5cd", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 101067, "upload_time": "2017-09-25T02:13:19", "url": "https://files.pythonhosted.org/packages/28/c9/ce875ebbbbce905fb24b8bd0b7572baf1d27891e7aff979da9bb8a116a89/AirProfile-1.0.10-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "56dd55a5c87fefe6cedf3f3cd31a5f69", "sha256": "5b0855a0cafbc00dabd3861e1c2f61c3de498f51f65a1fd71c3f041c1207426f" }, "downloads": -1, "filename": "AirProfile-1.0.10.tar.gz", "has_sig": false, "md5_digest": "56dd55a5c87fefe6cedf3f3cd31a5f69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 91288, "upload_time": "2017-09-25T02:13:20", "url": "https://files.pythonhosted.org/packages/17/2d/c559c1dfe03cc5787f0a5238720aab6f393ef47699e608643f96d5b8f03c/AirProfile-1.0.10.tar.gz" } ], "1.0.11": [ { "comment_text": "", "digests": { "md5": "10fd5992502cd63cca2cc85ce1db9550", "sha256": "df4ca39e96b71a698b224fc6ff7fbb09acfef94c937c0aeab32f49232ea309ba" }, "downloads": -1, "filename": "AirProfile-1.0.11-py2-none-any.whl", "has_sig": false, "md5_digest": "10fd5992502cd63cca2cc85ce1db9550", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4264, "upload_time": "2017-09-25T02:40:23", "url": "https://files.pythonhosted.org/packages/de/6e/6a499de2a4560667b4780852baa845686847dd9a298ec3d9c2748c4b9a4c/AirProfile-1.0.11-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f9562ee8d104c986828724748ba7f57a", "sha256": "971ea66835d6fca57f4dc9faa6a47842a29e6683ae89f2fb631194661c15c63c" }, "downloads": -1, "filename": "AirProfile-1.0.11.tar.gz", "has_sig": false, "md5_digest": "f9562ee8d104c986828724748ba7f57a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 85995, "upload_time": "2017-09-25T02:40:24", "url": "https://files.pythonhosted.org/packages/b0/da/13afe71fb19d4f8484d790126841e6d0e7bd2ef43b97cf4daad2a25b5d71/AirProfile-1.0.11.tar.gz" } ], "1.0.12": [ { "comment_text": "", "digests": { "md5": "bd9f111602b6ed49bf1bb917c6d849ef", "sha256": "78aafbd9f63dd9d3b1dab1e5a6ccc125dcaec029555303c12e68f6fb7820c376" }, "downloads": -1, "filename": "AirProfile-1.0.12-py2-none-any.whl", "has_sig": false, "md5_digest": "bd9f111602b6ed49bf1bb917c6d849ef", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4271, "upload_time": "2017-09-25T02:43:34", "url": "https://files.pythonhosted.org/packages/2e/ff/433fd9ec729f4f4b2e6f2659f4d2092ca55a48b0554aa79da795759ed2b8/AirProfile-1.0.12-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d308f8c716bba90154105f3f45ba5c11", "sha256": "1d0ae96ec22976c87cb4a52f779506f9f8f26cfe9c75d7b1f28eb86273b79887" }, "downloads": -1, "filename": "AirProfile-1.0.12.tar.gz", "has_sig": false, "md5_digest": "d308f8c716bba90154105f3f45ba5c11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 85993, "upload_time": "2017-09-25T02:43:36", "url": "https://files.pythonhosted.org/packages/fb/83/349ce3e00af93cf50a8f66790dc41b0c856c0a970ac66bfdb6250403aa4b/AirProfile-1.0.12.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "b1dfa94c7a836444e3668f86c97e0102", "sha256": "7e94f5ddc0457e2292678cfd43d7c27b7db0ac95c5c2fc0615b22c01257b1756" }, "downloads": -1, "filename": "AirProfile-1.0.8-py2-none-any.whl", "has_sig": false, "md5_digest": "b1dfa94c7a836444e3668f86c97e0102", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 100983, "upload_time": "2017-09-25T01:05:02", "url": "https://files.pythonhosted.org/packages/3f/ad/8422e418c3773a30f36d511f6941d5e83ca3d244eb6c03c007383e9ff23e/AirProfile-1.0.8-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9045f0b861a4bf42b7fc016ae3ac6d1a", "sha256": "4a1cd0d36d5e47f1227f963f9fad51029ee0b18ae9f857df134cef2dd90c8ff8" }, "downloads": -1, "filename": "AirProfile-1.0.8.tar.gz", "has_sig": false, "md5_digest": "9045f0b861a4bf42b7fc016ae3ac6d1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 91234, "upload_time": "2017-09-25T01:05:04", "url": "https://files.pythonhosted.org/packages/2a/de/acc94641ab78f7cd5ca3aa787b9012b4d84c73d32253da61440fb808d94f/AirProfile-1.0.8.tar.gz" } ], "1.0.9": [ { "comment_text": "", "digests": { "md5": "5c57ba725cea303adb6e03e5e5dc6d95", "sha256": "c50b0d72c24d18d1edfc609a7ce907d9f5710bdd6fe00d9de0592897385b1899" }, "downloads": -1, "filename": "AirProfile-1.0.9-py2-none-any.whl", "has_sig": false, "md5_digest": "5c57ba725cea303adb6e03e5e5dc6d95", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 101050, "upload_time": "2017-09-25T01:55:32", "url": "https://files.pythonhosted.org/packages/33/1c/ad713855c69d68aace705ea6ce1ec7646caee51113a44921b2eb23c6f61d/AirProfile-1.0.9-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "55ec9c372ee69887fa4bc8f00d35d148", "sha256": "e5f0a09ad9dfa1b7d60954d51a64bc722410f3dfd2f02f337bdc02cdc48d751d" }, "downloads": -1, "filename": "AirProfile-1.0.9.tar.gz", "has_sig": false, "md5_digest": "55ec9c372ee69887fa4bc8f00d35d148", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 91282, "upload_time": "2017-09-25T01:55:34", "url": "https://files.pythonhosted.org/packages/b6/b1/60ae345b453ea0db7bdd4be08d3629e234c7948570836eac58186b55cf28/AirProfile-1.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bd9f111602b6ed49bf1bb917c6d849ef", "sha256": "78aafbd9f63dd9d3b1dab1e5a6ccc125dcaec029555303c12e68f6fb7820c376" }, "downloads": -1, "filename": "AirProfile-1.0.12-py2-none-any.whl", "has_sig": false, "md5_digest": "bd9f111602b6ed49bf1bb917c6d849ef", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4271, "upload_time": "2017-09-25T02:43:34", "url": "https://files.pythonhosted.org/packages/2e/ff/433fd9ec729f4f4b2e6f2659f4d2092ca55a48b0554aa79da795759ed2b8/AirProfile-1.0.12-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d308f8c716bba90154105f3f45ba5c11", "sha256": "1d0ae96ec22976c87cb4a52f779506f9f8f26cfe9c75d7b1f28eb86273b79887" }, "downloads": -1, "filename": "AirProfile-1.0.12.tar.gz", "has_sig": false, "md5_digest": "d308f8c716bba90154105f3f45ba5c11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 85993, "upload_time": "2017-09-25T02:43:36", "url": "https://files.pythonhosted.org/packages/fb/83/349ce3e00af93cf50a8f66790dc41b0c856c0a970ac66bfdb6250403aa4b/AirProfile-1.0.12.tar.gz" } ] }