Репозитории ALT
Группа :: Работа с текстами
Пакет: wordnet
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: wordnet-3.0-alt-DICTDIR.patch
Скачать
Скачать
--- 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"