Changeset 8789
- Timestamp:
- 2004-12-13T15:21:50+13:00 (19 years ago)
- Location:
- trunk/gsdl/perllib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/BasPlug.pm
r8761 r8789 97 97 'type' => "flag", 98 98 'reqd' => "no" }, 99 { 'name' => "extract_keyphrases", 100 'desc' => "{BasPlug.extract_keyphrases}", 101 'type' => "flag", 102 'reqd' => "no" }, 103 { 'name' => "extract_keyphrase_options", 104 'desc' => "{BasPlug.extract_keyphrase_options}", 105 'type' => "string", 106 'deft' => "", 107 'reqd' => "no" }, 99 108 { 'name' => "first", 100 109 'desc' => "{BasPlug.first}", … … 308 317 q^extract_language^, \$self->{'extract_language'}, 309 318 q^extract_acronyms^, \$self->{'extract_acronyms'}, 310 q^extract_keyphrases^, \$self->{'kea'}, #with extra options (UNDOCUMENTED)311 q^extract_keyphrase_options/.*/^, \$self->{'kea_options'}, #no extra options (UNDOCUMENTED)319 q^extract_keyphrases^, \$self->{'kea'}, 320 q^extract_keyphrase_options/.*/^, \$self->{'kea_options'}, 312 321 qq^input_encoding/$enc/auto^, \$self->{'input_encoding'}, 313 322 qq^default_encoding/$denc/utf8^, \$self->{'default_encoding'}, … … 875 884 $thissection = $doc_obj->get_next_section ($thissection); 876 885 } 877 878 if($self->{'kea_options'}) { #if kea options flag is set, call Kea with specified options 886 887 #if kea options flag is set, call Kea with specified options 888 if($self->{'kea_options'}) { 879 889 @list = &Kea::extract_KeyPhrases ($text, $self->{'kea_options'}); 880 } else { #otherwise call Kea with no options 890 } 891 #otherwise call Kea with no options 892 else { 881 893 @list = &Kea::extract_KeyPhrases ($text); 882 894 } -
trunk/gsdl/perllib/strings.rb
r8716 r8789 522 522 BasPlug.extracting_acronyms:extracting acronyms 523 523 524 BasPlug.extract_keyphrases:Extract keyphrases automatically with Kea (default settings). 525 526 BasPlug.extract_keyphrase_options:Options for keyphrase extraction with Kea. For example: L2 - length of extracted keyphrases is 2 terms, N5 - 5 keyphrases to extract. 527 524 528 BasPlug.extracting_emails:extracting e-mail addresses 525 529
Note:
See TracChangeset
for help on using the changeset viewer.