Question: Libraries, GUI Refresher USING PDFBOX..... JAVA Write an application that extracts text from .pdf files and creates bar charts of the number of occurrences of

Libraries, GUI Refresher USING PDFBOX..... JAVA

Write an application that extracts text from .pdf files and creates bar charts of the number of occurrences of the most frequently used words in the text.

Take user input with a Scanner to get the location of a .pdf file to search.

Design your charts so that they show the ten most frequently-used words in the .pdf. If the pdf contains ten or fewer different words, show all of them. If there are more than ten, show the ten most frequently used words. Make sure to test the application with a .pdf that does contain at least ten words and another that does not. GUI Lecture #2, linked to the web site, has some examples of JavaFX charts.

You may want to start with the WordFrequency example, and then use the data from the map to set up a sorted list of objects of a class that contains a String and an Integer.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!