diff options
Diffstat (limited to 'tools/thesaurus/extract.pl')
-rwxr-xr-x | tools/thesaurus/extract.pl | 59 |
1 files changed, 28 insertions, 31 deletions
diff --git a/tools/thesaurus/extract.pl b/tools/thesaurus/extract.pl index 7bf565c3..b5cfe5d6 100755 --- a/tools/thesaurus/extract.pl +++ b/tools/thesaurus/extract.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -w # $Id: extract.pl 490579 2005-12-22 12:32:17Z scripty $ -# This file is part of the KDE project +# This file is part of the TDE project # Copyright (C) 2001 Daniel Naber <daniel.naber@t-online.de> # This program is free software; you can redistribute it and/or @@ -20,7 +20,7 @@ # Extract information from WordNet data files - only useful for development. # cat together all of WordNet's data.* files and call this script. As a second # argument you can use a word frequency list as "Alphabetical frequency list of -# the whole corpus (lemmatized)" on http://www.comp.lancs.ac.uk/ucrel/bncfreq/flists.html +# the whole corpus (lemmatized)" on http://ucrel.lancs.ac.uk/bncfreq/flists.html # This will remove all words whcih are not in the list, i.e. words that are rare. # # Output of this script is: @@ -93,35 +93,32 @@ sub prg() close(IN); print <<__EOF; - 1 This software and database is being provided to you, the LICENSEE, by - 2 Princeton University under the following license. By obtaining, using - 3 and/or copying this software and database, you agree that you have - 4 read, understood, and will comply with these terms and conditions.: - 5 - 6 Permission to use, copy, modify and distribute this software and - 7 database and its documentation for any purpose and without fee or - 8 royalty is hereby granted, provided that you agree to comply with - 9 the following copyright notice and statements, including the disclaimer, - 10 and that the same appear on ALL copies of the software, database and - 11 documentation, including modifications that you make for internal - 12 use or for distribution. - 13 - 14 WordNet 1.7 Copyright 2001 by Princeton University. All rights reserved. - 15 - 16 THIS SOFTWARE AND DATABASE IS PROVIDED "AS IS" AND PRINCETON - 17 UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR - 18 IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PRINCETON - 19 UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES OF MERCHANT- - 20 ABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE - 21 OF THE LICENSED SOFTWARE, DATABASE OR DOCUMENTATION WILL NOT - 22 INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR - 23 OTHER RIGHTS. - 24 - 25 The name of Princeton University or Princeton may not be used in - 26 advertising or publicity pertaining to distribution of the software - 28 and/or database. Title to copyright in this software, database and - 29 any associated documentation shall at all times remain with - 30 Princeton University and LICENSEE agrees to preserve same. + 1 This software and database is being provided to you, the LICENSEE, + 2 Princeton University under the following license. By obtaining, using + 2 and/or copying this software and database, you agree that you have read, + 3 understood, and will comply with these terms and conditions.: + 4 + 5 Permission to use, copy, modify and distribute this software and database + 6 and its documentation for any purpose and without fee or royalty is hereby + 7 granted, provided that you agree to comply with the following copyright + 8 notice and statements, including the disclaimer, and that the same appear + 9 on ALL copies of the software, database and documentation, including + 10 modifications that youmake for internal use or for distribution. + 11 + 12 WordNet 3.0 Copyright 2006 by Princeton University. All rights reserved. + 13 + 14 THIS SOFTWARE AND DATABASE IS PROVIDED "AS IS" AND PRINCETON UNIVERSITY + 15 MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF + 16 EXAMPLE, BUT NOT LIMITATION, PRINCETON UNIVERSITY MAKES NO REPRESENTATIONS + 17 OR WARRANTIES OF MERCHANT- ABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE + 18 OR THAT THE USE OF THE LICENSED SOFTWARE, DATABASE OR DOCUMENTATION WILL + 19 NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + 20 + 21 The name of Princeton University or Princeton may not be used in advertising + 22 or publicity pertaining to distribution of the software and/or database. + 23 Title to copyright in this software, database and any associated documentation + 24 shall at all times remain with Princeton University and LICENSEE agrees to + 25 preserve same. __EOF # for each synset, find its hypernyms: open(IN, "<$filename") || die "Cannot open '$filename': $!"; |