Skip to content
Snippets Groups Projects
Commit d26fa2dd authored by WinJ's avatar WinJ
Browse files

quick patch with dictionary2.txt

parent a4f0a91d
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ public class SpellingCorrector {
this.dictionary = new AutocompleteTrie();
Scanner dict;
try {
dict = new Scanner(new File("dictionary2.txt"));
dict = new Scanner(new File("./corpus/dictionary2.txt"));
} catch (FileNotFoundException e) {
throw new RuntimeException(
"Couldn't read dictionary file for spelling correction and autocompletion.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment