NAME
Harvey::Harvey - Simple dialog module for testing parsings.
SYNOPSIS
use Harvey::Harvey;
my $H = Harvey->new();
$H->dialog(); # starts a dialog for working with verb parsings
This module provides a simple dialog interface for testing the
parsing qualities of Verb.pm.
DESCRIPTION
new - constructor.
dialog - starts a dialog. Put in sentences in lower case and no
punctuation. Hit return to see the parsed verb and other info.
Q quits the dialog.
rdialog - takes a sentence as an argument and returns parsing info.
Leaves the dialog handling up to the calling program.
EXPORT
None by default.
AUTHOR
Chris Meyer, <lt>chris@mytechs.com<gt>
COPYWRITE
Copywrite (c) 2002, Chris Meyer. All rights reserved. This is
free software and can be used under the same terms as Perl itself.
VERSION
1.01
RELATED LIBRARIES
My heartfelt thanks to Adam Kilgarriff for his work on the BNC
(British National Corpus) which forms the basis for the word.db.
I have added and massaged it a bit, but I would never have gotten
this far without it. The BNC can be visited at
http://www.itri.brighton.ac.uc/~Adam.Kilgarriff/bnc-readme.html.
DATA LOCATION
Harvey uses algorithms AND data to work. The program looks for
a file called 'system.dat' in the startup directory. In this file
it looks for a line that reads 'path=your_path', where your_path
is the directory where the data resides.
INSTALATION NOTES
Install modules in this order, Word.pm, Verb.pm and then Harvey.pm.
Place the data files (noun.txt, verb.txt, adjective.txt, adverb.txt,
word.txt and word.db) in a data directory and create a file
called system.dat in your working directory to point to the data
(see DATA LOCATION).
perl.