Getting 2.1 working on Windows

  • se_webster

    se_webster - 2005-09-22

    I'm not sure if this is standard but I found in addition to removing the JWNL.getOS() == JWNL.WINDOWS from AbstractPrincetonDictionaryFile I also had to change the makeNonWindowsFilename method so that:

    if ("exc".equals(fileTypeStr)) {
                System.out.println(posStr + "." + fileTypeStr);
                return posStr + "." + fileTypeStr;
    System.out.println(fileTypeStr + "." + posStr);
    return fileTypeStr + "." + posStr;

    • Peter Gelderbloem

      I had to do that to get the DatabasetoDatabase utility to work, but...
      now it bombs with this stacktrace:
      INFO: storing synsets
              at net.didion.jwnl.utilities.DictionaryToDatabase.storeSynsets(Dictionar
              at net.didion.jwnl.utilities.DictionaryToDatabase.insertData(DictionaryT
              at net.didion.jwnl.utilities.DictionaryToDatabase.main(DictionaryToDatab

    • se_webster

      se_webster - 2006-01-03

      I only use the FileBackedDictionary - does the net.didion.jwnl.Examples - load/run correctly?

      Sorry I can't be more helpful - but it looks like a problem with the db insert - are you sure your connection to the db is ok?


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks