NAME
Bio::ExtractNE::MakeDict - Class for creating dictionary
FUNCTIONS
mkdict($input_file, $output_dictfile)
This function creates named-entity dictionary. Note that $input_file is a hash. Currently, only SwissProt data is supported.
mkdict(
{
sprot_file => "sprot",
},
"sprot.dict"
);
mkcwdict($input_file, $output_dictfile)
This function creates the common word dictionary. Note that $input_file is an array.
mkcwdict(
[ "/usr/share/dict/words", "med.txt",],
"common_words.db", "dict/sprot.dict"
);
COPYRIGHT AND LICENSE
Copyright (C) 2004 by Yung-chung Lin (a.k.a. xern) <xern@cpan.org>
This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself