X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=ccl%2Fbib1;h=26e77924c7e5d93469c20073e22dd9f5a74f48f0;hp=914e0e239bebff1ddb6622ef97706c86980a4198;hb=356e1d9e8eeb92d9ca9e883c1048ad79e5a5c49f;hpb=330271187bc05322c13e6e22483120ca8e5a20a1 diff --git a/ccl/bib1 b/ccl/bib1 index 914e0e2..26e7792 100644 --- a/ccl/bib1 +++ b/ccl/bib1 @@ -1,17 +1,99 @@ -# $Id: bib1,v 1.1 1995-04-10 10:28:17 quinn Exp $ -# CCL qualifiers and their mapping to a bib-1 subset +# $Id: bib1,v 1.5 2000-12-29 11:12:12 adam Exp $ +# CCL qualifiers and their mappings # -term s=pw t=l,r -au u=1 s=pw -ti u=4 s=pw +# Each line takes the form: +# name [,]=,.. = ... +# Where type is one of: +# u use-attribute +# r relation-attribute ) +# p position-attribute +# s structure-attribute +# t truncation-attribute +# c completeness-attribute +# +# Special value for relation: +# o ordered. Tells the CCL parser to convert a ccl relation +# to a bib-1 relation (1,2,..6). +# Special value for structure: +# pw phrase/word. The CCL parser will decide whether phrase or word +# is needed. Phrase is used if term contain blanks; otherwise +# Word is used. +# al and-list. AND operation is put between each term. +# ol or-list. OR operation is put between each term. +# Special value for truncation: +# l Allow left truncation if ? is at left side of term. +# r Allow right truncation if ? is at left side of term. +# b Allow left&right truncation if ? is at left&right side of term. +# n Set truncation explicitly to "none" if no ? is given. + +# This rule is for CCL tokens where no fields are specified +term s=pw t=l,r s=al +# Common short-hand access points. +au u=1 s=pw t=l,r +ti u=4 s=pw t=l,r isbn u=7 issn u=8 cc u=20 su u=21 s=pw -date u=30 r=o +date u=30 r=o s=pw dp u=31 r=o da u=32 r=o la u=54 s=pw ab u=62 s=pw note u=63 s=pw af u=1006 s=pw +rel s=9 +cln + +# Relation Attributes +rel:lt r=1 +rel:le r=2 +rel:eq r=3 +rel:ge r=4 +rel:gt r=5 +rel:ne r=6 +rel:phon r=100 +rel:stem r=101 +rel:rele r=102 +rel:alwa r=103 + +# Position Attributes +pos:ff p=1 +pos:fs p=2 +pos:af p=3 + +# Structure Attributes +str:wp s=pw +str:phrase s=1 +str:word s=2 +str:key s=3 +str:year s=4 +str:date s=5 +str:wlist s=6 +str:dateu s=100 +str:daten s=101 +str:nameu s=102 +str:struc s=103 +str:urx s=104 +str:fft s=105 +str:dt s=106 +str:ln s=107 +str:str s=108 +str:num s=109 + +# Truncation Attributes +tru:right t=1 +tru:left t=2 +tru:both t=3 +tru:none t=100 +tru:proh t=101 +tru:re1 t=102 +tru:re2 t=103 + +# Completeness Attributes +com:is c=1 +com:cs c=2 +com:cf c=3 + +exp:category exp1,1=1 +