AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/gg/extractor0.1.0.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Simple library for keyword extraction
Author:Vidyut Samanta, Christian Grothoff & Diego Casorran
Uploader:dcr8520 amiga org
Type:dev/gg
Version:0.1.0
Architecture:m68k-amigaos
Date:2002-09-15
Requires:gcc
Download:dev/gg/extractor0.1.0.lha - View contents
Readme:dev/gg/extractor0.1.0.readme
Downloads:758

----------------------------------------------------------------------------

        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  \


Contents of dev/gg/extractor0.1.0.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                65461  174080  37.6% -lh5- dc8c Jun 26  2002 !-to-gg.tar
[generic]                  120     220  54.5% -lh5- efbf Jun  7  2002 authors
[generic]                  579    1113  52.0% -lh5- 33b5 Jun 13  2002 ChangeLog
[generic]                 9650   26430  36.5% -lh5- 10a2 May 16  2002 copying
[generic]                   97     131  74.0% -lh5- ce22 May 18  2002 news
[generic]                  791    1716  46.1% -lh5- 2f27 Jun  7  2002 readme
[generic]                   63      69  91.3% -lh5- 4a8f Dec 31  2002 source
[generic]                  203     303  67.0% -lh5- 519c Jun  7  2002 todo
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         8 files   76964  204062  37.7%            Sep 15  2002
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>