Package org.cis1200
package org.cis1200
-
ClassDescriptionOperations for working with CSV data.This class organizes some static methods for working with File IO.
LineIterator
provides a useful wrapper around Java's providedBufferedReader
and provides practice with implementing anIterator
.Produces a deterministic sequence of numbers.A Markov Chain is a data structure that tracks the frequency with which one token follows another token in a collection of sequences.This inner class represents a "walk" through the Markov Chain as anIterator
that yields each token encountered during the walk.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.Produces random numbers using Java's Random class.This class provides the method for turning a rawString
into a sequence of tokens to be used for training the Markov Chain.This is the class where everything you've worked on comes together! You can see that we've provided a path to a CSV file of tweets and the column from which they can be extracted.