-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Wordnet 3 file verb.idx #6
Comments
What steps are you running? Can you share your setup? I suspect this is a Windows issue, but I need more info. Note, the Hadoop related stuff will definitely not work on Windows (it might w/ Cygwin, but I haven't tested it) |
Simply followed your ReadMe instructions precisely. Somewhere in the code, there was an attempt to find the file verb.idx, but the Wordnet 3 downloaded from your site link includes the file index.verb ; I googled that issue and found that someone else simply renamed the files (there are several). I iterated running mvn clean package until all errors related to wordnet were gone, then the windows issue raised its ugly head. Using the modified wordnet on an ubuntu box got a clean maven build. |
Can you provide the full logs/output as a gist? On Jan 20, 2013, at 1:45 PM, Jack Park wrote:
|
The java wordnet libraries look for different filenames on Windows, sadly: I'll add a caveat to the Readme the files in the README |
Yup! On Sat, Mar 29, 2014 at 4:40 AM, Drew Farris [email protected]:
|
java.io.FileNotFoundException: c:\projects\SolrWatson\TT-Home\WordNet-3.0\dict\verb.idx (The system cannot find the file specified) That error pop in several surefire reports.
From here: http://www.shiffman.net/teaching/a2z/wordnet/
"Just found the way to fix this: rename all index.noun, index.verb... to noun.idx, verb.idx..."
That response is from 2 years ago.
I copied in the index.noun etc files, renamed as noun.idx,, etc, then got this failure:
FileNotFoundException: c:\projects\SolrWatson\TT-Home\WordNet-3.0\dict\verb.dat (The system cannot find the file specified)
Did the same thing to data.noun, etc.
Those tests run fine. But, for now, I will not know if the system works since I'm running on Win7 64bit, with this failure not satisfied by anything I do:
Failed to set permissions of path: \tmp\hadoop-Admin\mapred\staging\Admin1270388141.staging to 0700
which is launched by the ExtractTrainingDataTest at the line: TrainClassifier.main(trainArgs);
rerunning even after giving that directory and sub directories full permissions, still fails. Perhaps org.apache.hadoop.fs.FileUtil.setPermission(FileUtil.java:653) either doesn't check first, or doesn't understand Windows, or something. I'll have to wait till I replicate this experience on a *nix box.
Added later: with my wordnet changes, it builds fine on Ubuntu. Have yet to run exercises. No clue what those changes do to wordnet's behaviors.
The text was updated successfully, but these errors were encountered: