No description, website, or topics provided.
Other Python C++ C HTML Makefile Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
op-classifier/src
resources
README.md
classify_organizations.sh
install.sh
setup.py

README.md

Humanizr: Bringing the humanity back to Twitter

Humanizr is a software library and off-the-shelf tool for classifying Twitter accounts as belonging to either an individual or an organization (e.g., a corporation or social group).

Why you need Humanizr:

Humanizr is an essential tool for researchers working on Twitter who want perform studies such as:

  • Model human populations through their content and social connections
  • Use the content of Twitter accounts to predict phenomenon such as elections, epidemics, or rumor-spreading
  • Observe the dynamics of how information flows between accounts over time.

Humanizr lets you clearly identify which account belong to individual people and those representing organizations. Without Humanizr, all Twitter accounts appear the same, which runs the significant risk when modeling people-specific phenomena of incorporating a noise from non-human accounts. For example, a study looking for flu-related keywords could be mis-influenced by News-media accounts reporting about flu symptoms elsewhere; or, when trying to predict elections by candidate interest, a study could be thrown off by news reporting of the candidates. Humanizr solves these problems by identifying individuals' Twitter accounts.

Alternately, Humanizr provides an unparalleled view in organizations and how they they behave. Humanizr enables researchers to study how individuals and organizations interact, all the way from examining how content created by organizations reaches individuals to how individuals converse with organizations (e.g., local clubs or small businesses).

Requirements:

  • NumPy>=v1.6.0

Installation and Usage:

In the top level directory, run:

./install.sh [--user]

Once installed, to use the classifier

./classify_organizations.sh [-h] [-o] tweet_dir
 -h Help. Display this message and quit
 -o Output_path/filename. If no path is specified, default is current_directory/output.tsv
 tweet_dir Directory to tweet JSON files</code>

The directory of tweet JSON files must be a path to a directory where files contain tweet JSON objects in the Twitter format. The objects can be spread across any number of files, and one file can contain any number of JSON objects (one per line), but each object can only contain one tweet. In other words, each tweet will have its own JSON object including tweet and user information as returned by the Twitter REST API.

The output of the classifier is a two-column .tsv file where for each line, the first column is a user ID, and the second column is the classification (org = organization/per = individual).

Reference

For more information on how Humanizr works, see our paper in ICWSM 2015. We kindly ask that if you use Humanizr in an academic work, that you please cite the following reference:

@inproceedings{McCorriston2015Organizations,
    title={Organizations are Users Too: Characterizing and Detecting the Presence of Organizations on Twitter},
    author={James McCorriston and David Jurgens and Derek Ruths},
    booktitle={Proceedings of the 9th International AAAI Conference on Weblogs and Social Media (ICWSM)},
    year={2015}
}