A B C D E F G H I K L M N O P Q R S T U V W

P

passedSinceLastCleanup(long) - Method in class uk.ac.cam.juliet.twitter.main.NewTweetsHandler
finds out if the last cleanup operation occurred more than a period milliseconds ago by comparing to a stored value
password - Variable in class uk.ac.cam.juliet.twitter.database.Database
the password used to access the DB
performCleanup() - Static method in class uk.ac.cam.juliet.twitter.main.Program
 
PoisonTweet - Class in uk.ac.cam.juliet.twitter.model
represents a tweet which if added to the buffer queue between the TwitterStreamingAPI and the NewTweetsHandler and if read by the NewTweetsHandler, it stops processing tweets in the queue and terminates
PoisonTweet() - Constructor for class uk.ac.cam.juliet.twitter.model.PoisonTweet
construcor
posCount - Variable in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
printHelp() - Method in class uk.ac.cam.juliet.twitter.main.Program.UserThread
prints a small help manual to assist the user into dynamically interact with the server
printHelpManual() - Static method in class uk.ac.cam.juliet.twitter.main.Program
prints a very small help manual to the user
process(List<Tweet>) - Method in class uk.ac.cam.juliet.twitter.main.NewTweetsHandler
analyses and stores all tweets in the provided list
process(BlockingQueue<Tweet>) - Method in class uk.ac.cam.juliet.twitter.main.NewTweetsHandler
analyses and stores all the tweets in the provided queue if the queue is empty it waits until more tweets are added to it
Warning: this call blocks forever
process(Tweet) - Method in class uk.ac.cam.juliet.twitter.main.NewTweetsHandler
analyses and stores a single tweet
processText(String) - Method in class uk.ac.cam.juliet.twitter.analysis.BayesUtil
processes the input tweet and produces an output in a standard way such that is can be used by the BayesClassifier and the BayesLearner

For example:
the input string:
"@foo hahaha! I agree with you TOTALLY :-) http://cnn.com/"
will output the following
: "_USERNAME _LAUGH! agree totally :-) _URL _ALL_CAPS"
this function uses other functions in the class in a certain to perform atomic processing.
ProfanityFilter - Class in uk.ac.cam.juliet.twitter.analysis
This class helps filtering strings that contain offensive content
ProfanityFilter(IDatabase) - Constructor for class uk.ac.cam.juliet.twitter.analysis.ProfanityFilter
constructor for this class
ProfanityFilterTest - Class in uk.ac.cam.juliet.twitter.testing
 
ProfanityFilterTest() - Constructor for class uk.ac.cam.juliet.twitter.testing.ProfanityFilterTest
 
profileImageUrl - Variable in class uk.ac.cam.juliet.twitter.model.User
the url to this user image as it appears alongisde his/her tweets
Program - Class in uk.ac.cam.juliet.twitter.main
The class that contains the main method
Program() - Constructor for class uk.ac.cam.juliet.twitter.main.Program
 
Program.UserThread - Class in uk.ac.cam.juliet.twitter.main
This represents a thread that is responsible for reading input commands from the user dynamically and changing the behaviour of the program on the fly
input commands include changing how many days should the tweets remain in the DB, adding more swear words and shutting the server down gracefully
Program.UserThread() - Constructor for class uk.ac.cam.juliet.twitter.main.Program.UserThread
 

A B C D E F G H I K L M N O P Q R S T U V W