Group :: Text tools
RPM: wordnet
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: wordnet-3.0-alt-DICTDIR.patch
Download
Download
--- WordNet/include/wn.h
+++ WordNet/include/wn.h
@@ -27,9 +27,11 @@
#define VRBIDXFILE "%s\\sentidx.vrb"
#define CNTLISTFILE "%s\\cntlist.rev"
#else
+#ifndef DICTDIR
#define DICTDIR "/dict"
+#endif
#ifndef DEFAULTPATH
-#define DEFAULTPATH "/usr/local/WordNet-3.0/dict"
+#define DEFAULTPATH "/usr/share/wordnet/dict"
#endif
#define DATAFILE "%s/data.%s"
#define INDEXFILE "%s/index.%s"