Changeset 9409 for trunk/gsdl
- Timestamp:
- 2005-03-14T11:20:22+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/Kea.pm
r8814 r9409 14 14 # appropriate format. 15 15 16 # returns a string containing comma-separated keyphrases 16 17 sub extract_KeyPhrases { 17 18 … … 101 102 # Read the resulting doc.key, which contains keyphrases: 102 103 103 open(IN, "<$gsdlhome/tmp/doc.key") or return @emptykeylist;104 open(IN, "<$gsdlhome/tmp/doc.key") or return ""; 104 105 #this means doc.key does not exist 105 106 #either because an option was wrongly specified … … 114 115 115 116 # Delete doc.key so that in future it will not be opened and read. 116 # Otherwise KEA sees it as athorkeyphrases!117 # Otherwise KEA sees it as more keyphrases! 117 118 118 `rm $gsdlhome/tmp/doc.key`;119 unlink("$gsdlhome/tmp/doc.key"); 119 120 120 121 return $keylist;
Note:
See TracChangeset
for help on using the changeset viewer.