Project-3 (200 Pts) Computing Frequency & Prob. Of words Due Date: 3/12
Your complete project is not in a SINGLE xxxxxp3.java file, where xxxxx is the
first 5 characters of your last name and p3 is the project number.
It does not read input from System.in. i.e. command prompt.
Using package or any java utilities such as arraylist, LinkedList ,map, queue....i.e.
the whole code should be written by yourself as explained in class.
Given a *.txt document as input, write an efficient java program xxxxxp3.java to compute
frequency and probability of words in input using binary search tree(bst).
FYI:The output of this project is the input for next project to compute optimal biniary
search tree (obst) for words in any document.
Please write your Last name, First name and Student ID at the beginning of your java file
as well as at the beginning of the output. Your main method should be as follow:
public static void main(String args[]) throws exception{
xxxxxp3 obstinput = new xxxxxp3 ();
// xxxxx is the first 5 characters of y
first 5 characters of your last name and p3 is the project number.
It does not read input from System.in. i.e. command prompt.
Using package or any java utilities such as arraylist, LinkedList ,map, queue....i.e.
the whole code should be written by yourself as explained in class.
Given a *.txt document as input, write an efficient java program xxxxxp3.java to compute
frequency and probability of words in input using binary search tree(bst).
FYI:The output of this project is the input for next project to compute optimal biniary
search tree (obst) for words in any document.
Please write your Last name, First name and Student ID at the beginning of your java file
as well as at the beginning of the output. Your main method should be as follow:
public static void main(String args[]) throws exception{
xxxxxp3 obstinput = new xxxxxp3 ();
// xxxxx is the first 5 characters of y