private void legacyLoadDictionary(){
  try {
    IterableFile file=new IterableFile("src/main/java/CaptainMarkov/generators/resources/dictionary.txt");
    for (    String s : file) {
      dictionary.add(s);
    }
  }
 catch (  FileNotFoundException e) {
    e.printStackTrace();
  }
}

private void legacyLoadDictionary ( ) { try { IterableFile file = new IterableFile ( "src/main/java/CaptainMarkov/generators/resources/dictionary.txt" ) ; for ( String s : file ) { dictionary . add ( s ) ; } } catch ( FileNotFoundException e ) { e . printStackTrace ( ) ; } }
load dictionary with old method to support running program from ide instead of from jar
