// Spell.java: Takes a command-line argument specifying the nameof the file
// containing common misspellings (a line-oriented file witheach
// comma-separated line containing a misspelled word and thecorrect spelling),
// then reads text from standard input and prints out themisspelled words in
// the text along with the line numbers where they occurred andtheir correct
// spellings.
import edu.princeton.cs.algs4.In;
import edu.princeton.cs.algs4.SeparateChainingHashST;
import edu.princeton.cs.algs4.StdIn;
import edu.princeton.cs.algs4.StdOut;
public class Spell {
public static void main(String[] args) {
…
}
}
Problem 3. (Spell Checker) Write a SeparateChainingHastST client called Spell that takesa command-line argument specifying the name of
OR
OR