pewanalytics

所属分类:操作系统开发
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2022-02-02 19:57:31
上 传 者sh-1993
说明:  皮尤研究中心的文本和统计实用程序
(Text and statistics utilities from Pew Research Center)

文件列表:
.bulldozer.yml (244, 2022-02-01)
.bumpversion.cfg (424, 2022-02-01)
.coveragerc (254, 2022-02-01)
.policy.yml (599, 2022-02-01)
CHANGELOG.md (113, 2022-02-01)
CONTRIBUTING.md (3628, 2022-02-01)
LICENSE (18091, 2022-02-01)
MANIFEST.in (44, 2022-02-01)
Makefile (2400, 2022-02-01)
docs_source/ (0, 2022-02-01)
docs_source/_static/ (0, 2022-02-01)
docs_source/_static/theme_overrides.css (364, 2022-02-01)
docs_source/conf.py (5891, 2022-02-01)
docs_source/examples.rst (17133, 2022-02-01)
docs_source/html/ (0, 2022-02-01)
docs_source/html/.doctrees/ (0, 2022-02-01)
docs_source/html/.doctrees/index.doctree (4813, 2022-02-01)
docs_source/html/.doctrees/setup.doctree (2593, 2022-02-01)
docs_source/html/.nojekyll (0, 2022-02-01)
docs_source/index.rst (2935, 2022-02-01)
docs_source/stats.rst (2036, 2022-02-01)
docs_source/text.rst (1276, 2022-02-01)
pewanalytics/ (0, 2022-02-01)
pewanalytics/__init__.py (39, 2022-02-01)
pewanalytics/stats/ (0, 2022-02-01)
pewanalytics/stats/__init__.py (146, 2022-02-01)
pewanalytics/stats/clustering.py (3463, 2022-02-01)
pewanalytics/stats/dimensionality_reduction.py (8234, 2022-02-01)
pewanalytics/stats/irr.py (26336, 2022-02-01)
pewanalytics/stats/mutual_info.py (15129, 2022-02-01)
... ...

# pewanalytics `pewanalytics` is a Python package that provides text processing and statistics utilities for computational social science researchers. ## Installation To install, you can use `pip`: pip install git+https://github.com/pewresearch/pewanalytics#egg=pewanalytics Or you can install from source: git clone https://github.com/pewresearch/pewanalytics.git cd pewanalytics python setup.py install ### Installation Troubleshooting #### Using 64-bit Python Some of our libraries require the use of 64-bit Python. If you encounter errors during installation that are related to missing libraries, you may be using 32-bit Python. We recommend that you uninstall this version and switch to a 64-bit version instead. On Windows, these will be marked with `x86-64`; you can find the latest 64-bit versions of Python [here](https://www.python.org/downloads). #### Installing ssdeep ssdeep is an optional dependency that can be used by the `get_hash` function in Pewtils. Installation instructions for various Linux distributions can be found in the library's [documentation](https://python-ssdeep.readthedocs.io/en/latest/installation.html). The ssdeep Python library is not currently compatible with Windows. Installing ssdeep on Mac OS may involve a few additional steps, detailed below: 1. Install Homebrew 2. Install xcode ``` xcode-select --install ``` 3. Install system dependencies ``` brew install pkg-config libffi libtool automake ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize ``` 4. Install ssdeep with an additional flag to build the required libraries ``` BUILD_LIB=1 pip install ssdeep ``` 5. If step 4 fails, you may need to redirect your system to the new libraries by setting the following flags: ``` export LIBTOOL=`which glibtool` export LIBTOOLIZE=`which glibtoolize` ``` Do this and try step 4 again. 6. Now you should be able to run the main installation process detailed above. ## Documentation Please refer to the [official documentation](https://pewresearch.github.io/pewanalytics/) for information on how to use this package. ## Use Policy In addition to the [license](https://github.com/pewresearch/pewanalytics/blob/master/LICENSE), Users must abide by the following conditions: - User may not use the Center's logo - User may not use the Center's name in any advertising, marketing or promotional materials. - User may not use the licensed materials in any manner that implies, suggests, or could otherwise be perceived as attributing a particular policy or lobbying objective or opinion to the Center, or as a Center endorsement of a cause, candidate, issue, party, product, business, organization, religion or viewpoint. ## Issues and Pull Requests This code is provided as-is for use in your own projects. You are free to submit issues and pull requests with any questions or suggestions you may have. We will do our best to respond within a 30-day time period. ## Recommended Package Citation Pew Research Center, 2020, "pewanalytics" Available at: github.com/pewresearch/pewanalytics ## Acknowledgements The following authors contributed to this repository: - Patrick van Kessel - Regina Widjaya - Skye Toor - Emma Remy - Onyi Lam - Brian Broderick - Galen Stocking - Dennis Quinn ## About Pew Research Center Pew Research Center is a nonpartisan fact tank that informs the public about the issues, attitudes and trends shaping the world. It does not take policy positions. The Center conducts public opinion polling, demographic research, content analysis and other data-driven social science research. It studies U.S. politics and policy; journalism and media; internet, science and technology; religion and public life; Hispanic trends; global attitudes and trends; and U.S. social and demographic trends. All of the Center's reports are available at [www.pewresearch.org](http://www.pewresearch.org). Pew Research Center is a subsidiary of The Pew Charitable Trusts, its primary funder. ## Contact For all inquiries, please email info@pewresearch.org. Please be sure to specify your deadline, and we will get back to you as soon as possible. This email account is monitored regularly by Pew Research Center Communications staff.

近期下载者

相关文件


收藏者