1213141516171819202122
{ Dictionary d; try { d = new Dawg(); d.fromFile(dictionaryPath); for (String s : wordToFind) System.out.println("The dictionary " + (d.contains(s) ? "contains" : "does not contain") + " the word " + s); } catch (Exception e)