sushil79g / Archetype_identification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Archetype_identification

Looking at all the post made by the user in twitter, we in this project are intrested to find the archetype of the user within the list of archetype. For eg: either the user is book-loving person, tech-loving or so on.

Example

from archtype_user_identification.classify_user import classify_user
classification = classify_user(list_group=['book','music','tech','travel'], API_KEYS, API_SECRET_KEY, ACCESS_TOKEN, ACCESS_TOKEN_SECRET) #API keys are from twitter api @ https://developer.twitter.com/apps
print(classification.classify('elonmusk')) #output -> tech
print(classification.classify('RollingStone')) #output -> music

Steps

1)Clone the project
2)Install the requirements
3)Use as given in example

About


Languages

Language:Python 100.0%