basictwitternlp 0.1.1

Creator: codyrutscher

Last updated:

0 purchases

basictwitternlp 0.1.1 Image
basictwitternlp 0.1.1 Images
Add to Cart

Description:

basictwitternlp 0.1.1

Basic Twitter NLP
Description: Simple set of comands to work with twitter and text sediment analysis
NEEDED: Twitter Developer account for bearer token Twitter Developer
Getting Started

Build Database to Store tweets and analysis. It will create the 5 tables needed for the process
db_init(con)

Add Querys. It takes any query that is allowed by your Twitter api acesses. Twitter Query Help Guide
add_query(twitter_query, con)

Run Process. This will run the scrape and NLP process and store them in the tables
run_tw_nlp(con, client, query=None, inc_rt=False)

con : SQLite3 connection con = sqlite3.connection('DATABASE_NAME.db')
client : twitter bearer token client = tweepy.Client(bearer_token='bearer')
query : query index number which can be found in the "query_idx" column in the queries table
inc_rt : to include retweets in text analysis

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.