Changeset 2018

Show
Ignore:
Timestamp:
20.02.2001 13:42:15 (19 years ago)
Author:
jrm21
Message:

removed "use BasPlug?" lines from metadata extractors, as they shouldn't
be there - BasPlug? uses these, not other way around.

Location:
trunk/gsdl/perllib
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/DateExtract.pm

    r1954 r2018  
    11package DateExtract; 
    22 
    3 use BasPlug; 
     3##use BasPlug; ## no, DON'T use BasPlug, BasPlug uses us.... 
    44use sorttools; 
    55use util; 
     
    274274 
    2752751; 
    276  
    277  
    278  
    279  
    280  
    281  
    282  
    283  
    284  
    285  
    286  
    287  
    288  
    289  
    290  
    291  
    292  
    293  
    294  
    295  
    296  
    297  
    298  
    299  
    300  
    301  
  • trunk/gsdl/perllib/Kea.pm

    r1954 r2018  
    11package Kea; 
    22 
    3  
    4 use BasPlug; 
    5  
    6 #This function is called by BasPlug.pm when a flag in a collection configuration 
    7 #document specifies that keyphrase metadata must be gathered for that collection. 
    8 #It is passed as arguments, the documents text and possibly some options for how 
    9 #the keyphrase data is to be collected if the keyphrase option flag was set in 
    10 #the collection configuration file.  This module then writes the documents text 
    11 #to a file because the stand-alone program Kea which will be called to do the 
    12 #actual extraction of the keyphrases expects a file argument. Once Kea has been 
    13 #called upon, the file containing the keyphrase data gathered by Kea should be 
    14 #stored in gsdl/tmp and this file is read, the data we are interested in is extracted  
    15 #and passed back to BasPlug.pm in an appropriate format. 
     3# This function is called by BasPlug.pm when a flag in a collection 
     4# configuration document specifies that keyphrase metadata must be gathered for 
     5# that collection. 
     6# It is passed as arguments, the documents text and possibly some options for 
     7# how the keyphrase data is to be collected if the keyphrase option flag was 
     8# set in the collection configuration file.  This module then writes the 
     9# documents text to a file because the stand-alone program Kea which will be 
     10# called to do the actual extraction of the keyphrases expects a file argument. 
     11# Once Kea has been called upon, the file containing the keyphrase data 
     12# gathered by Kea should be stored in gsdl/tmp and this file is read, the data 
     13# we are interested in is extracted and passed back to BasPlug.pm in an 
     14# appropriate format. 
    1615 
    1716sub extract_KeyPhrases {