source: gsdl/trunk/macros/english.dm@ 19142

Last change on this file since 19142 was 18886, checked in by anna, 15 years ago

Changes for ticket #369. Display translations of search metadata fields if they meets certain criteria and translation of search levels.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 35.0 KB
Line 
1# this file must be UTF-8 encoded
2#####################################################################
3#
4# English Language text and icon macros
5#
6######################################################################
7#
8# This is the main macro file for translation when creating an
9# interface in another language.
10
11# Under the 'text macros' comments are text macros of the form:
12# _macroname_ {macro value}
13# Everything between the {} is the text to be translated. This text
14# may itself contain macros (i.e. characters other than space between
15# underscore characters, e.g. _about:numdocs_ or _textpage_). These
16# macro names occurring within text shouldn't be translated but should
17# be left as they are. Underscores or curly brackets occurring
18# naturally within the text should be escaped with a leading backslash
19# (i.e. '\_', '\{' or '\}).
20#
21# Comment lines (other than those described above) need not be
22# translated (i.e. any lines beginning with '#', like this line).
23#
24# The simplest way to translate this file is to save it as something
25# else (e.g. french.dm) and work through translating all the text
26# macro values and icon comments.
27#
28######################################################################
29
30
31######################################################################
32# Global (base) package
33package Global
34######################################################################
35
36
37#------------------------------------------------------------
38# text macros
39#------------------------------------------------------------
40
41_textperiodicals_ {Periodicals}
42
43# these three used by the default format statement of the demo and dls collections.
44_textsource_ {source ref: }
45_textdate_ {publication date: }
46_textnumpages_ {no. of pages: }
47
48_textsignin_ {sign in}
49
50_textdefaultcontent_ {The requested page could not be found. Please use
51your browsers 'back' button or the above home button to return to the
52Greenstone Digital Library.}
53
54_textdefaulttitle_ {GSDL Error}
55
56_textbadcollection_ {This collection (called "_cvariable_") is not installed on this Greenstone digital library system.}
57
58_textselectpage_ {-- Select Page --}
59
60_collectionextra_ {This collection contains _about:numdocs_ documents.
61It was last built _about:builddate_ days ago.}
62
63# this is only used by the collector (where the above _collectionextra_
64# macro will always be set to another value)
65_collectorextra_ {
66<p>This collection contains _numdocs_ _If_("_numdocs_" eq "1",document,documents), a total of _numbytes_ of indexed text and metadata.
67<p><a href="_httppagex_(bsummary)">Click here</a> to view the build summary for this collection.
68}
69
70_textdescrcollection_ {}
71_textdescrabout_ {About page}
72_textdescrhome_ {Home page}
73_textdescrhelp_ {Help page}
74_textdescrpref_ {Preferences page}
75_textdescrgreenstone_ {Greenstone Digital Library Software}
76_textdescrusab_ {What did you find hard to use?}
77
78
79# Metadata names and navigation bar labels
80
81_textSearch_ {Search}
82_labelSearch_ {Search}
83
84# Dublin Core Metadata Element Set, Version 1.1
85_textTitle_ {Title}
86_labelTitle_ {Titles}
87_textCreator_ {Creator}
88_labelCreator_ {Creators}
89_textSubject_ {Subject}
90_labelSubject_ {Subjects}
91_textDescription_ {Description}
92_labelDescription_ {Descriptions}
93_textPublisher_ {Publisher}
94_labelPublisher_ {Publishers}
95_textContributor_ {Contributor}
96_labelContributor_ {Contributors}
97_textDate_ {Date}
98_labelDate_ {Dates}
99_textType_ {Type}
100_labelType_ {Types}
101_textFormat_ {Format}
102_labelFormat_ {Formats}
103_textIdentifier_ {Identifier}
104_labelIdentifier_ {Identifiers}
105_textSource_ {Filename} # Not true DC, kept for legacy reasons
106_labelSource_ {Filenames} # Not true DC, kept for legacy reasons
107_textLanguage_ {Language}
108_labelLanguage_ {Languages}
109_textRelation_ {Relation}
110_labelRelation_ {Relations}
111_textCoverage_ {Coverage}
112_labelCoverage_ {Coverage}
113_textRights_ {Rights}
114_labelRights_ {Rights}
115
116# DLS metadata set
117_textOrganization_ {Organization}
118_labelOrganization_ {Organizations}
119_textKeyword_ {Keyword}
120_labelKeyword_ {Keywords}
121_textHowto_ {How to}
122_labelHowto_ {How to}
123
124# Miscellaneous Greenstone metadata
125_textPhrase_ {Phrase}
126_labelPhrase_ {Phrases}
127_textCollage_ {Collage}
128_labelCollage_ {Collage}
129_textBrowse_ {Browse}
130_labelBrowse_ {Browse}
131_textTo_ {To}
132_labelTo_ {To}
133_textFrom_ {From}
134_labelFrom_ {From}
135_textAcronym_ {Acronym}
136_labelAcronym_ {Acronyms}
137
138# Navigation bar tooltip - to customize this for a specific metadata, add a macro named _textdescrXXX_ where XXX is the metadata name
139_textdescrdefault_ {Browse by _1_}
140
141_textdescrSearch_ {Search for specific terms}
142_textdescrType_ {Browse by resource type}
143_textdescrIdentifier_ {Browse by resource identifier}
144_textdescrSource_ {Browse by original filename} # Not true DC, kept for legacy reasons
145_textdescrTo_ {Browse by To field}
146_textdescrFrom_ {Browse by From field}
147_textdescrCollage_ {Browse by image collage}
148_textdescrAcronym_ {Browse acronyms}
149_textdescrPhrase_ {Browse phrases}
150_textdescrHowto_ {Browse how to categories}
151_textdescrBrowse_ {Browse documents}
152_texticontext_ {View the document}
153_texticonclosedbook_ {open this document and view contents}
154_texticonnext_ {to next section}
155_texticonprev_ {to previous section}
156
157_texticonworld_ {View the web document}
158
159_texticonmidi_ {View the MIDI document}
160_texticonmsword_ {View the Microsoft Word document}
161_texticonmp3_ {View the MP3 document}
162_texticonpdf_ {View the PDF document}
163_texticonps_ {View the PostScript document}
164_texticonppt_ {View the PowerPoint document}
165_texticonrtf_ {View the RTF document}
166_texticonxls_ {View the Microsoft Excel document}
167
168_page_ {page }
169_pages_ {pages}
170_of_ { of }
171_vol_ {Volume}
172_num_ {No.}
173
174_textmonth00_ {}
175_textmonth01_ {January}
176_textmonth02_ {February}
177_textmonth03_ {March}
178_textmonth04_ {April}
179_textmonth05_ {May}
180_textmonth06_ {June}
181_textmonth07_ {July}
182_textmonth08_ {August}
183_textmonth09_ {September}
184_textmonth10_ {October}
185_textmonth11_ {November}
186_textmonth12_ {December}
187
188_texttext_ {Text}
189_labeltext_ {_texttext_}
190_textdocument_ {Document}
191_textsection_ {Section}
192_textparagraph_ {Paragraph}
193
194_magazines_ {Magazines}
195
196_nzdlpagefooter_ {<div class="divbar">&nbsp;</div>
197<p><a href="http://www.nzdl.org">New Zealand Digital Library Project</a>
198<br><a href="http://www.cs.waikato.ac.nz">Department of Computer Science</a>,
199<a href="http://www.waikato.ac.nz">University of Waikato</a>,
200New Zealand}
201
202_linktextHOME_ {HOME}
203_linktextHELP_ {HELP}
204_linktextPREFERENCES_ {PREFERENCES}
205
206
207######################################################################
208# 'home' page
209package home
210######################################################################
211
212_textpagetitle_ {Greenstone Digital Library}
213
214_textnocollections_ {No valid (i.e. built and public) collections are available}
215
216_textadmin_ {Administration Page}
217_textabgs_ {About Greenstone}
218_textgsdocs_ {Greenstone Documentation}
219
220_textdescradmin_ {
221Allows you to add new users, summarizes the collections in the system,
222gives technical information on the Greenstone installation
223}
224
225_textdescrgogreenstone_ {
226Tells you about the Greenstone software and the New Zealand Digital Library
227Project where it originated
228}
229
230_textdescrgodocs_ {Greenstone manuals}
231
232#####################################################################
233# some macros used on the home page from other packages
234#####################################################################
235package gli
236
237_textgli_ {The Librarian Interface}
238_textdescrgli_ {
239Helps you create new collections, modify or add to existing ones, or delete
240collections
241}
242
243package collector
244
245_textcollector_ {The Collector}
246_textdescrcollector_ {
247This predates the Librarian Interface, and for most practical purposes the Librarian Interface should be used instead
248}
249
250package depositor
251
252_textdepositor_ {The Depositor}
253_textdescrdepositor_ {
254Helps you to add documents to existing collections
255}
256
257package gti
258
259_textgti_ {The Greenstone Translator Interface}
260_textdescrtranslator_ {
261Helps you keep the multilingual versions of the Greenstone interface
262up to date
263}
264
265
266######################################################################
267# 'about' page
268package about
269######################################################################
270
271
272#------------------------------------------------------------
273# text macros
274#------------------------------------------------------------
275
276_textabcol_ {About this collection}
277
278_textsubcols1_ {<p>The complete collection comprises _1_ subcollections.
279Those currently available are:
280<blockquote>}
281
282_textsubcols2_ {</blockquote>
283You can check (and alter) which subcollections you are
284currently using on the Preferences page.}
285
286_titleabout_ {about}
287
288
289######################################################################
290# document package
291package document
292######################################################################
293
294
295#------------------------------------------------------------
296# text macros
297#------------------------------------------------------------
298
299_texticonopenbookshelf_ {close this section of the library}
300_texticonclosedbookshelf_ {open this section of the library and view contents}
301_texticonopenbook_ {close this book}
302_texticonclosedfolder_ {Open this folder and view contents}
303_texticonclosedfolder2_ {open sub-section: }
304_texticonopenfolder_ {close this folder}
305_texticonopenfolder2_ {close sub-section: }
306_texticonsmalltext_ {View this section of the text}
307_texticonsmalltext2_ {view text: }
308_texticonpointer_ {current section}
309_texticondetach_ {Open this page in a new window}
310_texticonhighlight_ {Highlight search terms}
311_texticonnohighlight_ {Don't highlight search terms}
312_texticoncontracttoc_ {Collapse table of contents}
313_texticonexpandtoc_ {Expand table of contents}
314_texticonexpandtext_ {Display all text}
315_texticoncontracttext_ {Display text only for currently selected section}
316_texticonwarning_ {<b>Warning: </b>}
317_texticoncont_ {continue?}
318
319_textltwarning_ {<div class="buttons">_imagecont_</div>
320_iconwarning_Expanding the text here will generate a large
321amount of data for your browser to display
322}
323
324_textgoto_ {go to page}
325_textintro_ { <i>(introductory text)</i>}
326
327_textCONTINUE_ {CONTINUE?}
328
329_textEXPANDTEXT_ {EXPAND TEXT}
330
331_textCONTRACTCONTENTS_ {CONTRACT CONTENTS}
332
333_textDETACH_ {DETACH}
334
335_textEXPANDCONTENTS_ {EXPAND CONTENTS}
336
337_textCONTRACT_ {CONTRACT TEXT}
338
339_textHIGHLIGHT_ {HIGHLIGHTING}
340
341_textNOHIGHLIGHT_ {NO HIGHLIGHTING}
342
343_textPRINT_ {PRINT}
344
345_textnextsearchresult_{next search result}
346_textprevsearchresult_{previous search result}
347
348# macros for printing page
349_textreturnoriginal_ {Return to the original page}
350_textprintpage_ {Print this page}
351_textshowcontents_ {Show the table of contents}
352_texthidecontents_ {Hide the table of contents}
353
354######################################################################
355# 'search' page
356package query
357######################################################################
358
359
360#------------------------------------------------------------
361# text macros
362#------------------------------------------------------------
363
364# this if statement produces the text 'results n1 - nn for query: querystring' or
365# 'No matches for query: querystring', depending on whether or not there were
366# any matches
367_textquerytitle_ {_If_(_thislast_,results _thisfirst_ - _thislast_ for query: _cgiargq_,No matches for query: _cgiargq_)}
368_textnoquerytitle_ {Search page}
369
370_textsome_ {some}
371_textall_ {all}
372_textboolean_ {boolean}
373_textranked_ {ranked}
374_textnatural_ {natural}
375_textsortbyrank_ {relevance rank}
376_texticonsearchhistorybar_ {search history}
377
378_textifeellucky_ {I'm feeling lucky!}
379
380#alt text for query buttons
381_textusequery_ {use this query}
382_textfreqmsg1_ {Word count: }
383_textpostprocess_ {_If_(_quotedquery_,<br><i>post-processed to find _quotedquery_</i>
384)}
385_textinvalidquery_ {Invalid query syntax}
386_textstopwordsmsg_ {The following words are too common and were ignored: }
387_textlucenetoomanyclauses_ {Your query contained too many search terms; please try a more specific query.}
388
389_textmorethan_ {More than }
390_textapprox_ {About }
391_textnodocs_ {No documents matched the query.}
392_text1doc_ {1 document matched the query.}
393_textlotsdocs_ {documents matched the query.}
394_textmatches_ {Matches }
395_textbeginsearch_ {Begin Search}
396_textrunquery_ {Run Query}
397_textclearform_ {Clear Form}
398
399#these go together in form search:
400#"Words (fold, stem) ... in field"
401_textwordphrase_ {Words}
402_textinfield_ {... in field}
403_textfoldstem_ {(fold, stem)}
404
405_textadvquery_ {Or enter a query directly:}
406_textallfields_ {all fields}
407_texttextonly_ {text only}
408_textand_ {and}
409_textor_ {or}
410_textandnot_ {and not}
411
412# _indexselection_, _jselection_, _nselection_ and _gselection_ are set from
413# within the server - _indexselection_ is always set, but the others may be
414# unset
415
416_textsimplesearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level)_If_(_nselection_, in _nselection_ language)_If_(_sfselection_,\,_allowformbreak_ sorting results by _sfselection_) for _querytypeselection_ of the words}
417
418_textadvancedsearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level)_If_(_nselection_, in _nselection_ language) using _querytypeselection_ query}
419
420_textadvancedmgppsearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level)_If_(_nselection_, in _nselection_ language), and display results in _formquerytypeadvancedselection_ order, for}
421
422_textadvancedlucenesearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sfselection_,\,_allowformbreak_ sorting results by _sfselection_\,) for }
423
424_textformsimplesearch_ {Search_If_(_jselection_, in _jselection_)_If_(_gformselection_, at _gformselection_ level)_If_(_nselection_, in _nselection_ language)_If_(_sfselection_,\, sorting results by _sfselection_\,) for _formquerytypesimpleselection_ of }
425
426_textformadvancedsearchmgpp_ {Search_If_(_jselection_, in _jselection_)_If_(_gformselection_, at _gformselection_ level)_If_(_nselection_, in _nselection_ language), and display results in _formquerytypeadvancedselection_ order, for }
427
428_textformadvancedsearchlucene_ {Search_If_(_jselection_, in _jselection_)_If_(_gformselection_, at _gformselection_ level)_If_(_nselection_, in _nselection_ language)_If_(_sfselection_,\, sorting results by _sfselection_\,) for }
429
430_textnojsformwarning_ {Warning: Javascript is disabled in your web browser. <br>To use form searching, please enable it.}
431_textdatesearch_ {This collection can be searched for documents within a date range, or documents that contain a particular date. This is an optional feature of the search.}
432_textstartdate_ {Start (or only) date:}
433_textenddate_ {End date:}
434_textbc_ {B.C.E.}
435_textad_ {C.E.}
436_textexplaineras_ {C.E. and B.C.E are alternatives for A.D. and B.C. respectively. These terms are considered to be culture indiscriminate, and stand for "Common Era" and "Before the Common Era"}
437
438_textstemon_ { (ignoring word endings)}
439
440_textsearchhistory_ {Search History}
441
442#text macros for search history
443_textnohistory_ {No entries in the search history}
444_texthresult_ {result}
445_texthresults_ {results}
446_texthallwords_ {all words}
447_texthsomewords_ {some words}
448_texthboolean_ {boolean}
449_texthranked_ {ranked}
450_texthcaseon_ {case must match}
451_texthcaseoff_ {casefolded}
452_texthstemon_ {stemmed}
453_texthstemoff_ {unstemmed}
454
455
456######################################################################
457# 'preferences' page
458package preferences
459######################################################################
460
461
462#------------------------------------------------------------
463# text macros
464#------------------------------------------------------------
465
466_textprefschanged_ {
467Preferences have been set as follows. Do not use your browser's
468"back" button - it will unset them! Instead, click one of the
469buttons on the access bar above.
470}
471_textsetprefs_ {set preferences}
472_textsearchprefs_ {Search preferences}
473_textcollectionprefs_ {Collection preferences}
474_textpresentationprefs_ {Presentation preferences}
475_textpreferences_ {Preferences}
476_textcasediffs_ {Case differences:}
477_textignorecase_ {ignore case differences}
478_textmatchcase_ {upper/lower case must match}
479_textwordends_ {Word endings:}
480_textstem_ {ignore word endings}
481_textnostem_ {whole word must match}
482_textaccentdiffs_ {Accent differences:}
483_textignoreaccents_ {ignore accents}
484_textmatchaccents_ {accents must match}
485
486_textprefop_ {Return up to _maxdocoption_ hits with _hitsperpageoption_ hits per page.}
487_textextlink_ {Access to external Web pages:}
488_textintlink_ {Source documents retrieved from:}
489_textlanguage_ {Interface language:}
490_textencoding_ {Encoding:}
491_textformat_ {Interface format:}
492_textall_ {all}
493_textquerymode_ {Query mode:}
494_textsimplemode_ {simple query mode}
495_textadvancedmode_ {advanced query mode (allows boolean searching using !, &amp;, |, and parentheses)}
496_textlinkinterm_ {through intermediate page}
497_textlinkdirect_ {go directly there}
498_textdigitlib_ {the digital library}
499_textweb_ {the web}
500_textgraphical_ {Graphical}
501_texttextual_ {Textual}
502_textcollectionoption_ {<p>
503Subcollections to include:
504<br>}
505
506_textsearchtype_ {Query style:}
507_textformsearchtype_ {fielded with _formnumfieldoption_ fields}
508_textplainsearchtype_ {normal with _boxsizeoption_ query box}
509_textregularbox_ {single line}
510_textlargebox_ {large}
511
512_textrelateddocdisplay_ {display related documents}
513_textsearchhistory_ {Search history:}
514_textnohistory_ {No search history}
515_texthistorydisplay_ {display _historynumrecords_ search history records}
516_textnohistorydisplay_ {do not display search history}
517
518
519#####################################################################
520# 'browse' package for the dynamic browsing interface
521package browse
522#####################################################################
523
524_textsortby_ {Sort documents by}
525_textalsoshowing_ {also showing}
526_textwith_ {with at most}
527_textdocsperpage_ {documents per page}
528
529_textfilterby_ {Get documents containing}
530_textall_ {all}
531_textany_ {any}
532_textwords_ {of the words}
533_textleaveblank_ {leave this box blank to get all the documents}
534
535_browsebuttontext_ {"Sort Documents"}
536
537_nodata_ {<i>no data</i>}
538_docs_ {documents}
539######################################################################
540# 'help' page -- this is lower priority for translating than the
541# rest of this file
542package help
543######################################################################
544
545
546#------------------------------------------------------------
547# text macros
548#------------------------------------------------------------
549
550_textHelp_ {Help}
551
552# Macros giving a brief help message for navigation bar access buttons
553# The arguments to this will be _textXXX_ and _labelXXX_, where XXX is the metadata name. For example, to print out the help message for a titles classifier, the library will use _textdefaulthelp_(_textTitle_,_labelTitle_)
554# To customize this for a specific metadata, add a macro named _textXXXhelp_ where XXX is the metadata name
555_textdefaulthelp_{browse documents by _1_ by clicking the _2_ button}
556
557_textSearchhelp_ {search for particular words that appear in the text by clicking the _labelSearch_ button}
558_textTohelp_ {browse documents by To field by clicking the _labelTo_ button}
559_textFromhelp_ {browse documents by From field by clicking the _labelFrom_ button}
560_textBrowsehelp_ {browse documents}
561_textAcronymhelp_ {browse documents by acronym occurrence by clicking the _labelAcronym_ button}
562_textPhrasehelp_ {browse phrases occurring in documents by clicking the _labelPhrase_ button. This uses the phind phrase browser.}
563
564_texthelptopicstitle_ {Topics}
565
566_textreadingdocs_ {How to read the documents}
567
568_texthelpreadingdocs_ {
569<p>You can tell when you have arrived at an individual book or document
570because its title, or an image of the front cover, appears at the top
571left of the page. In some collections, a table of contents appears, while in others
572(eg. when the paged image option is used)
573just the page number is shown, along with a box that allows you to select a
574new page and go forward and backward. In the table of contents, the current
575section heading is in bold face, and the table is expandable -- click on the folders
576to open or close them; click on the open book at the top to close it.</p>
577
578<p>Underneath is the text of the current section. When you have read
579through it, there are arrows at the bottom to take you on to the next
580section or back to the previous one.</p>
581
582<p>Below the title or front-cover image are some buttons. Click on
583<i>_document:textEXPANDTEXT_</i> to expand out the whole text of the current section, or
584book. If the document is large, this could take a long time and use a lot
585of memory! Click on <i>_document:textEXPANDCONTENTS_</i> to expand out the whole table of
586contents so that you can see the titles of all chapters and
587subsections. Click on <i>_document:textDETACH_</i> to make a new browser window for this
588document. (This is useful if you want to compare documents, or read two at
589once.) Finally, when you do a search the words you search for are
590highlighted. Click on <i>_document:textNOHIGHLIGHT_</i> to remove highlighting.</p>
591}
592
593# help about the icons
594_texthelpopenbookshelf_ {Open this bookshelf}
595_texthelpopenbook_ {Open/close this book}
596_texthelpviewtextsection_ {View this section of the text}
597_texthelpexpandtext_ {Display all text, or not}
598_texthelpexpandcontents_ {Expand table of contents, or not}
599_texthelpdetachpage_ {Open this page in a new window}
600_texthelphighlight_ {Highlight search terms, or not}
601_texthelpsectionarrows_ {Go to the previous/next section}
602
603
604_texthelpsearchingtitle_ {How to search for particular words}
605
606_texthelpsearching_ {
607<p>
608 From the search page, you make a query in these simple steps:<p>
609
610 <ol><li>Specify what items you want to search
611 <li>Say whether you want to search for all or just some of the words
612 <li>Type in the words you want to search for
613 <li>Click the <i>Begin Search</i> button
614 </ol>
615
616<p>When you make a query, the titles of twenty matching documents will be shown.
617There is a button at the end to take you on to the next twenty documents. From
618there you will find buttons to take you on to the third twenty or back to the
619first twenty, and so on. Click the title of any document, or the little button
620beside it, to see it.
621
622<p>A maximum of 50 is imposed on the number of
623 documents returned. You can change this number by clicking the
624 <i>_Global:linktextPREFERENCES_</i> button at the top of the page.<p>
625}
626
627_texthelpquerytermstitle_ {Search terms}
628_texthelpqueryterms_ {
629<p>Whatever you type into the query box is interpreted as a list of words or phrases
630called "search terms." A term is a single word containing only letters and digits, or a phrase consisting of a sequence of words enclosed in double quotes ("..."). Terms are separated by white spaces. If any other characters such
631as punctuation appear, they serve to separate terms just as though they were
632spaces. And then they are ignored. You can't search for words that include
633punctuation.
634
635<p>For example, the query<p>
636 <ul><kbd>Agro-forestry in the Pacific Islands: Systems for Sustainability (1993)</kbd></ul>
637 <p>will be treated the same as<p>
638 <ul><kbd>Agro forestry in the Pacific Islands Systems for Sustainability 1993 </kbd></ul><p>
639}
640
641_texthelpmgppsearching_ {
642For collections built with MGPP a few other options are available.
643
644<ul>
645<li>A <b>*</b> at the end of a query term matches all words <b>starting with</b> that word, e.g. <b>comput*</b> matches all words starting with <b>comput</b>.
646<li><b>/x</b> can be used to give higher weight to one or more of the query terms, eg <b>computer/10 science</b> gives computer 10 times more weight than science when ranking documents.
647</ul>
648}
649
650_texthelplucenesearching_ {
651For collections built with Lucene a few other options are available.
652
653<ul>
654<li><b>?</b> can be used as a wildcard in place of a single letter. For example, <b>b?t</b> will match <b>bet</b>, <b>bit</b> and <b>bat</b> etc.
655<li><b>*</b> can be used as a wildcard in place of multiple letters. For example, <b>comput*</b> matches all words starting with <b>comput</b>.
656</ul>
657Both of these wildcards can be used in the middle of a term, or at the end. They cannot be used at the start of a search term.
658}
659
660_texthelpquerytypetitle_ {Query type}
661_texthelpquerytype_ {
662<p>There are two different kinds of query.
663
664<ul>
665 <li>Queries for <b>all</b> of the words. These look for documents (or
666 chapters, or titles) that contain all the words you have specified.
667 Documents that satisfy the query are displayed, in build order.
668<p>
669
670 <li>Queries for <b>some</b> of the words. Just list some terms that are
671 likely to appear in the documents you are looking for. Documents are
672 displayed in order of how closely they match the query. When determining
673 the degree of match,
674
675 <p><ul>
676 <li> the more search term occurrences a document contains, the closer it matches;
677 <li> terms which are rare in the collection as a whole are more important than common ones;
678 <li> short documents match better than long ones.
679 </ul>
680</ul>
681
682<p>Use as many search terms as you like--a whole sentence, or even a
683whole paragraph. If you specify only
684one term, documents will be ordered by its frequency of occurrence.<p>
685}
686
687_texthelpadvancedsearchtitle_ {Advanced searching using the _1_ search engine}
688
689_texthelpadvancedsearch_ {
690<p>If you have selected advanced query mode (in preferences) you have slightly different search options.
691}
692
693_texthelpadvsearchmg_ {
694Advanced searching in MG collections gives you two options, ranked and boolean.
695A <b>ranked</b> search is exactly the same as the <b>some</b> search descibed in <a href="\#query-type">_texthelpquerytypetitle_</a>.
696<p>_texthelpbooleansearch_
697}
698
699_texthelpbooleansearch_ {
700A <b>boolean</b> search allows you to combine terms
701using &amp; (for "and"), | (for "or"), and ! (for "not"), using parentheses for grouping if desired. The default operator is | (for "or").
702<p>
703For example, <b>snail &amp; farming</b> will match documents which contain both <b>snail</b> AND <b>farming</b>, whereas <b>snail | farming</b> will match documents that contain either <b>snail</b> OR <b>farming</b>.
704<b>snail !farming</b> will match documents that contain <b>snail</b> AND DO NOT contain <b>farming</b>.
705<p>
706More precise queries can be specified using combinations of operators and parentheses. For example, <b>(sheep | cattle) &amp; (farm | station)</b>, or <b>sheep | cattle | goat !pig</b>.
707}
708
709_texthelpadvsearchmgpp_ {
710Advanced searches in MGPP collections use boolean operators. _texthelpbooleansearch_
711<p>The results can be displayed in <b>ranked</b> order, as described for the <b>some</b> search in <a href="\#query-type">_texthelpquerytypetitle_</a>, or in "natural" (or "build") order. The latter is the order that documents were processed during the creation of the collection.
712<p>
713Further operators include <b>NEARx</b> and <b>WITHINx</b>.
714NEARx is used to specify the maximum distance (x words)
715which can separate two query terms for a document to match.
716WITHINx specifies that the second term must occur within x words <i>after</i> the first term. This is similar to NEAR but the order is important. The default distance is 20.
717}
718
719_texthelpadvancedsearchextra_{NOTE: These operators are all ignored if you are searching in simple query mode.}
720
721_texthelpadvsearchlucene_ {
722Advanced searches in Lucene collections use boolean operators. _texthelpbooleansearch_
723}
724
725_texthelpformsearchtitle_ {Fielded searching}
726
727_texthelpformsearch_ {
728<p>Fielded searching provides the opportunity to combine searches across fields. For example, one can search for "Smith" in Title AND "snail farming" in Subject. In simple query mode, each line of the form behaves like a normal single line search. The individual lines of the form are combined using AND (for an "all" search) or OR (for a "some" search). Terms inside the field are also combined the same way. In advanced mode, you can specify different combinations of AND/OR/NOT between the fields using the drop-down lists, and inside a field you can use boolean operators.
729}
730
731_texthelpformstemming_ {The "fold" and "stem" boxes allow you to specify whether the terms inside that field are casefolded or stemmed. These are both switched off by default for advanced form searching.}
732
733_textdatesearch_ {Searching with Dates}
734
735_texthelpdatesearch_ {
736Date search lets you find documents that, as well as matching your search
737terms, are about events within a certain timeframe. You can search for
738documents from a certain year or from a range of years. Note that you do not
739have to have any search terms -- you can search by date alone; and also that
740you do not have to use dates in your search, if you do not type any dates in it
741 is just the same as if the date search didn't exist.<p>
742}
743
744_texthelpdatehowtotitle_ {How to use this feature:}
745_texthelpdatehowto_ {
746<ul>
747 <li>To search for documents about a single year:<p>
748 <ul>
749 <li>Type in any ordinary search terms as you normally would.
750 <li>Type the year you want into the "Start (or only) date" box.
751 <li>If your date is from before the common era (also known as before
752 Christ), choose the "B.C.E" option from the pulldown menu next to that
753 box.
754 <li>Begin your search as you ordinarily would.
755 </ul>
756<p><li>To search for documents about a time period or range of years:<p>
757 <ul>
758 <li>Type in any ordinary search terms as you normally would.
759 <li>Type the earlier date into the "Start (or only) date" box.
760 <li>Type the later date into the "End date" box.
761 <li>Select "B.C.E" option from the pulldown menu next to any date from before
762 the common era (also known as before Christ).
763 <li>Begin your search as you ordinarily would.
764 </ul>
765</ul><p>
766}
767
768_texthelpdateresultstitle_ {The way results of your search work}
769_texthelpdateresults_ {
770Generally speaking a search for documents about the year 1903 will not return documents that, say, reference books written in 1903, just documents about 1903. However, the way that the documents' dates are found, it will return documents that have a date range (for example 1899-1911) that includes 1903, and also those documents which, as part of their text name the century that 1903 is a part of (for example 20th century or twentieth century). This means that for some documents, the dates in your search will not actually appear in the document text. For a range search, all of this applies to every date in the range.<p>
771}
772
773_textchangeprefs_ {Changing your preferences}
774
775_texthelppreferences_ {
776<p>When you click the <i>_Global:linktextPREFERENCES_</i> button at the top of the page you will
777be able to change some features of the interface to suit your own requirements.
778}
779
780_texthelpcollectionprefstitle_ {Collection preferences}
781_texthelpcollectionprefs_ {
782<p>Some collections comprise several subcollections, which can be searched
783independently or together, as one unit. If so, you can select which
784subcollections to include in your searches on the Preferences page.
785}
786
787_texthelplanguageprefstitle_ {Language preferences}
788_texthelplanguageprefs_ {
789<p>Each collection has a default presentation language, but you can switch to
790a different language if you like. You can also alter the encoding scheme
791used by Greenstone for output to the browser -- the software chooses
792sensible defaults, but with some browsers it may be necessary to switch to
793a different encoding scheme to ensure correct character display.
794All collections allow you to
795switch from the standard graphical interface format to a textual one. This
796is particularly useful for visually impaired users who use large screen
797fonts or speech synthesizers for output.
798}
799
800_texthelppresentationprefstitle_ {Presentation preferences}
801_texthelppresentationprefs_ {
802Depending on the particular collection, there may be several options you can
803set that control the presentation.
804
805<p>Collections of Web pages allow you to suppress the Greenstone navigation bar at
806the top of each document page, so that once you have done a search you land at
807the exact Web page that matches without any Greenstone header. To do another
808search you will have to use your browser's "back" button. These collections
809also allow you to suppress Greenstone's warning message when you click a link
810that takes you out of the digital library collection and on to the Web itself.
811And in some Web collections you can control whether the links on the search
812results page take you straight to the actual URL in question, rather than to
813the digital library's copy of the page.
814}
815
816_texthelpsearchprefstitle_ {Search preferences}
817_texthelpsearchprefs_ {
818<p>You can switch to an "advanced" query mode which allows you to combine terms
819using &amp; (for "and"), | (for "or"), and ! (for "not"), using parentheses for
820grouping if desired. This allows you to specify more precise queries.
821<p>_selectsearchtypeprefs_
822<p>_selectwordmodificationprefs_
823<p>You can turn on the search history feature, which shows you your last few
824queries. This makes it easy to repeat slightly modified versions of previous
825queries.
826<p>Finally, you can control the number of hits returned, and the
827number presented on each screenful.
828}
829
830_textcasefoldprefs_ {A pair of buttons controls whether upper and lower case must match when searching. For example, if "_preferences:textignorecase_" is selected, <i>snail farming</i> will be treated the same as <i>Snail Farming</i> and <i>SNAIL FARMING</i>.}
831_textstemprefs_{A pair of buttons controls whether to ignore word endings or not when searching. For example, if "_preferences:textstem_" is selected, <i>snail farming</i> will be treated the same as <i>snails farm</i> and <i>snail farmer</i>. This currently only works properly for English language text. _selectstemoptionsprefs_}
832_textaccentfoldprefs_ {A pair of buttons controls whether accented and unaccented letters must match when searching. For example, if "_preferences:textignoreaccents_" is selected, <i>fédération</i> will be treated the same as <i>fedération</i> and <i>federation</i>.}
833
834_textstemoptionsprefs_ {It may be more convenient and precise to use the search term truncation facility described above in "_texthelpquerytermstitle_".}
835
836_textsearchtypeprefsplain_ {It is possible to get a large query box, so that you can easily do paragraph-sized searching. It is surprisingly quick to search for large amounts of text.}
837
838_textsearchtypeprefsform_ {You can change the number of fields shown in the search form.}
839
840_textsearchtypeprefsboth_ {You can switch the search type of the collection between "normal" search, and "fielded" search.
841<ul>
842<li>Normal search provides a single query box. _textsearchtypeprefsplain_</li>
843<li>Fielded search provides a number of query boxes, each querying a different field of the index. This enables searching over different fields at once. _textsearchtypeprefsform_ </li>
844</ul>
845}
846
847
848
849_texttanumbrowseoptions_ {There are _numbrowseoptions_ ways to find information in this collection:}
850
851_textsimplehelpheading_ {How to find information in the _collectionname_ collection}
852
853_texthelpscopetitle_ {Scope of queries}
854_texthelpscope_ {
855<p>
856In most collections you are given a choice of different indexes to search. For example, there might
857be author or title indexes. Or there might be chapter or paragraph indexes. Generally,
858the full matching document is returned regardless of which index you search.
859<p>If documents are books, they will be opened at the appropriate place.
860}
Note: See TracBrowser for help on using the repository browser.