| 1 |
2009-10-27 Jason Rennie |
| 2 |
|
| 3 |
* README: update WNHOME/WNSEARCHDIR doc w/ Debian/Ubuntu tip |
| 4 |
|
| 5 |
2009-03-20 Jason Rennie |
| 6 |
|
| 7 |
* release 1.48 |
| 8 |
* fix handling of WNSEARCHDIR |
| 9 |
|
| 10 |
2009-03-14 Danny Brian |
| 11 |
|
| 12 |
* added the ability for new() to take a named param list |
| 13 |
* added a new() param "noload" to not preload index files, but to |
| 14 |
instead use Search::Dict lookups thereafter |
| 15 |
* added _getIndexFH() and _getDataFH() to consolidate opening and |
| 16 |
caching of filehandles |
| 17 |
* added _dataLookup() to consolidate reads from data files |
| 18 |
* added _indexLookup() to consolidate reads from index files |
| 19 |
* added _indexOffsetLookup() to consolidate offset reads from index |
| 20 |
files |
| 21 |
* added _parseIndexLine() to consolidate the parsing of index file lines |
| 22 |
* moved path data to new(), so that everything reads off of $self->{dir} |
| 23 |
* removed the cntlinst path special-casing |
| 24 |
* all file opens are deferred until necessary; for noload this means as |
| 25 |
long as possible, for caching it means during the constructor (see |
| 26 |
_get*FH() functions) |
| 27 |
* documented "noload" option |
| 28 |
* loop tests again for "noload" |
| 29 |
* cleaned up formatting |
| 30 |
|
| 31 |
2008-01-08 Jason Rennie |
| 32 |
|
| 33 |
* release 1.47 |
| 34 |
* QueryData.pm: documentation fix |
| 35 |
|
| 36 |
2007-05-06 Jason Rennie |
| 37 |
|
| 38 |
* release 1.46 |
| 39 |
* QueryData.pm (version): removed (Invalid as of WN 3.0) |
| 40 |
* test.pm: remove tests for pre-3.0 WN; update tests for WN 3.0 |
| 41 |
* README, QueryData.pm: update documentation of WN version to 3.0 |
| 42 |
* Makefile.PL: update default WN paths |
| 43 |
|
| 44 |
2006-10-16 Jason Rennie |
| 45 |
|
| 46 |
* release 1.45 |
| 47 |
* QueryData.pm (_initialize): move errorString and errorVal |
| 48 |
initialization here (so that variables are specific to each |
| 49 |
instantiation of the module) |
| 50 |
* QueryData.pm (getResetError): return error information, reset |
| 51 |
error variables |
| 52 |
* QueryData.pm (offset): update to use error variables via $self |
| 53 |
* test.pm: test error handling for offset function |
| 54 |
|
| 55 |
2006-10-16 Jason Rennie |
| 56 |
|
| 57 |
* release 1.44 |
| 58 |
* QueryData.pm: add "use vars" for new variables |
| 59 |
* QueryData.pm (offset): fix syntax error |
| 60 |
|
| 61 |
2006-10-15 Jason Rennie |
| 62 |
|
| 63 |
* release 1.43 |
| 64 |
* QueryData.pm (offset): add error handling |
| 65 |
* QueryData.pm ($errorString): new package variable |
| 66 |
* QueryData.pm ($errorVal): new package variable |
| 67 |
|
| 68 |
2006-10-05 Jason Rennie |
| 69 |
|
| 70 |
* release 1.42 |
| 71 |
|
| 72 |
2006-10-05 Hugh S. Myers |
| 73 |
|
| 74 |
* QueryData.pm (offset): return undef if anything is undefined |
| 75 |
|
| 76 |
2005-12-30 Jason Rennie |
| 77 |
|
| 78 |
* release 1.40 |
| 79 |
|
| 80 |
2005-12-30 Gregory Marton |
| 81 |
|
| 82 |
* QueryData.pm (getWordPointers): $src is a hex, convert it to |
| 83 |
decimal before trying to use it as an array index |
| 84 |
|
| 85 |
2005-09-15 Jason Rennie |
| 86 |
|
| 87 |
* release 1.39 |
| 88 |
* test.pl: remove old (1.6, 1.7, 1.71) tests |
| 89 |
* test.pl: update tests for 2.1 |
| 90 |
* QueryData.pm (@indexFilePC,@dataFilePC): delete; no longer used (2.1) |
| 91 |
* QueryData.pm (@indexFileUnix,@dataFileUnix): remove Unix suffix |
| 92 |
* QueryData.pm (loadIndex,openData): update for new variable names |
| 93 |
* QueryData.pm: update instances of WordNet 2.0 to 2.1 |
| 94 |
* QueryData.pm: update beginning of file w/ correct copyright, remove |
| 95 |
my e-mail address |
| 96 |
* QueryData.pm (%lexnames): new variable; encodes data from old |
| 97 |
lexnames file |
| 98 |
* QueryData.pm (_initialize): don't load lex names |
| 99 |
* QueryData.pm (loadLexnames): removed; no longer useful |
| 100 |
* QueryData.pm (lexname): use new %lexnames variable |
| 101 |
* QueryData.pm ($lexnamesFile): deleted; no longer used |
| 102 |
|
| 103 |
2005-09-14 Jason Rennie |
| 104 |
|
| 105 |
* QueryData.pm (indexFilePC,dataFilePC): now considered to be |
| 106 |
deprecated (since WordNet 2.1 uses unix file names exclusively |
| 107 |
now) |
| 108 |
* QueryData.pm: delete deprecated variables and functions |
| 109 |
* QueryData.pm (%relation_sym): deleted |
| 110 |
* QueryData.pm (remove_duplicates): deleted |
| 111 |
* QueryData.pm (get_pointers): deleted |
| 112 |
* QueryData.pm (get_all_words): deleted |
| 113 |
* QueryData.pm (get_words): deleted |
| 114 |
* QueryData.pm (query): deleted |
| 115 |
* QueryData.pm (valid_forms): deleted |
| 116 |
* QueryData.pm (list_all_words): deleted |
| 117 |
* README: update to reflect known validForms bug |
| 118 |
* README: update copyright dates |
| 119 |
* QueryData.pm: update documentation to reflect known validForms bug |
| 120 |
* QueryData.pm: update copyright dates |
| 121 |
|
| 122 |
2005-09-14 Ben Haskell |
| 123 |
|
| 124 |
* QueryData.pm: Note that many hypo/hyper-nym relationships have |
| 125 |
been replaced by "instance of" and "has instance" relations; the |
| 126 |
new querySense arguments are 'inst' and 'hasi'; 'hypes' returns |
| 127 |
all hypernym and "instance of" relations; 'hypos' returns all |
| 128 |
hyponyms and "has instance" relations |
| 129 |
|
| 130 |
* QueryData.pm: update for WordNet 2.1: add new entries |
| 131 |
(inst,hypes,hasi,hypos) in %relNameSym and relSymName |
| 132 |
|
| 133 |
2004-11-10 Beata Klebanov |
| 134 |
|
| 135 |
* QueryData.pm: Identified the following bug: |
| 136 |
validForms("hating#v") returns ["hate#v", "hat#v"]; problem is |
| 137 |
that only the first matching rule of detachment (with a |
| 138 |
corresponding entry in Wordnet) should be used. |
| 139 |
validForms/forms/_forms/tokenDetach code needs to be restructured |
| 140 |
to reflect this. |
| 141 |
|
| 142 |
2004-11-10 Beata Klebanov |
| 143 |
|
| 144 |
* release 1.38 |
| 145 |
* QueryData.pm (tokenDetach): change match pattern from \w+ to .+; |
| 146 |
old code wasn't matching words with hyphens! (e.g. go-karts) |
| 147 |
* test.pl: added "go-karts" test |
| 148 |
|
| 149 |
2004-11-10 Jason Michelizzi |
| 150 |
|
| 151 |
* release 1.37 |
| 152 |
* QueryData.pm (frequency): new function |
| 153 |
* QueryData.pm (documentation): add "frequency" entry |
| 154 |
* test.pl: added tests for frequency() |
| 155 |
|
| 156 |
2004-11-10 Jason Rennie |
| 157 |
|
| 158 |
* release 1.36 |
| 159 |
* QueryData.pm (documentation): revise queryWord vs. querySense |
| 160 |
documentation |
| 161 |
|
| 162 |
2004-09-03 Jason Rennie |
| 163 |
|
| 164 |
* README: add pointer to NMake information for Windows |
| 165 |
|
| 166 |
2004-08-25 Jason Rennie |
| 167 |
|
| 168 |
* release 1.35 |
| 169 |
* QueryData.pm (loadExclusions): if there are two entries for the |
| 170 |
same word, append to the list created by earlier entries (thanks |
| 171 |
for Jerry D. Hedden for spotting the bug (validForms("involucra") |
| 172 |
didn't produce involucre#n due to later involcra->involcrum |
| 173 |
exclusion entry) |
| 174 |
* test.pl: add involucra->involucre test |
| 175 |
|
| 176 |
2004-08-24 Jason Rennie |
| 177 |
|
| 178 |
* release 1.34 |
| 179 |
* QueryData.pm (lexnamesFile): new top-level variable |
| 180 |
* QueryData.pm (loadLexnames): new function |
| 181 |
* QueryData.pm (lexname): new function |
| 182 |
* QueryData.pm: add lexname documentation |
| 183 |
* test.pl: add lexname tests |
| 184 |
* README: remove e-mail addresses (to reduce spam) |
| 185 |
* ChangeLog: remove e-mail addresses (to reduce spam) |
| 186 |
|
| 187 |
2004-07-14 Jason Rennie |
| 188 |
|
| 189 |
* release 1.33 |
| 190 |
* QueryData.pm: Update "LOCATING THE WORDNET DATABASE" |
| 191 |
documentation (kudos to Jason R Michelizzi for pointing out that |
| 192 |
this needed updating) |
| 193 |
|
| 194 |
2003-10-08 Jason R Michelizzi |
| 195 |
|
| 196 |
* release 1.31 |
| 197 |
* QueryData.pm: add new symbols to %relNameSym and %relSymName; |
| 198 |
QueryData should work perfectly with WordNet 2.0 now. |
| 199 |
Changed documentation to reflect this. |
| 200 |
* test.pl: updated tests for 2.0 |
| 201 |
|
| 202 |
2003-09-25 Jason Rennie |
| 203 |
|
| 204 |
* test.pl: move "cat#n" test to version-specific area (8 senses in 2.0) |
| 205 |
|
| 206 |
2003-09-17 Jason R Michelizzi |
| 207 |
|
| 208 |
* release 1.30 |
| 209 |
* QueryData.pm (queryWord): updates to fix handling of type (2) strings |
| 210 |
* test.pl: updated queryWord tests |
| 211 |
|
| 212 |
2003-09-08 Jason R Michelizzi |
| 213 |
|
| 214 |
* release 1.29 |
| 215 |
* QueryData.pm (getWord): debug |
| 216 |
* QueryData.pm (queryWord): debug |
| 217 |
* test.pl: updated queryWord tests |
| 218 |
|
| 219 |
2003-05-02 Siddharth A Patwardhan |
| 220 |
|
| 221 |
* QueryData.pm (loadIndex): remember WordNet path |
| 222 |
|
| 223 |
2003-04-03 Jason Rennie |
| 224 |
|
| 225 |
* release 1.28 |
| 226 |
|
| 227 |
* QueryData.pm ($version): make into a package variable |
| 228 |
|
| 229 |
* QueryData.pm (queryWord): warn if called; certain aspects of |
| 230 |
queryWord do not work as they should; see commented out tests in |
| 231 |
test.pl for examples of what doesn't work |
| 232 |
|
| 233 |
2002-12-04 Jason Rennie |
| 234 |
|
| 235 |
* release 1.27 |
| 236 |
|
| 237 |
* test.pl: add detachment tests; postpone queryWord tests |
| 238 |
|
| 239 |
* QueryData.pm: add new detachment rules; warn that 1.6 and 1.7 |
| 240 |
are no longer officially supported |
| 241 |
|
| 242 |
2002-08-06 Jason Rennie |
| 243 |
|
| 244 |
* release 1.26 |
| 245 |
* QueryData.pm (wnPrefixUnix, wnPrefixPC): don't prepend WNHOME to |
| 246 |
WNSEARCHDIR |
| 247 |
|
| 248 |
2002-07-30 Jason Rennie |
| 249 |
|
| 250 |
* release 1.25 |
| 251 |
* QueryData.pm (validForms): return forms for all POS's if no POS |
| 252 |
passed |
| 253 |
* QueryData.pm: only lowercase when necessary (index.* lookups) |
| 254 |
* QueryData.pm (getAllSenses): return word straight from data.* |
| 255 |
* QueryData.pm (getSense): return word straight from data.* |
| 256 |
* QueryData.pm (querySense): type (1) & (2): use same capitalization |
| 257 |
as query |
| 258 |
* QueryData.pm (queryWord): type (1): use same capitalization as query |
| 259 |
* QueryData.pm (getWordPointers): lower($word), ignore case in |
| 260 |
comparison |
| 261 |
* QueryData.pm (loadExclusions): don't lowercase words |
| 262 |
* QueryData.pm (loadIndex): don't lowercase words |
| 263 |
* QueryData.pm (forms): don't lowercase words |
| 264 |
* QueryData.pm (delMarker): new function |
| 265 |
* QueryData.pm (underscore): new function |
| 266 |
* QueryData.pm (tagSenseCnt): new function |
| 267 |
* QueryData.pm (loadIndex): store tagsense_cnt information |
| 268 |
* Makefile.PL: update default directories to v1.7.1 |
| 269 |
* QueryData.pm (wnHomeUnix, wnHomePC): update to v1.7.1 |
| 270 |
* test.pl: update for v1.7.1 |
| 271 |
* test.pl: add tests for syntactic marker, capitalization, tagSenseCnt |
| 272 |
* QueryData.pm (documentation): Use "type" to describe different |
| 273 |
levels of query specificity |
| 274 |
|
| 275 |
2002-06-27 Jason Rennie |
| 276 |
|
| 277 |
* release 1.24 |
| 278 |
* test.pl: add test to check for hex parsing |
| 279 |
* QueryData.pm (getWordPointers): bugfix: parse source/target as |
| 280 |
hexidecimal (thanks to Peter Turney for spotting the bug) |
| 281 |
|
| 282 |
2002-06-20 Jason Rennie |
| 283 |
|
| 284 |
* release 1.23 |
| 285 |
* test.pl: add test to check for hex conversion |
| 286 |
* QueryData.pm (getSensePointers): convert $st from hexidecimal |
| 287 |
* QueryData.pm (getWordPointers): convert $tgt from hexidecimal |
| 288 |
|
| 289 |
2002-06-12 Jason Rennie |
| 290 |
|
| 291 |
* release 1.22 |
| 292 |
* Makefile.PL: die if WNHOME isn't set and the neither the windows |
| 293 |
nor the unix default directory exists (so that CPAN tests will |
| 294 |
die prematurely if WordNet is not installed---will prevent false |
| 295 |
FAIL's) |
| 296 |
* QueryData.pm (getWord): bugfix: convert $w_cnt from hexadecimal |
| 297 |
(thanks to Peter Turney for spotting the bug) |
| 298 |
|
| 299 |
2002-06-11 Jason Rennie |
| 300 |
|
| 301 |
* release 1.21 |
| 302 |
* test.pl: make tests reflect changes |
| 303 |
* QueryData.pm (_forms): return original word (in addition to morph |
| 304 |
exclusion or rules of detachment forms) |
| 305 |
|
| 306 |
2002-06-11 Jason Rennie |
| 307 |
|
| 308 |
* release 1.20 |
| 309 |
* QueryData.pm (_forms): new function |
| 310 |
* QueryData.pm (forms): check morph exclusions for tokens of |
| 311 |
collocations; use a recursive organization. |
| 312 |
|
| 313 |
2002-06-11 Jason Rennie |
| 314 |
|
| 315 |
* release 1.19 |
| 316 |
* test.pl: add tests to cover changes |
| 317 |
* QueryData.pm (tokenDetach): new function |
| 318 |
* QueryData.pm (forms): if word is in morph exclusion table, return |
| 319 |
that entry, otherwise use rules of detachment; don't check morph excl. |
| 320 |
table for parts of collocations (may want to change this later) |
| 321 |
* QueryData.pm (querySense): given word#pos query, use underscores for |
| 322 |
spaces in any retured words |
| 323 |
* QueryData.pm (lower): translate ' ' to '_' |
| 324 |
|
| 325 |
2002-04-12 Jason Rennie |
| 326 |
|
| 327 |
* release 1.18 |
| 328 |
* QueryData.pm (querySense): fix bug in "glos" lookup (no varaible |
| 329 |
for pattern match, m//) |
| 330 |
* test.pl: some tests still used old functions; use new ones |
| 331 |
|
| 332 |
2002-04-07 Jason Rennie |
| 333 |
|
| 334 |
* release 1.17 |
| 335 |
* QueryData.pm: update documentation |
| 336 |
* test.pl: update to use new functions; increment counter to print |
| 337 |
test numbers; only run relevant tests (use version) |
| 338 |
* QueryData.pm (relSymName, relNameSym): new maps |
| 339 |
* QueryData.pm (getSense, getWord, getSensePointers, |
| 340 |
getWordPointers, querySense, queryWord): important new query |
| 341 |
functions; distinguish between sense relations and word/lemma |
| 342 |
relations |
| 343 |
* QueryData.pm (removeDupliates, getAllSenses, validForms, |
| 344 |
listAllWords): renamed functions |
| 345 |
* QueryData.pm (remove_duplicates, get_all_words, valid_forms, |
| 346 |
list_all_words, get_word, query, get_pointers): deprecated |
| 347 |
functions |
| 348 |
* QueryData.pm (lower): strip syntactic marker (if any) |
| 349 |
* QueryData.pm (loadExclusions, loadIndex, openData): correctly |
| 350 |
handle WNSEARCHDIR environment variable; use correct directory |
| 351 |
separator (PC/Unix) |
| 352 |
* QueryData.pm (version): new function |
| 353 |
|
| 354 |
2002-04-05 Jason Rennie |
| 355 |
|
| 356 |
* QueryData.pm (querySense, queryWord): new functions |
| 357 |
* QueryData.pm (query): Deprecated. Use querySense instead. |
| 358 |
|
| 359 |
2002-04-03 Jason Rennie |
| 360 |
|
| 361 |
* README: add citation |
| 362 |
|
| 363 |
2002-04-02 Jason Rennie |
| 364 |
|
| 365 |
* QueryData.pm: revise man page |
| 366 |
* test.pl: update numbering |
| 367 |
* QueryData.pm (load_index): try both Unix and PC file names |
| 368 |
* QueryData.pm (open_data): try both Unix and PC file names |
| 369 |
* release 1.16 |
| 370 |
|
| 371 |
2002-04-01 Jason Rennie |
| 372 |
|
| 373 |
* QueryData.pm (load_exclusions): words may have multiple listed |
| 374 |
exclusions in the *.exc files; fix code to read in all of them; |
| 375 |
bug reported by Bano |
| 376 |
* release 1.15 |
| 377 |
|
| 378 |
2002-03-21 Jason Rennie |
| 379 |
|
| 380 |
* QueryData.pm (offset): use 'defined' to check for good query string; |
| 381 |
bug ("0#n#1") discovered by Bano |
| 382 |
* release 1.14 |
| 383 |
|
| 384 |
2001-11-25 Jason Rennie |
| 385 |
|
| 386 |
* QueryData.pm (get_word): eliminate syntactic marker (previously |
| 387 |
fixed this in get_all_words); bug discovered by Satanjeev Banerjee |
| 388 |
* test.pl: add syntactic marker check (authority#n#4) |
| 389 |
* release 1.13 |
| 390 |
|
| 391 |
2001-11-22 Jason Rennie |
| 392 |
|
| 393 |
* test.pl ($wnDir): use WNHOME environment variable |
| 394 |
* test.pl: update tests for WordNet 1.7; identify which tests work |
| 395 |
for 1.6 and which work for 1.7 |
| 396 |
* README (CUSTOM DIRECTORY): new section |
| 397 |
* release 1.12 |
| 398 |
|
| 399 |
2001-11-22 Eric Joanis |
| 400 |
|
| 401 |
* QueryData.pm (remove_duplicates): new function |
| 402 |
* QueryData.pm (forms): use it |
| 403 |
|
| 404 |
2001-09-12 John Asmuth |
| 405 |
|
| 406 |
* QueryData.pm ($wordnet_dir): use WNHOME environment variable |
| 407 |
|
| 408 |
2001-02-26 Luigi Bianchi |
| 409 |
|
| 410 |
* README: added an installation procedure for Windows |
| 411 |
|
| 412 |
2000-09-12 Jason Rennie |
| 413 |
|
| 414 |
* QueryData.pm (list_all_words): new function |
| 415 |
* test.pl: add test for list_all_words |
| 416 |
|
| 417 |
2000-05-04 Jason Rennie |
| 418 |
|
| 419 |
* QueryData.pm (_initialize, query): explicitly set value of input |
| 420 |
record separator; restore old value before returning |
| 421 |
|
| 422 |
2000-03-31 Eric Joanis |
| 423 |
|
| 424 |
* QueryData.pm (%relation_sym): '#' is holonym symbol, '%' is |
| 425 |
meronym symbol. Previously had this backwards. |
| 426 |
|
| 427 |
2000-03-28 Eric Joanis |
| 428 |
|
| 429 |
* QueryData.pm (%relation_sym): don't escape dollar-sign |
| 430 |
* QueryData.pm (get_all_words): fix problems with "new to(p)" |
| 431 |
by removing "(p)" |
| 432 |
|
| 433 |
2000-03-22 Jason Rennie |
| 434 |
|
| 435 |
* QueryData.pm (offset): new function |
| 436 |
* test.pl: add test for offset |
| 437 |
|
| 438 |
2000-03-21 Jason Rennie |
| 439 |
|
| 440 |
* QueryData.pm (get_pointers, get_all_words): fix minor bug in |
| 441 |
data file parsing |
| 442 |
|
| 443 |
2000-03-10 Jason Rennie |
| 444 |
|
| 445 |
* test.pl: Test for new glos code |
| 446 |
|
| 447 |
2000-03-10 John Matiasek |
| 448 |
|
| 449 |
* QueryData.pm: Allow access to glossary definitions (glos) |
| 450 |
|
| 451 |
2000-02-22 Jason Rennie |
| 452 |
|
| 453 |
* QueryData.pm: Rewrite documentation; disallow long relation names |
| 454 |
* QueryData.pm (query): use single regex (like valid_forms); |
| 455 |
clean up code a bit |
| 456 |
* QueryData.pm (level): new function |
| 457 |
|
| 458 |
2000-02-02 Keith J. Miller |
| 459 |
|
| 460 |
* QueryData.pm (forms): make consistent with query syntax; |
| 461 |
don't return immediately if we find a morph exclusion entry |
| 462 |
* QueryData.pm (valid_forms): new function |
| 463 |
* test.pl: make tests consistent with changes, add checks for |
| 464 |
new function |
| 465 |
|
| 466 |
1999-10-22 Jason Rennie |
| 467 |
|
| 468 |
* QueryData.pm: update documentation to look a bit nicer |
| 469 |
|
| 470 |
1999-09-15 Jason Rennie |
| 471 |
|
| 472 |
* README: make specific to QueryData |
| 473 |
* README: rewrite to correspond to Query |
| 474 |
* test.pl: rename from my_test.pl |
| 475 |
* my_test.pl: add test 12; test long POS names |
| 476 |
* QueryData.pm (get_all_words): fix |
| 477 |
* QueryData.pm: allow long relation names; allow long POS names; |
| 478 |
check for illegal POS |
| 479 |
|
| 480 |
1999-09-14 Jason Rennie |
| 481 |
|
| 482 |
* my_test.pl: nice test suite for QueryData 1.2. |
| 483 |
* QueryData.pm: first draft of direct access to WordNet data |
| 484 |
files; 'new'ing is slow; about 15 seconds on my PII/400. Memory |
| 485 |
consumption using WordNet 1.6 is appx. 16M. Still need to |
| 486 |
integrate forms into query. query requires the word form to be |
| 487 |
exactly like that in WordNet (although caplitalization may differ) |
| 488 |
|
| 489 |
1999-09-13 Jason Rennie |
| 490 |
|
| 491 |
* my_test.pl: test corpus for QueryData |
| 492 |
|
| 493 |
1999-09-13 Jason Rennie |
| 494 |
|
| 495 |
* QueryData.pm: access data files directly; us a more OO style of |
| 496 |
coding; initialization (new) code is pretty much done; forms is |
| 497 |
done |