2002-07-30 Jason Rennie * release 1.25 * QueryData.pm (validForms): return forms for all POS's if no POS passed * QueryData.pm: only lowercase when necessary (index.* lookups) * QueryData.pm (getAllSenses): return word straight from data.* * QueryData.pm (getSense): return word straight from data.* * QueryData.pm (querySense): form (1) & (2): use same capitalization as query * QueryData.pm (queryWord): form (1): use same capitalization as query * QueryData.pm (getWordPointers): lower($word), ignore case in comparison * QueryData.pm (loadExclusions): don't lowercase words * QueryData.pm (loadIndex): don't lowercase words * QueryData.pm (forms): don't lowercase words * QueryData.pm (delMarker): new function * QueryData.pm (underscore): new function * QueryData.pm (tagSenseCnt): new function * QueryData.pm (loadIndex): store tagsense_cnt information * Makefile.PL: update default directories to v1.7.1 * QueryData.pm (wnHomeUnix, wnHomePC): update to v1.7.1 * test.pl: update for v1.7.1 * test.pl: add tests for syntactic marker, capitalization, tagSenseCnt * QueryData.pm (documentation): Use "type" to describe different levels of query specificity 2002-06-27 Jason Rennie * release 1.24 * test.pl: add test to check for hex parsing * QueryData.pm (getWordPointers): bugfix: parse source/target as hexidecimal (thanks to "Peter Turney" for spotting the bug) 2002-06-20 Jason Rennie * release 1.23 * test.pl: add test to check for hex conversion * QueryData.pm (getSensePointers): convert $st from hexidecimal * QueryData.pm (getWordPointers): convert $tgt from hexidecimal 2002-06-12 Jason Rennie * release 1.22 * Makefile.PL: die if WNHOME isn't set and the neither the windows nor the unix default directory exists (so that CPAN tests will die prematurely if WordNet is not installed---will prevent false FAIL's) * QueryData.pm (getWord): bugfix: convert $w_cnt from hexadecimal (thanks to "Peter Turney" for spotting the bug) 2002-06-11 Jason Rennie * release 1.21 * test.pl: make tests reflect changes * QueryData.pm (_forms): return original word (in addition to morph exclusion or rules of detachment forms) 2002-06-11 Jason Rennie * release 1.20 * QueryData.pm (_forms): new function * QueryData.pm (forms): check morph exclusions for tokens of collocations; use a recursive organization. 2002-06-11 Jason Rennie * release 1.19 * test.pl: add tests to cover changes * QueryData.pm (tokenDetach): new function * QueryData.pm (forms): if word is in morph exclusion table, return that entry, otherwise use rules of detachment; don't check morph excl. table for parts of collocations (may want to change this later) * QueryData.pm (querySense): given word#pos query, use underscores for spaces in any retured words * QueryData.pm (lower): translate ' ' to '_' 2002-04-12 Jason Rennie * release 1.18 * QueryData.pm (querySense): fix bug in "glos" lookup (no varaible for pattern match, m//) * test.pl: some tests still used old functions; use new ones 2002-04-07 Jason Rennie * release 1.17 * QueryData.pm: update documentation * test.pl: update to use new functions; increment counter to print test numbers; only run relevant tests (use version) * QueryData.pm (relSymName, relNameSym): new maps * QueryData.pm (getSense, getWord, getSensePointers, getWordPointers, querySense, queryWord): important new query functions; distinguish between sense relations and word/lemma relations * QueryData.pm (removeDupliates, getAllSenses, validForms, listAllWords): renamed functions * QueryData.pm (remove_duplicates, get_all_words, valid_forms, list_all_words, get_word, query, get_pointers): deprecated functions * QueryData.pm (lower): strip syntactic marker (if any) * QueryData.pm (loadExclusions, loadIndex, openData): correctly handle WNSEARCHDIR environment variable; use correct directory separator (PC/Unix) * QueryData.pm (version): new function 2002-04-05 Jason Rennie * QueryData.pm (querySense, queryWord): new functions * QueryData.pm (query): Deprecated. Use querySense instead. 2002-04-03 Jason Rennie * README: add citation 2002-04-02 Jason Rennie * QueryData.pm: revise man page * test.pl: update numbering * QueryData.pm (load_index): try both Unix and PC file names * QueryData.pm (open_data): try both Unix and PC file names * release 1.16 2002-04-01 Jason Rennie * QueryData.pm (load_exclusions): words may have multiple listed exclusions in the *.exc files; fix code to read in all of them; bug reported by Bano * release 1.15 2002-03-21 Jason Rennie * QueryData.pm (offset): use 'defined' to check for good query string; bug ("0#n#1") discovered by Bano * release 1.14 2001-11-25 Jason Rennie * QueryData.pm (get_word): eliminate syntactic marker (previously fixed this in get_all_words); bug discovered by Satanjeev Banerjee * test.pl: add syntactic marker check (authority#n#4) * release 1.13 2001-11-22 Jason Rennie * test.pl ($wnDir): use WNHOME environment variable * test.pl: update tests for WordNet 1.7; identify which tests work for 1.6 and which work for 1.7 * README (CUSTOM DIRECTORY): new section * release 1.12 2001-11-22 Eric Joanis * QueryData.pm (remove_duplicates): new function * QueryData.pm (forms): use it 2001-09-12 John Asmuth * QueryData.pm ($wordnet_dir): use WNHOME environment variable 2001-02-26 Luigi Bianchi * README: added an installation procedure for Windows 2000-09-12 Jason Rennie * QueryData.pm (list_all_words): new function * test.pl: add test for list_all_words 2000-05-04 Jason Rennie * QueryData.pm (_initialize, query): explicitly set value of input record separator; restore old value before returning 2000-03-31 Eric Joanis * QueryData.pm (%relation_sym): '#' is holonym symbol, '%' is meronym symbol. Previously had this backwards. 2000-03-28 Eric Joanis * QueryData.pm (%relation_sym): don't escape dollar-sign * QueryData.pm (get_all_words): fix problems with "new to(p)" by removing "(p)" 2000-03-22 Jason Rennie * QueryData.pm (offset): new function * test.pl: add test for offset 2000-03-21 Jason Rennie * QueryData.pm (get_pointers, get_all_words): fix minor bug in data file parsing 2000-03-10 Jason Rennie * test.pl: Test for new glos code 2000-03-10 John Matiasek * QueryData.pm: Allow access to glossary definitions (glos) 2000-02-22 Jason Rennie * QueryData.pm: Rewrite documentation; disallow long relation names * QueryData.pm (query): use single regex (like valid_forms); clean up code a bit * QueryData.pm (level): new function 2000-02-02 Keith J. Miller * QueryData.pm (forms): make consistent with query syntax; don't return immediately if we find a morph exclusion entry * QueryData.pm (valid_forms): new function * test.pl: make tests consistent with changes, add checks for new function 1999-10-22 Jason Rennie * QueryData.pm: update documentation to look a bit nicer 1999-09-15 Jason Rennie * README: make specific to QueryData * README: rewrite to correspond to Query * test.pl: rename from my_test.pl * my_test.pl: add test 12; test long POS names * QueryData.pm (get_all_words): fix * QueryData.pm: allow long relation names; allow long POS names; check for illegal POS 1999-09-14 Jason Rennie * my_test.pl: nice test suite for QueryData 1.2. * QueryData.pm: first draft of direct access to WordNet data files; 'new'ing is slow; about 15 seconds on my PII/400. Memory consumption using WordNet 1.6 is appx. 16M. Still need to integrate forms into query. query requires the word form to be exactly like that in WordNet (although caplitalization may differ) 1999-09-13 Jason Rennie * my_test.pl: test corpus for QueryData 1999-09-13 Jason Rennie * QueryData.pm: access data files directly; us a more OO style of coding; initialization (new) code is pretty much done; forms is done