Short: Simple library for keyword extraction Author: Vidyut Samanta, Christian Grothoff & Diego Casorran Uploader: dcr8520 amiga org Type: dev/gg Version: 0.1.0 Requires: gcc Architecture: m68k-amigaos ---------------------------------------------------------------------------- This package comes from http://Amiga.SourceForge.net ---------------------------------------------------------------------------- libExtractor ============ libExtractor is a simple library for keyword extraction. libExtractor does not support all formats but supports a simple plugging mechanism such that you can quickly add extractors for additional formats, even without recompiling libExtractor. libExtractor typically ships with one or more helper-libraries that can be used to obtain keywords from common file-types. If you want to write your own extractor for some filetype, all you need to do is write a little library that implements a single method with this signature: KeywordList * extract(const char * filename, char * data, size_t size, KeywordList * prev); The filename is the name of the file, data is a pointer to the contents of the file and size is the size of the file. The extract method must prepend keywords that it finds to the linked list 'prev' and return the new head. The library must allocate (malloc) the entry in the keyword list and the memory for the filename since both will be free'ed by libExtractor once the application calls freeKeywords. An example implementation can be found in mp3extractor.c. notes ===== Please note, if you install libextractor in location that the linker does not know about (i.e. is not in /etc/ld.so.conf) you /must/ set LD_LIBRARY_PATH=/path/to/libextractor. It is recommended that you have this set in your shells initialization file so that it is always set. This can be accomplished in bash by adding the following line to ~/.bashrc export LD_LIBRARY_PATH="/path/to/libextractor:$LD_LIBRARY_PATH" or in csh/tcsh by adding the following line to ~/.cshrc setenv LD_LIBRARY_PATH "/path/to/libextractor:$LD_LIBRARY_PATH" ·············································A·r·c·h·i·v·e··C·o·n·t·e·n·t·s·· LhA Freeware Version 2.2 Copyright © 1991-94 by Stefan Boberg. Copyright © 1998-2000 by Jim Cooper and David Tritscher. Listing of archive 'extractor-0.1.0.lha': Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 174080 65461 62.3% 26-Jun-02 06:48:32 !-to-gg.tar 220 120 45.4% 07-Jun-02 06:49:04 AUTHORS 1113 579 47.9% 13-Jun-02 04:43:10 ChangeLog 26430 9650 63.4% 16-May-02 05:03:30 COPYING 131 97 25.9% 18-May-02 21:36:24 NEWS 1716 791 53.9% 07-Jun-02 23:04:12 README 69 63 8.6% 31-Dec-02 23:59:58 source 303 203 33.0% 07-Jun-02 06:49:04 TODO -------- ------- ----- --------- -------- 204062 76964 62.2% Operation successful. _____________________________ .Readme created with: MRea \