Index
All Classes and Interfaces|All Packages
A
- add1(int) - Method in class CIAsst
-
Add 1 to any integer.
- addStartingWord(String) - Method in class Vocabulary
-
Add a starting word occurrence.
- addWordPair(String, String) - Method in class Vocabulary
-
Add a word pair from a document.
- Author - Class in Unnamed Package
- Author(File) - Constructor for class Author
-
Construct an author object to simulate the vocabulary usage indicated by a sample text file.
C
- CIAsst - Class in Unnamed Package
- CIAsst() - Constructor for class CIAsst
-
Create a new CIAsst object.
G
- getNumStartingWords() - Method in class Vocabulary
-
Number of word occurrences that can start a sentence.
- getNumWordPairs() - Method in class Vocabulary
-
Number of word pairs (preceding-word, following-word) that have been entered.
- getStartingWords() - Method in class Vocabulary
-
Get a list of all known starting words, in the order added.
- getWordsThatCanFollow(String) - Method in class Vocabulary
-
Returns a list of all words that are known to have followed lastWord, in the order added.
M
- main(String[]) - Static method in class Author
-
Main program takes two command-line parameters.
V
- Vocabulary - Class in Unnamed Package
- Vocabulary() - Constructor for class Vocabulary
-
Create a new vocabulary object with empty lists of starting words and no word pairs.
All Classes and Interfaces|All Packages