Changeset 2018 for trunk/gsdl/perllib/Kea.pm
- Timestamp:
- 2001-02-20T13:42:15+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/Kea.pm
r1954 r2018 1 1 package Kea; 2 2 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. 16 15 17 16 sub extract_KeyPhrases {
Note:
See TracChangeset
for help on using the changeset viewer.