contrib/pywordnet/wordnet.py-patch
2006-11-14 09:01:22 +10:00

12 lines
442 B
Plaintext

--- wordnet.py.old 2006-07-07 02:02:34.000000000 +1000
+++ wordnet.py 2006-07-07 02:02:46.000000000 +1000
@@ -53,7 +53,7 @@
'mac': ":",
'dos': "C:\\wn16",
'nt': "C:\\Program Files\\WordNet\\2.0"}
- .get(os.name, "/usr/local/wordnet2.0"))
+ .get(os.name, "/usr/share/wordnet"))
WNSEARCHDIR = environ.get('WNSEARCHDIR', os.path.join(WNHOME, {'mac': "Database"}.get(os.name, "dict")))