Giter Club home page Giter Club logo

hashtaghound's Introduction

Hashtag Hound

The hashtag hound is a python script that runs through a file and sniffs out all of the hashtags. It then places them into a dictionary and lists the number of times that hashtag appeared in the document.

The idea came when twitter released a .csv with 200,000 russian bot tweets for analysis. I was curious to see which tags were the most effected and decided to put python to work.

There is a testFile.txt in the repository for you to use for testing. This file is a very small sample of the twitter .csv file. If you would like to run it on the original file, you can find it here: https://www.nbcnews.com/tech/social-media/now-available-more-200-000-deleted-russian-troll-tweets-n844731.

Results of the small test file included here.

Results of the original twitter file.

Getting Started

To run the hound just fork the file and run the script in your terminal with python 3. It will then prompt you for the file you want to scan. type in the path/to/file.txt and it will get to work. The script will open the file and print the hashtag contents to your terminal.

It will then ask you for another file or if you want to quit.

Prerequisites

All you need is python 3, a terminal, and a file to scan.

Built With

Versions

So far this is the first and only version. More features and capabilities are planned for the future.

Authors

  • Jesse Kent Weaver - Initial work - H0bbyist

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.