Skip to content

An information retrieval system to search for tweets in a Berkeley database.

Notifications You must be signed in to change notification settings

sharibarboza/Tweet-Search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMPUT 291 Mini Project 2

Create data files in XML format. See example record file: example.txt


Phase 1: Preparing Data Files

Reads tweets records from the data file and outputs dates.txt, terms.txt, and tweets.txt

python3 phase1.py example.txt

Phase 2: Building Indexes

Loads data from text files as key/value pairs in a Berkeley database

python3 phase2.py

Phase 3: Data Retrieval

Query the database, retrieve and output the results

python3 phase3.py 

Example queries:
  • name:den% location:canada
  • text:iphone date<2012/06/30
  • canada
  • location:new%
  • text:yeg location:edmonton name:michael
  • location:vancouver rain

About

An information retrieval system to search for tweets in a Berkeley database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages