Changeset 2018
- Timestamp:
- 2001-02-20T13:42:15+13:00 (23 years ago)
- Location:
- trunk/gsdl/perllib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/DateExtract.pm
r1954 r2018 1 1 package DateExtract; 2 2 3 use BasPlug; 3 ##use BasPlug; ## no, DON'T use BasPlug, BasPlug uses us.... 4 4 use sorttools; 5 5 use util; … … 274 274 275 275 1; 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 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.