Ignore:
Timestamp:
2004-01-22T14:17:30+13:00 (20 years ago)
Author:
kjdon
Message:

Fiddled around with segmenting for chinese text. Haven't changed how the
segmentation is done, or what character ranges are used.
But when its done is now controlled by the collect.cfg. There is a new
option, separate_cjk, values true or false, default false. Segmentation
is only done if this is set to true. This is passed as a global option to
all plugins by the import.pl script, so the user just needs to add it
once to the config file, not as an option to all plugins.
The queryaction uses this option too to determine whether or not to segment
the query.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/querytools.h

    r4757 r6584  
    4040void set_more_queryfilter_options (FilterRequest_t &request, cgiargsclass &args);
    4141
    42 void format_querystring (text_t &querystring, int querymode);
     42void format_querystring (text_t &querystring, int querymode, bool segment);
    4343
    4444void add_dates(text_t &querystring, int startdate, int enddate,
Note: See TracChangeset for help on using the changeset viewer.