Ignore:
Timestamp:
2008-03-18T11:35:32+13:00 (14 years ago)
Author:
anna
Message:

Call Chinese character segmentation when handling metadata values from metadata.xml, if separate_cjk is specified.

File:
1 edited

Legend:

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

    r15004 r15089  
    117117    my ($plug,$mname,$mvalue,$md_accumulate) = @_;
    118118
     119    if ($plug->{'separate_cjk'}) {
     120    # segment the Chinese words
     121    $mvalue = &cnseg::segment($mvalue);
     122    }
     123
    119124    if (defined $plug->{'saved_metadata'}->{$mname}) {
    120125    if ($md_accumulate) {
Note: See TracChangeset for help on using the changeset viewer.