-
Notifications
You must be signed in to change notification settings - Fork 0
roxana-andreea/CoreNLP
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
US Presidential Elections 2016 - twitter analyses using Standford CoreNLP Database: - NoSQL database, MongoDB - pymongo, python driver for communication with MongoDB server - data format BSON (binary json) - easier to aggregate data - populated with 127175 tweets Live Demo: Starting MongoDB server: - /home/uselections/mongodb/bin/mongod --dbpath data/ - data/ folder contains the data files - mongod server process runs by default on 27017 port Starting MongoDB shell: - /home/uselections/mongodb/bin/mongo Help in mongo shell: - help - db.help() Querying: - db.tweets.findOne(): - returns first tweet - db.tweets.find(): - returns first 20 documents from “tweets” collection - type it for another 20 - db.tweets.find().count(): - returns the number of entries in “tweets” collection
About
Master - 1st year
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published