Okapi-Pack

Centre For Interactive Systems Research
City University
London EC1V 0BH


Appendix D:   The GSL File

The GSL file contains terms that are to be dealt with in a special way by the indexing process. Each type is defined by a class code.

Class Type Indexed?
F Stop term No
H Stop term No
I Semi-stop term Yes
G A set of two or more terms to be indexed as a phrase when they occur together (possibly with intervening stop words). Yes
S A synonym group Yes - each member of the group is assigned the same, unique token of the form @nnn

Terms of type "I" will be indexed but may be excluded from inclusion in queries and relevance feedback by the interface software.

The following extract from a GSL file shows the structure of entries, i.e.:

      < gsl_class > < term_list >

where:
<term_list> Each term must end in a comma; each line must end in a colon . For GSL class "S" only, each successive term must be preceded by a space.

N.B. At the moment DO NOT include terms that end in an apostrophe as there is a bug that causes a fault in the index.


    ##   gsl.med
    ##
    ##   Sample gsl for med database. Although mostly meaningful, ##   the entries are meant as examples
    ##
    ##   Don't include terms ending in apostrophe as there's a bug
    ##
    ##   Type "F" stop terms
    ##  

    Fafter,:
    Fand,:
    Fanything,:
    Fbefore,:
    Fin,:
    Fnor,:
    Fnot,:
    Fof,:
    For,:
    .....
    .....

    ##   Type "H" stop terms ("function" words)
    ##

    Ha,:
    Habout,:
    Hacross,:
    Hagain,:
    Hall,:
    Halmost,:
    Halong,:
    Halready,:
    Halthough,:
    Halways,:
    Ham,:
    .....
    .....

    ##   Semi-stop terms (terms that may be noisy)
    ##

    I0,:
    I1,:
    I10,:
    I100,:
    I1000,:
    I10000,:
    I11,:
    .....
    .....
    I1997,:
    I1998,:
    I1999,:
    .....
    .....
    Iable,:
    Iabove,:
    Iactual,:
    Iagainst,:
    .....
    Ih,:
    Ihappen,:
    Ihigh,:
    Ihigher,:
    Ihope,:
    Ii,:
    Iinclude,:
    Iinvolve,:
    Ij,:
    Ijust,:
    Ik,:
    Ikeep,:
    Iknow,:

    ##   GSL phrases
    ##

    Gblood glucose,:
    Gcesarean section,:
    Gfatty acid,:
    Gcatch up,:
    Gtracheal fluid,:
    Gvitamin a,:
    Gvitamin b,:
    Gvitamin c,:
    Gvitamin d,:
    Gvitamin e,:

    ##   Synonym groups
    ##

    Sadministrative, administration,:
    Sadvertising, advertisement, adverts,:
    Saesthetic, esthetic,:
    Safrican, africa,:
    Salcoholism, drunkeness,:
    Saluminium, aluminum,:
    Samerican, america,:
    Sanalytical, analytic,:
    Santhropological, anthropology,:
    .....
    Sbuilt in, builtin,:
    Schild, children, childhood,:
    Sclassify, classification,:
    Scleanup, clean up,:
    Sclose up, closeup,:
    Sco, company,:
    Scomparison, compare,:
    .....
    Suv, ultra violet, ultraviolet,:
    .....
    Swarm up, warmup,:
    Swoman, women,:
    Sworldwide, world wide,:
    Swrite down, writedown,:
    Swrite off, writeoff,:
    Swrite up, writeup,:
    Sx ray, x-ray, xray,:



Okapi-Pack Main Menu Mail Okapi Support Registration


Last modified:   12th November 2001