Question: Step 1 : SpellCheckApp - Enhancement Create a new project in IntelliJ called SpellCheck or a name of your choice. Add a Java class to

Step 1:
SpellCheckApp - Enhancement
Create a new project in IntelliJ called SpellCheck or a name of your choice. Add a Java class to your src directory called SpellCheck.java. Download SpellCheck.java Download SpellCheck.javahere and replace the empty code file in IntelliJ.
Follow the tutorial on setting up a file path in IntelliJ using a resources directory.
Add the words Download wordsand alice30.txt Download alice30.txtfile to your new resources directory.
In part 2, we will use a third file: War-and-Peace.txt. Download War-and-Peace.txt. You should download and install this file too in your resources folder while you're here.
Test the SpellCheck executable using the provided data files. This program reads the words (dictionary) and a document file (Allice in Wonderland), reports the document and mismatched word counts, and prints the mismatched words. Run this class and observe your results. You can try the program with additional document files.
Please create your data files and add them to the resources directory. Try to find other large text files online to have a reasonable dataset. We provide large files in Part 2 below. Add a new method with code to test SpellCheck to test your latest files and the code already included. The idea of this sample app is to compare two lists of words, a dictionary and a document, and to find those words in your document file that do not appear in your dictionary file and count the "misspelled" words.

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 Programming Questions!