src/textgen/MarkovTextGeneratorLoL.java
@Override
	public String generateText(int numWords) {
	    // TODO: Implement this method
		 String curWord = this.starter;
        String output = "";
        if (numWords != 0 && !this.wordList.isEmpty()) {
            output = output + curWord;
            while (numWords > 0) {
                ListNode temp = this.find(curWord);
                curWord = temp.getRandomNextWord(this.rnGenerator);
                if (curWord.equals("")) {
                    curWord = this.starter;
                }
                output = output + " " + curWord;
                --numWords;
            }
        }
        return output;
	}
/**
	 * Generate the number of words requested.
	 */
Generate the number of words requested.
Generate the number of words requested .
@Override
	public String generateText(int numWords) {
		 String curWord = this.starter;
        String output = "";
        if (numWords != 0 && !this.wordList.isEmpty()) {
            output = output + curWord;
            while (numWords > 0) {
                ListNode temp = this.find(curWord);
                curWord = temp.getRandomNextWord(this.rnGenerator);
                if (curWord.equals("")) {
                    curWord = this.starter;
                }
                output = output + " " + curWord;
                --numWords;
            }
        }
        return output;
	}
@ Override public String generateText ( int numWords ) { String curWord = this . starter ; String output = "" ; if ( numWords != 0 && ! this . wordList . isEmpty ( ) ) { output = output + curWord ; while ( numWords > 0 ) { ListNode temp = this . find ( curWord ) ; curWord = temp . getRandomNextWord ( this . rnGenerator ) ; if ( curWord . equals ( "" ) ) { curWord = this . starter ; } output = output + " " + curWord ; -- numWords ; } } return output ; }
Generate the number of words requested.
Generate the number of words requested .
// TODO: Implement this method
