Ignore:
Timestamp:
2008-08-30T07:35:20+12:00 (16 years ago)
Author:
kjdon
Message:

changed way cjk separation is done. Not done in plugins any more, but is now an indexoption. cnseg called from filter_text method. generate_index_options sets up the field in buildproc

File:
1 edited

Legend:

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

    r15738 r17110  
    4747sub find_paragraphs {
    4848    $_[1] =~ s/(<p\b)/\cC$1/gi;
    49 }
    50 
    51 sub filter_text {
    52     # $self->filter_text ($field, $new_text);
    53     # don't want to do anything for this version, however,
    54     # in a particular collection you might want to override
    55     # this method to post-process certain fields depending on
    56     # the field, or whether we are outputting it for indexing
    5749}
    5850
     
    131123           
    132124            # filter the text
    133             $self->filter_text ($field, $new_text);
     125            $new_text = $self->filter_text ($field, $new_text);
    134126
    135127            $text .= "$new_text\cC";
Note: See TracChangeset for help on using the changeset viewer.