All Classes

Class Description
FileLineIterator
FileLineIterator provides a useful wrapper around Java's provided BufferedReader and provides practice with implementing an Iterator.
ListNumberGenerator
Produces deterministic numbers by iterating repeatedly over a list or array of integers argued in the constructors.
MarkovChain
A Markov Chain is a data structure that tracks the frequency with which one value follows another value in sequence.
NumberGenerator
This simple interface produces numbers.
ProbabilityDistribution<T extends Comparable<T>>
This class represents a probability distribution over a type T as a map from T values to integers.
RandomNumberGenerator
Produces random numbers using Java's Random class
TweetParser
TweetParser.csvFileToTrainingData() takes in a CSV file that contains tweets and iterates through the file, one tweet at a time, removing parts of the tweets that would be bad inputs to MarkovChain (for example, a URL).
TwitterBot
This is the class where everything you've worked on thus far comes together! You can see that we've provided a path to a CSV file full of tweets and the column from which they can be extracted.