CS3: Advanced Data Structures
TextAnalyzer JFrame- using Scanner Class and ArrayLists

due: ????

description
Modify the TextAnalyzer class and TextAnalyzerGUI class to add word count and word search functionality to the design.  Your TextAnalyzer class should implement a method to allow the user to set the String to be parsed.  Your class will need to implement a Scanner object to parse the submitted String.  The TextAnalyzer class will also need to do a basic word search.  This method will count the number of times a submitted word occurs in the text input by the user.  You may need to implement other 'helper' methods to complete the design.

You will work with a partner using a Pair Programming development approach.  You will decide which partner will be the navigator [typer] and which will be the director [person who tells coder what to do].  Only one computer will be used to type the program and to research solutions.  Both of you should have a copy of the source code at the end of each class session.  You will switch roles every 30 minutes.

I suggest the you follow a 'divide and conquer' approach.  Do not code the entire program at once!!!   Design and test your program by completing small pieces.  Only after you have successfully completed a part of the program  should proceed to the next design element.  By doing this, you will be building your program on code that works!  Don't forget to fully comment your code [each method] and generate javaDocs.

source code: see main moodle page

try War and Peace!: wrnpc.txt

extra credit:
+5%
Develop a letter counter that counts all of the letters in the input text.  Be careful to exclude spaces and punctuation.  Don't forget to include numbers too.  Of course you will need to add these GUI components to the TextAnalyzerGUI.

extra extra credit: +10%
Add a histogram to your GUI. The histogram should probably ignore digits, articles a, an, and though, and conjunctions and, but, and or.


Generated by NetBeans IDE