Project: Spell Checker
Write a spell checking program. The program should take two filenames on the command line. The first is the file containing correctly spelled dictionary words (one per line). The second is the text file to check. The program should print misspelled words one per line without duplicates to the console.
See Webster's Second International for a file that contains US English words (235k words from 1934 edition) or the open source file [[English Words]] on GitHub (466k words). You can download ebooks in text format from [[Project Gutenberg]] to test your spell checker.
Output
$ swiftc SpellChecker.swift -I . -L . -lUtils
error: link command failed with exit code 1 (use -v to see invocation)
ld: library not found for -lUtils
clang: error: linker command failed with exit code 1 (use -v to see invocation)
$ swiftc SpellChecker.swift -I . -L . -lUtils
error: link command failed with exit code 1 (use -v to see invocation)
ld: library not found for -lUtils
clang: error: linker command failed with exit code 1 (use -v to see invocation)
$ swiftc SpellChecker.swift -I . -L . -lUtils
error: link command failed with exit code 1 (use -v to see invocation)
ld: library not found for -lUtils
clang: error: linker command failed with exit code 1 (use -v to see invocation)