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

G

getAllBadWords() - Method in class uk.ac.cam.juliet.twitter.database.Database
 
getAllBadWords() - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
reads all the badword regular expressions from the database
getAllBadWords() - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
getAllStopwords() - Method in class uk.ac.cam.juliet.twitter.database.Database
 
getAllStopwords() - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
gets the list of all stopwords in the database
getAllStopwords() - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
getChiSquared(String, Classification) - Method in class uk.ac.cam.juliet.twitter.database.Database
 
getChiSquared(String, Classification) - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
calculates the chi-square function which measures the independence of the class c of the parameter word , the lower the score the more independent is that word from this class
for good explaination of the chi-squared function check the 6th page of this document from Stanford university
getChiSquared(String, Classification) - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
getClassificationCount(Classification) - Method in class uk.ac.cam.juliet.twitter.database.Database
 
getClassificationCount(Classification) - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
counts the number of tweets in the training data that belong to classification c
getClassificationCount(Classification) - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
getConditionalProbability(String, Classification) - Method in class uk.ac.cam.juliet.twitter.analysis.BayesClassifier
calculates the mathematical expression
getCountPerClassification(String, Classification) - Method in class uk.ac.cam.juliet.twitter.database.Database
 
getCountPerClassification(String, Classification) - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
counts the number of tweets in the training data that have the feature "feature" and have classification "c"
getCountPerClassification(String, Classification) - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
getCounts(String) - Method in class uk.ac.cam.juliet.twitter.analysis.FrequencyCounter
creates a dictionary that contains every word in the sentence as key, and the number of occurrences of that word in the sentence as the corresponding value to the key
getNumberOfDays() - Method in class uk.ac.cam.juliet.twitter.database.Database
 
getNumberOfDays() - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
gets the number of days to keep old tweets in the database
getNumberOfDays() - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
getPasswordFromUser() - Static method in class uk.ac.cam.juliet.twitter.main.Program
asks the user for the database password and when the user types the password, the characters typed are not visible
getRawTweets(Date) - Method in class uk.ac.cam.juliet.twitter.database.Database
 
getRawTweets(Date) - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
gets from the database a list of all tweets that are created before then the specified time
getRawTweets(Date) - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
getSearchString() - Method in class uk.ac.cam.juliet.twitter.database.Database
 
getSearchString() - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
gets the search string that is stored in the database
getSearchString() - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
getSentimentScore(Tweet) - Method in class uk.ac.cam.juliet.twitter.analysis.BayesClassifier
calculates a sentiment score of the tweet between 0.0 and 1.0 the closer the score is to 1.0 the more positive the tweet is expected to be and vice versa
getSentimentScore(String) - Method in class uk.ac.cam.juliet.twitter.analysis.BayesClassifier
calculates a sentiment score of the text between 0.0 and 1.0 the closer the score is to 1.0 the more positive the text is expected to be and vice versa
getSwearFilter() - Method in class uk.ac.cam.juliet.twitter.main.NewTweetsHandler
gets the swear filter currently used by this NewTweetsHandler
getTrainingDataCount() - Method in class uk.ac.cam.juliet.twitter.database.Database
 
getTrainingDataCount() - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
counts the training data in the database
getTrainingDataCount() - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
getTweets(String, Twitter) - Method in class uk.ac.cam.juliet.twitter.main.TwitterSearchAPI
tries to call the Twitter search API for tweets containing searchString as the search string, the method fails after n tries printing appropriate error messages to the user
getTwitterUsernameAndPass() - Method in class uk.ac.cam.juliet.twitter.database.Database
 
getTwitterUsernameAndPass() - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
gets the twitter username and password used for authentication from the database
getTwitterUsernameAndPass() - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
getUser(String) - Method in class uk.ac.cam.juliet.twitter.database.Database
gets from the user table in the database the user with the given username
getWordCount(String) - Method in class uk.ac.cam.juliet.twitter.database.Database
 
getWordCount(String) - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
gets the current count of the word in the word_count table in the database or 0 if the word is not present in the database.
getWordCount(String) - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 

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