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

I

id - Static variable in class uk.ac.cam.juliet.twitter.database.Database.AnalysedTweets_table
 
id - Static variable in class uk.ac.cam.juliet.twitter.database.Database.RawTweets_table
 
id - Variable in class uk.ac.cam.juliet.twitter.model.Tweet
the id of this tweet (comes from twitter)
IDatabase - Interface in uk.ac.cam.juliet.twitter.database
Database interface, this should be implemented by MockDatabase for unit testing
image_url - Static variable in class uk.ac.cam.juliet.twitter.database.Database.Users_table
 
incrementCalled - Variable in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
incrementChiSquareWordCount(String, Classification) - Method in class uk.ac.cam.juliet.twitter.database.Database
 
incrementChiSquareWordCount(String, Classification) - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
inserts (word,0,0) in the table if word is not in the table already, and increments either n_p if c = positive or n_n of c = negative
incrementChiSquareWordCount(String, Classification) - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
incrementCount(String, int) - Method in class uk.ac.cam.juliet.twitter.database.Database
 
incrementCount(String, int) - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
increments the count of word in the word_count table by amount incrementValue, if the word is not already in the table it is inserted with an initial count of incrementValue
incrementCount(String, int) - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
input - Static variable in class uk.ac.cam.juliet.twitter.main.Program
this is used to read any input from the user
insertAnalysis(BigInteger, boolean, double) - Method in class uk.ac.cam.juliet.twitter.database.Database
 
insertAnalysis(BigInteger, boolean, double) - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
attempts inserts the tweet with identifer "id" into the analysed_tweets table with some analysis values, if the tweet id is already in the database, method does nothing and returns false
insertAnalysis(BigInteger, boolean, double) - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
insertKeywords(String) - Method in class uk.ac.cam.juliet.twitter.analysis.BayesUtil
calls the methods: removeStopWords, replaceEmoticons, replaceLaughs, replaceRepeatedLetters, replaceURLs and replaceUsernames on the input string in one go
insertTrainingTweet(Tweet, Classification) - Method in class uk.ac.cam.juliet.twitter.database.Database
 
insertTrainingTweet(Tweet, Classification) - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
attempts to insert the given tweet in the database alongside its classification, if the insertion fails, the method doesn't do anything
insertTrainingTweet(Tweet, Classification) - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
isEmpty() - Method in class uk.ac.cam.juliet.twitter.database.Database
 
isEmpty() - Method in interface uk.ac.cam.juliet.twitter.database.IDatabase
checks if the database has any tables in it
isEmpty() - Method in class uk.ac.cam.juliet.twitter.testing.MockDatabase
 
isExempted(Tweet) - Method in class uk.ac.cam.juliet.twitter.analysis.BayesClassifier
determines whether or not the tweet should be exempted from going through the entire classification procedure reasons for exemption can be the trusted origin of the tweet
isInteger(String) - Static method in class uk.ac.cam.juliet.twitter.main.Program
checks if "str" can be parsed into an int
isLatin(String) - Static method in class uk.ac.cam.juliet.twitter.analysis.BayesUtil
checks if the text is all in Latin characters - to avoid question marks (?)
isOffensive(String) - Method in class uk.ac.cam.juliet.twitter.analysis.ProfanityFilter
Attempts to check whether a string contains offensive language, by checking against a library of bad words.

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