A C D E G H I M P R S T U W

C

characters(Iterator<String>) - Static method in class cs132.markov.Words
Given an Iterator over words, return an Iterator over the characters in the words, adding Strings consisting of a single space to separate the words.
choose(Random) - Method in class cs132.markov.DenseBag
Given a random number generator, randomly choose an element from the Bag according to the distribution of objects in the Bag (e.g., if a Bag contains 7 a's and 3 b's, then 70% of the time choose should return an a, and 30% of the time it should return a b.
contains(Object) - Method in class cs132.markov.DenseBag
Returns true if the Bag contains one or more instances of o
cs132.markov - package cs132.markov
This package provides classes for random generation of text using a Markov model.

A C D E G H I M P R S T U W

Web Accessibility