NAME
eris::dictionary - Field dictionary loader
VERSION
version 0.008
SYNOPSIS
use eris::dictionary;
use YAML;
my $dict = eris::dictionary->new();
while(<>) {
chomp;
foreach my $word (split /\s+/) {
my $def = $dict->lookup($word);
print Dump $def if $def;
}
}
ATTRIBUTES
namespace
Defaults to eris::dictionary
fields
HashRef of fields with true/false values indicated whether they exist in the dictionary.
METHODS
lookup
Takes a field name, returns the entry for that field from the first matching dictionary or undef if nothing is found
SEE ALSO
eris::role::dictionary, eris::dictionary::cee, eris::dictionary::eris, eris::dictionary::eris::debug, eris::dictionary::syslog
AUTHOR
Brad Lhotsky <brad@divisionbyzero.net>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2015 by Brad Lhotsky.
This is free software, licensed under:
The (three-clause) BSD License