Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profile_file is unspecified #2

Open
malizad opened this issue Nov 7, 2015 · 1 comment
Open

profile_file is unspecified #2

malizad opened this issue Nov 7, 2015 · 1 comment

Comments

@malizad
Copy link

malizad commented Nov 7, 2015

In ~/twitter-feature-extractor/src/tfx/database.py, the class TextFile requires a path to "profile_file". However, this has not been specified in usage manual. I was wondering where should I specify that?

@jmccorriston
Copy link
Contributor

If you would like to use the TextFile input for the TFX, you will have to provide a .tsv file with profile information for the users whose tweets you are extracting. The structure of that file has to be:

user_id, username, json_source, timestamp, label (classification)

The json_source value is the JSON returned by the Twitter REST API: https://dev.twitter.com/overview/api/users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants