Wednesday, August 6th, 2008 Posted in perl, programming, slackware | Comments Off
It allows you to get Perl pre-compiled packages. You can avoid installing a C compiler which is needed for some packages (KinoSearch for example). http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/ Alternate packages repositories: http://cpan.uwinnipeg.ca/PPMPackages/10xx/ Read more..Thursday, July 17th, 2008 Posted in linux, perl, programming, windows | Comments Off
KinoSearch is the winner The following perl scripts index *.txt in the current folder and search for "TEST". The first one is using Perl's KinoSearch module and the other one ... Read more..Wednesday, November 7th, 2007 Posted in free | Comments Off
US Zip Code CSV List It include the zip code, city, state, latitude, longitude, and county (Last Updated: Sept 20, 2007). Download US ZIP codes CSV list City CSV lists (USA and Canada) They ... Read more..Saturday, October 13th, 2007 Posted in Uncategorized | 3 Comments »
I created it by extracting data from Wiktionary and Wordnet. It contains definitons, synonyms, antonyms, hyponyms and related words. Download the dictionary. Note: This file has been extracted from a MySQL ... Read more..Tuesday, September 25th, 2007 Posted in perl | Comments Off
Setup cpan: [plain]$ mkdir ~/perl $ mkdir -p ~/.cpan/CPAN $ touch ~/.cpan/CPAN/MyConfig.pm $ cpan[/plain] [plain]cpan> o conf init[/plain] Set the following settings: [plain]'cpan_home' => q[/home/username/.cpan], 'build_dir' => q[/home/username/.cpan/build] 'keep_source_where' => q[/home/username/.cpan/sources], 'makepl_arg' => q[PREFIX=~/perl] 'mbuildpl_arg' => q[--install_base /home/username] [/plain] Get and Install the ... Read more..Tuesday, September 25th, 2007 Posted in Uncategorized | Comments Off
Create "wiktionary" schema Import wikimedia's DB structure using tables.sql $ mysql -u root -p wiktionary < tables.sql Import the dump file to your new database using mwdumper.jar $ java -jar mwdumper.jar --format=sql:1.5 enwiktionary-20070914-pages-meta-current.xml.bz2 | ... Read more..Tuesday, September 25th, 2007 Posted in Uncategorized | Comments Off
Get a word's definition(s), synonyms and hyponyms (related words) using perl and WordNet. The word must be specified as a command line argument, but the script could easily be ... Read more..