source: trunk/gsdl/perllib/strings.rb@ 5764

Last change on this file since 5764 was 5764, checked in by mdewsnip, 21 years ago

Added some extra description of BasPlug's default_encoding option.

  • Property svn:keywords set to Author Date Id Revision
File size: 34.1 KB
Line 
1#
2# Common output messages
3#
4
5common.cannot_create_file:ERROR: Can't create file
6
7common.cannot_find_cfg_file:ERROR: Can't find the configuration file
8
9common.cannot_open:ERROR: Can't open
10
11common.cannot_open_fail_log:ERROR: Can't open fail log
12
13common.cannot_open_output_file:ERROR: Can't open output file
14
15common.cannot_read:ERROR: Can't read
16
17common.cannot_read_file:ERROR: Can't read file
18
19common.general_options:general options (for %s)
20
21common.must_be_implemented:function must be implemented in sub-class
22
23common.options:options
24
25common.processing:processing
26
27common.specific_options:specific options
28
29common.usage:usage
30
31
32#
33# Script option descriptions and output messages
34#
35
36scripts.language:Language to display option descriptions in (eg. 'en_US' specifies American English). Requires translations of the option descriptions to exist in the perllib/strings_language-code.rb file.
37
38scripts.xml:Produces the information in an XML form, without 'pretty' comments but with much more detail.
39
40
41# -- buildcol.pl --
42
43buildcol.allclassifications:Don't remove empty classifications.
44
45buildcol.archivedir:Where the archives live.
46
47buildcol.builddir:Where to put the built indexes.
48
49buildcol.cachedir:Collection will be temporarily built here before being copied to the build directory.
50
51buildcol.cannot_open_cfg_file:WARNING: Can't open config file for updating
52
53buildcol.collectdir:Collection directory.
54
55buildcol.copying_back_cached_build:Copying back the cached build
56
57buildcol.create_images:Attempt to create default images for new collection. This relies on the Gimp being installed along with relevant perl modules to allow scripting from perl.
58
59buildcol.debug:Print output to STDOUT.
60
61buildcol.desc:PERL script used to build a greenstone collection from GML documents.
62
63buildcol.faillog:Fail log filename. This log receives the filenames of any files which fail to be processed.
64
65buildcol.index:Index to build (will build all in config file if not set).
66
67buildcol.keepold:Will not destroy the current contents of the building directory.
68
69buildcol.maxdocs:Maximum number of documents to build.
70
71buildcol.mode:The parts of the building process to carry out.
72buildcol.mode.all:Do everything.
73buildcol.mode.build_index:Just index the text.
74buildcol.mode.compress_text:Just compress the text.
75buildcol.mode.infodb:Just build the metadata database.
76
77buildcol.no_default_images:Default images will not be generated.
78
79buildcol.no_image_script:WARNING: Image making script could not be found
80
81buildcol.no_strip_html:Do not strip the html tags from the indexed text (only used for mgpp collections).
82
83buildcol.no_text:Don't store compressed text. This option is useful for minimizing the size of the built indexes if you intend always to display the original documents at run time (i.e. you won't be able to retrieve the compressed text version).
84
85buildcol.out:Filename or handle to print output status to.
86
87buildcol.params:[options] collection-name
88
89buildcol.unlinked_col_images:Collection images may not be linked correctly.
90
91buildcol.unknown_mode:Unknown mode
92
93buildcol.updating_archive_cache:Updating archive cache
94
95buildcol.verbosity:Controls the quantity of output. 0=none, 3=lots.
96
97
98# -- classinfo.pl --
99
100classinfo.collect:Giving a collection name will make classinfo.pl look in collect/collection-name/perllib/classify first. If the classifier is not found there it will look in the general perllib/classify directory.
101
102classinfo.desc:Prints information about a classifier.
103
104classinfo.general_options:General options are inherited from parent classes of the classifier.
105
106classinfo.info:info
107
108classinfo.no_classifier_name:ERROR: You must provide a classifier name.
109
110classinfo.option_types:Classifiers may take two types of options
111
112classinfo.params:[options] classifier-name
113
114classinfo.passing_options:Options may be passed to any classifier by including them in your collect.cfg configuration file.
115
116classinfo.specific_options:Specific options are defined within the classifier itself, and are available only to this particular classifier.
117
118
119# -- import.pl --
120
121import.archivedir:Where the converted material ends up.
122
123import.cannot_open_stats_file:WARNING: Couldn't open stats file
124
125import.cannot_open_fail_log:ERROR: Couldn't open fail log
126
127import.cannot_sort:WARNING: import.pl cannot sort documents when groupsize > 1. sortmeta option will be ignored.
128
129import.collectdir:Collection directory.
130
131import.complete:Import complete
132
133import.debug:Print imported text to STDOUT.
134
135import.desc:PERL script used to import files into a GML format ready for building.
136
137import.faillog:Fail log filename. This log receives the filenames of any files which fail to be processed.
138
139import.groupsize:Number of import documents to group into one XML file.
140
141import.gzip:Use gzip to compress resulting xml documents (don't forget to include ZIPPlug in your plugin list when building from compressed documents).
142
143import.importdir:Where the original material lives.
144
145import.keepold:Will not destroy the current contents of the archives directory (the default).
146
147import.maxdocs:Maximum number of documents to import.
148
149import.no_plugins_loaded:ERROR: No plugins loaded.
150
151import.OIDtype:The method to use when generating unique identifiers for each document.
152import.OIDtype.hash:Hashes the contents of the file. Document identifier will be the same every time the collection is imported.
153import.OIDtype.incremental:A simple document count that is significantly faster than "hash". It is not guaranteed to always assign the same identifier to a given document though and does not allow further documents to be added to existing xml archives.
154
155import.out:Filename or handle to print output status to.
156
157import.params:[options] collection-name
158
159import.removeold:Will remove the old contents of the archives directory -- use with care.
160
161import.removing_archives:Removing current contents of the archives directory...
162
163import.sortmeta:Sort documents alphabetically by metadata for building. This will be disabled if groupsize > 1.
164
165import.statsfile:Filename or handle to print import statistics to.
166
167import.stats_backup:Will print stats to STDERR instead.
168
169import.verbosity:Controls the quantity of output. 0=none, 3=lots.
170
171
172# -- mkcol.pl --
173
174mkcol.about:The about text for the collection.
175
176mkcol.bad_name_cvs:ERROR: No collection can be named CVS as this may interfere with directories created by the CVS versioning system.
177
178mkcol.bad_name_modelcol:ERROR: No collection can be named modelcol as this is the name of the model collection.
179
180mkcol.cannot_find_modelcol:ERROR: Cannot find the model collection
181
182mkcol.col_already_exists:ERROR: This collection already exists.
183
184mkcol.collectdir:Directory where new collection will be created.
185
186mkcol.creating_col:Creating the collection
187
188mkcol.creator:The collection creator's e-mail address.
189
190mkcol.creator_undefined:ERROR: The creator was not defined. This variable is needed to recognise duplicate collection names.
191
192mkcol.desc:PERL script used to create the directory structure for a new Greenstone collection.
193
194mkcol.doing_replacements:doing replacements for
195
196mkcol.long_colname:ERROR: The collection name must be less than 8 characters so compatibility with earlier filesystems can be maintained.
197
198mkcol.maintainer:The collection maintainer's email address (if different from the creator).
199
200mkcol.no_collectdir:ERROR: The collect dir doesn't exist
201
202mkcol.no_colname:ERROR: No collection name was specified.
203
204mkcol.optionfile:Get options from file, useful on systems where long command lines may cause problems.
205
206mkcol.params:[options] collection-name
207
208mkcol.plugin:Perl plugin module to use (there may be multiple plugin entries).
209
210mkcol.public:If this collection has anonymous access (true/false).
211
212mkcol.quiet:Operate quietly.
213
214mkcol.success:The new collection was created successfully at
215
216mkcol.title:The title of the collection.
217
218
219# -- pluginfo.pl --
220
221pluginfo.collect:Giving a collection name will make pluginfo.pl look in collect/collection-name/perllib/plugins first. If the plugin is not found there it will look in the general perllib/plugins directory.
222
223pluginfo.desc:Prints information about a plugin.
224
225pluginfo.general_options:General options are inherited from parent classes of the plugin.
226
227pluginfo.info:info
228
229pluginfo.no_plugin_name:ERROR: You must provide a plugin name.
230
231pluginfo.option_types:Plugins may take two types of options
232
233pluginfo.params:[options] plugin-name
234
235pluginfo.passing_options:Options may be passed to any plugin by including them in your collect.cfg configuration file.
236
237pluginfo.specific_options:Specific options are defined within the plugin itself, and are available only to this particular plugin.
238
239
240#
241# Classifier option descriptions
242#
243
244AZCompactList.buttonname:Button name for this classification.
245
246AZCompactList.desc:Classifier plugin for sorting alphabetically
247
248AZCompactList.doclevel:Level to process document at.
249AZCompactList.doclevel.top:Whole document.
250AZCompactList.doclevel.section:By sections.
251
252AZCompactList.freqsort:Sort by node frequency rather than alpha-numeric.
253
254AZCompactList.metadata:Metadata field used for classification. List will be sorted by this element.
255AZCompactList.metadata.deft:Metadata element specified with -metadata.
256AZCompactList.maxcompact:Maximum number of documents to be displayed per page.
257
258AZCompactList.mincompact:Minimum number of documents to be displayed per page.
259
260AZCompactList.mingroup:The smallest value that will cause a group in the hierarchy to form.
261
262AZCompactList.minnesting:The smallest value that will cause a list to be converted into a nested list.
263
264AZCompactList.onlyfirst:Control whether all or only first metadata value used from array of metadata.
265
266AZCompactList.recopt:Used in nested metadata such as -metadata Year/Organisation.
267AZCompactList.removeprefix:A prefix to ignore in the Metadata values for the field when sorting.
268AZCompactList.removesuffix:A suffix to ignore in the Metadata values for the field when sorting.
269AZCompactSectionList.desc:Variation on AZCompactList that classifies sections rather than documents. Entries are sorted by section-level metadata.
270AZList.buttonname:Button name for this classification.
271
272AZList.desc:Classifier plugin for sorting alphabetically
273
274AZList.metadata:Metadata field used for classification. List will be sorted by this element.
275
276AZList.removeprefix:A prefix to ignore in the Metadata values for the field when sorting.
277
278AZList.removesuffix:A suffix to ignore in the Metadata values for the field when sorting.
279
280AZSectionList.desc:Classifier plugin for sorting alphabetically. This is very similar to AZList except it sorts by section level metadata (excluding the top level) instead of just top level metadata. The only change is to the classify() subroutine which must now iterate through each section, adding each to the classification.
281
282BasClas.bad_general_option:The %s classifier uses an incorrect general option (general options are those available to all classifiers). Check your collect.cfg configuration file.
283
284BasClas.builddir:Where to put the built indexes.
285
286BasClas.desc:Base class for all the classifiers.
287
288BasClas.outhandle:The file handle to write output to.
289
290BasClas.verbosity:Controls the quantity of output. 0=none, 3=lots.
291
292Browse.desc:
293
294DateList.bymonth:Classify by year and month.
295
296DateList.datemeta:The metadata that contains the dates to classify by. The format is expected to be yyyymmdd.
297
298DateList.desc:Classifier plugin for sorting by date. By default, sorts by 'Date' metadata. Date is assumed to be in the form yyyymmdd.
299
300DateList.nogroupyears:Make each year an individual entry in the horizontal list. (ie, don't have 1920-1922 type classification nodes).
301
302DateList.sortmeta:An extra metadata field to sort by in the case where two documents have the same date.
303
304Hierarchy.buttonname:Title field for this classification.
305
306Hierarchy.desc:Classifier plugin for generating hierarchical classifications.
307
308Hierarchy.hfile:The classification structure file.
309
310Hierarchy.hlist_at_top:Display the first level of the classification horizontally.
311
312Hierarchy.metadata:Metadata field used for classification. List will be sorted by this element, unless -sort is used.
313
314Hierarchy.sort:Metadata field to sort by. Use '-sort nosort' for no sorting.
315
316HTML.buttonname:The title field for this classification.
317
318HTML.desc:Creates an empty classification that's simply a link to a web page.
319
320HTML.url:The url of the web page to link to.
321
322List.buttonname:Button name for this classification.
323
324List.desc:Simple list classifier plugin.
325
326List.metadata:Metadata field used for classification. List will be sorted by this element.
327
328List.sort:Metadata field to sort by. If not set, sorts in build (random) order.
329
330Phind.button:The label for the classifier screen and button in navigation bar.
331
332Phind.desc:The Phind clasifier plugin.
333
334Phind.language:Language or languages to use building hierarchy. Languages are identified by two-letter country codes like en (English), es (Spanish), and fr (French). Language is a regular expression, so 'en|fr' (English or French) and '..' (match any language) are valid.
335
336Phind.savephrases:If set, the phrase infomation will be stored in the given file as text. It is probably a good idea to use an absolute path.
337
338Phind.suffixmode:The smode parameter to the phrase extraction program. A value of 0 means that stopwords are ignored, and of 1 means that stopwords are used.
339
340Phind.text:The text used to build the phrase hierarchy.
341
342Phind.thesaurus:Name of a thesaurus stored in Phind format in the collection's etc directory.
343
344Phind.title:The metadata field used to describe each document.
345
346Phind.untidy:Don't remove working files.
347
348SectionList.desc:Same as List classifier but includes all sections of document (excluding top level) rather than just top level document itself.
349
350
351#
352# Plugin option descriptions
353#
354
355ArcPlug.desc:Plugin which recurses through an archives.inf file (i.e. the file generated in the archives directory when an import is done), processing each file it finds.
356
357BasPlug.adding:adding
358
359BasPlug.already_seen:already seen
360
361BasPlug.bad_general_option:The %s plugin uses an incorrect general option (general options are those available to all plugins). Check your collect.cfg configuration file.
362
363BasPlug.block_exp:Files matching this regular expression will be blocked from being passed to any later plugins in the list. This has no real effect other than to prevent lots of warning messages about input files you don't care about. Each plugin might have a default block_exp. e.g. by default HTMLPlug blocks any files with .gif, .jpg, .jpeg, .png or .css file extensions.
364
365BasPlug.could_not_extract_encoding:WARNING: encoding could not be extracted from %s - defaulting to %s
366
367BasPlug.could_not_extract_language:WARNING: language could not be extracted from %s - defaulting to %s
368
369BasPlug.could_not_open_for_reading:could not open %s for reading
370
371BasPlug.cover_image:Will look for a prefix.jpg file (where prefix is the same prefix as the file being processed) and associate it as a cover image.
372
373BasPlug.default_encoding:Use this encoding if -input_encoding is set to 'auto' and the text categorization algorithm fails to extract the encoding or extracts an encoding unsupported by Greenstone. This option can take the same values as -input_encoding.
374
375BasPlug.default_language:If Greenstone fails to work out what language a document is the 'Language' metadata element will be set to this value. The default is 'en' (ISO 639 language symbols are used: en = English). Note that if -input_encoding is not set to 'auto' and -extract_language is not set, all documents will have their 'Language' metadata set to this value.
376
377BasPlug.desc:Base class for all the import plugins.
378
379BasPlug.done_acronym_extract:done extracting acronyms.
380
381BasPlug.done_acronym_markup:done acronym markup.
382
383BasPlug.done_email_extract:done extracting e-mail addresses.
384
385BasPlug.empty_file:file contains no text
386
387BasPlug.extract_acronyms:Extract acronyms from within text and set as metadata.
388
389BasPlug.extract_email:Extract email addresses as metadata.
390
391BasPlug.extract_historical_years:Extract time-period information from historical documents. This is stored as metadata with the document. There is a search interface for this metadata, which you can include in your collection by adding the statement, "format QueryInterface DateSearch" to your collection configuration file.
392
393BasPlug.extract_language:Identify the language of each document and set 'Language' metadata. Note that this will be done automatically if -input_encoding is 'auto'.
394
395BasPlug.extracting:extracting
396
397BasPlug.extracting_acronyms:extracting acronyms
398
399BasPlug.extracting_emails:extracting e-mail addresses
400
401BasPlug.file_has_no_text:ERROR: %s contains no text
402
403BasPlug.first:Comma separated list of first sizes to extract from the text into a metadata field. The field is called 'FirstNNN'.
404
405BasPlug.input_encoding:The encoding of the source documents. Documents will be converted from these encodings and stored internally as utf8.
406BasPlug.input_encoding.ascii:Plain 7 bit ascii. This may be a bit faster than using iso_8859_1. Beware of using this on a collection of documents that may contain characters outside the plain 7 bit ascii set though (e.g. German or French documents containing accents), use iso_8859_1 instead.
407BasPlug.input_encoding.auto:Use text categorization algorithm to automatically identify the encoding of each source document. This will be slower than explicitly setting the encoding but will work where more than one encoding is used within the same collection.
408BasPlug.input_encoding.unicode:Just unicode.
409BasPlug.input_encoding.utf8:Either utf8 or unicode -- automatically detected.
410
411BasPlug.keyphrases:keyphrases
412
413BasPlug.marking_up_acronyms:marking up acronyms
414
415BasPlug.markup_acronyms:Add acronym metadata into document text.
416
417BasPlug.maximum_century:The maximum named century to be extracted as historical metadata (e.g. 14 will extract all references up to the 14th century).
418
419BasPlug.maximum_year:The maximum historical date to be used as metadata (in a Common Era date, such as 1950).
420
421BasPlug.no_bibliography:Do not try to block bibliographic dates when extracting historical dates.
422
423BasPlug.process_exp:A perl regular expression to match against filenames. Matching filenames will be processed by this plugin. For example, using '(?i).html?\$' matches all documents ending in .htm or .html (case-insensitive).
424
425BasPlug.read_denied:Read permission denied for %s
426
427BasPlug.must_be_implemented:BasPlug::read function must be implemented in sub-class for recursive plugins
428
429BasPlug.stems:stems
430
431BasPlug.unsupported_encoding:WARNING: %s appears to be encoded in an unsupported encoding (%s) - using %s
432
433BasPlug.wrong_encoding:WARNING: %s was read using %s encoding but appears to be encoded as %s.
434
435BibTexPlug.desc:BibTexPlug reads bibliography files in BibTex format. BibTexPlug creates a document object for every reference in the file. It is a subclass of SplitPlug, so if there are multiple records, all are read.
436
437BookPlug.desc:Creates multi-level document from document containing <<TOC>> level tags. Metadata for each section is taken from any other tags on the same line as the <<TOC>>. e.g. <<Title>>xxxx<</Title>> sets Title metadata. Everything else between TOC tags is treated as simple html (i.e. no processing of html links or any other HTMLPlug type stuff is done). Expects input files to have a .hb file extension by default (this can be changed by adding a -process_exp option a file with the same name as the hb file but a .jpg extension is taken as the cover image (jpg files are blocked by this plugin). BookPlug is a simplification (and extension) of the HBPlug used by the Humanity Library collections. BookPlug is faster as it expects the input files to be cleaner (The input to the HDL collections contains lots of excess html tags around <<TOC>> tags, uses <<I>> tags to specify images, and simply takes all text between <<TOC>> tags and start of text to be Title metadata). If you're marking up documents to be displayed in the same way as the HDL collections, use this plugin instead of HBPlug.
438
439ConvertToPlug.convert_to:Plugin converts to TEXT or HTML.
440ConvertToPlug.convert_to.html:HTML format.
441ConvertToPlug.convert_to.text:Plain text format.
442
443ConvertToPlug.desc:The plugin is inherited by such plugins as WordPlug and PDFPlug. It facilitates the conversion of these document types to either HTML or TEXT by setting up variable that instruct ConvertToBasPlug how to work. It works by dynamically inheriting HTMLPlug or TEXTPlug based on the plugin argument 'convert_to'. If the argument is not present, the default is to inherit HTMLPlug.
444
445ConvertToPlug.use_strings:If set, a simple strings function will be called to extract text if the conversion utility fails.
446
447ConvertToRogPlug.desc:A plugin that inherits from RogPlug.
448
449DBPlug.desc:Uses records from a database as documents.
450
451DBPlug.title_sub:Substitution expression to modify string stored as Title. Used by, for example, PSPlug to remove "Page 1" etc from text used as the title.
452
453EMAILPlug.desc:Email plug reads email files. These are named with a simple number (i.e. as they appear in maildir folders) or with the extension .mbx (for mbox mail file format).\nDocument text: The document text consists of all the text after the first blank line in the document.\nMetadata (not Dublin Core!):\n\t\$Headers All the header content\n\t\$Subject Subject: header\n\t\$To To: header\n\t\$From From: header\n\t\$FromName Name of sender (where available)\n\t\$FromAddr E-mail address of sender\n\t\$DateText Date: header\n\t\$Date Date: header in GSDL format (eg: 19990924)
454
455EMAILPlug.no_attachments:Do not save message attachments.
456
457EMAILPlug.split_exp:A perl regular expression used to split files containing many messages into individual documents.
458
459ExcelPlug.desc:A plugin for importing Microsoft Excel files.
460
461FOXPlug.desc:Plugin to process a Foxbase dbt file. This plugin provides the basic functionality to read in the dbt and dbf files and process each record. This general plugin should be overridden for a particular database to process the appropriate fields in the file.
462
463GAPlug.desc:Processes GreenstoneArchive XML documents. Note that this plugin does no syntax checking (though the XML::Parser module tests for well-formedness). It's assumed that the GreenstoneArchive files conform to their DTD.
464
465GMLPlug.desc:Plugin which processes a GML format document assumes that gml tags are all in lower-case.
466
467HBPlug.desc:Plugin which processes an HTML book directory. This plugin is used by the Humanity Library collections and does not handle input encodings other than ascii or extended ascii. This code is kind of ugly and could no doubt be made to run faster, by leaving it in this state I hope to encourage people to make their collections use HBSPlug instead ;-)\n\nUse HBSPlug if creating a new collection and marking up files like the Humanity Library collections. HBSPlug accepts all input encodings but expects the marked up files to be cleaner than those used by the Humanity Library collections
468
469HTMLPlug.assoc_files:Perl regular expression of file extensions to associate with html documents.
470
471HTMLPlug.desc:This plugin processes HTML files
472
473HTMLPlug.description_tags:Split document into sub-sections where <Section> tags occur. Note that by setting this option you implicitly set -no_metadata, as all metadata should be included within the <Section> tags. Also, '-keep_head' will have no effect when this option is set.
474
475HTMLPlug.file_is_url:Set if input filenames make up url of original source documents e.g. if a web mirroring tool was used to create the import directory structure.
476
477HTMLPlug.hunt_creator_metadata:Find as much metadata as possible on authorship and place it in the 'Creator' field. Requires the -metadata_fields flag.
478
479HTMLPlug.keep_head:Don't remove headers from html files.
480
481HTMLPlug.metadata_fields:Comma separated list of metadata fields to attempt to extract. Use 'tag<tagname>' to have the contents of the first <tagname> pair put in a metadata element called 'tagname'. Capitalise this as you want the metadata capitalised in Greenstone, since the tag extraction is case insensitive.
482
483HTMLPlug.no_metadata:Don't attempt to extract any metadata from files.
484
485HTMLPlug.nolinks:Don't make any attempt to trap links (setting this flag may improve speed of building/importing but any relative links within documents will be broken).
486
487HTMLPlug.rename_assoc_files:Renames files associated with documents (e.g. images). Also creates much shallower directory structure (useful when creating collections to go on cd-rom).
488
489HTMLPlug.title_sub:Substitution expression to modify string stored as Title. Used by, for example, PDFPlug to remove "Page 1", etc from text used as the title.
490
491ImagePlug.converttotype:Convert main image to.
492
493ImagePlug.desc:This plugin processes images, adding basic metadata
494
495ImagePlug.minimumsize:Ignore images smaller than n bytes.
496
497ImagePlug.noscaleup:Don't scale up small images when making thumbnails.
498
499ImagePlug.screenviewsize:If set, makes an image of size n for screen display and sets Screen, ScreenSize, ScreenWidth and ScreenHeight metadata. By default it is not set.
500
501ImagePlug.screenviewtype:If -screenviewsize is set, this sets the screen display image type.
502
503ImagePlug.thumbnailsize:Make thumbnails of size nxn.
504
505ImagePlug.thumbnailtype:Make thumbnails in format 's'.
506
507IndexPlug.desc:This recursive plugin processes an index.txt file. The index.txt file should contain the list of files to be included in the collection followed by any extra metadata to be associated with each file.\n\nThe index.txt file should be formatted as follows: The first line may be a key (beginning with key:) to name the metadata fields (e.g. key: Subject Organization Date). The following lines will contain a filename followed by the value that metadata entry is to be set to. (e.g. 'irma/iw097e 3.2 unesco 1993' will associate the metadata Subject=3.2, Organization=unesco, and Date=1993 with the file irma/iw097e if the above key line was used)\n\nNote that if any of the metadata fields use the Hierarchy classifier plugin then the value they're set to should correspond to the first field (the descriptor) in the appropriate classification file.\n\nMetadata values may be named separately using a tag (e.g. &gt;Subject&lt;3.2) and this will override any name given to them by the key line. If there's no key line any unnamed metadata value will be named 'Subject'.
508
509MACROPlug.desc:Creates simple single-level document. Adds Title metadata of first line of text (up to 100 characters long).
510
511MARCPlug.desc:Basic MARC plugin.
512
513MARCPlug.metadata_mapping:Name of file that includes mapping details from MARC values to Greenstone metadata names. Defaults to 'marctodc.txt' found in the site's etc directory.
514
515OAIPlug.desc:Basic Open Archives Initiate (OAI) plugin.
516
517PDFPlug.complex:Create more complex output. With this option set the output html will look much more like the original PDF file. For this to function properly you Ghostscript installed (for *nix gs should be on your path while for windows you must have gswin32c.exe on your path).
518
519PDFPlug.desc:Reasonably with-it pdf plugin.
520
521PDFPlug.nohidden:Prevent pdftohtml from attempting to extract hidden text. This is only useful if the -complex option is also set.
522
523PDFPlug.noimages:Don't attempt to extract images from PDF.
524
525PDFPlug.use_sections:Create a separate section for each page of the PDF file.
526
527PDFPlug.zoom:The factor by which to zoom the PDF for output (this is only useful if -complex is set).
528
529PPTPlug.desc:A plugin for importing Microsoft PowerPoint files.
530
531PSPlug.desc:This is a \"poor man's\" ps to text converter. If you are serious, consider using the PRESCRIPT package, which is available for download at http://www.nzdl.org/html/software.html
532
533PSPlug.extract_date:Extract date from PS header.
534
535PSPlug.extract_pages:Extract pages from PS header.
536
537PSPlug.extract_title:Extract title from PS header.
538
539RecPlug.desc:RecPlug is a plugin which recurses through directories processing each file it finds.
540
541RecPlug.use_metadata_files:Read metadata from metadata XML files.
542
543ReferPlug.desc:ReferPlug reads bibliography files in Refer format.\nBy Gordon W. Paynter (gwp\@cs.waikato.ac.nz), November 2000\n\nLoosely based on hcibib2Plug by Steve Jones (stevej\@cs.waikato.ac.nz). Which was based on EMAILPlug by Gordon Paynter (gwp\@cs.waikato.ac.nz). Which was based on old versions of HTMLplug and HCIBIBPlugby by Stefan Boddie and others -- it's hard to tell what came from where, now.\n\nReferPlug creates a document object for every reference in the file. It is a subclass of SplitPlug, so if there are multiple records, all are read.\n\nDocument text:\n\tThe document text consists of the reference in Refer format.\nMetadata:\n\t\$Creator \%A Author name\n\t\$Title \%T Title of article of book\n\t\$Journal \%J Title of Journal\n\t\$Booktitle \%B Title of book containing the publication\n\t\$Report \%R Type of Report, paper or thesis\n\t\$Volume \%V Volume Number of Journal\n\t\$Number \%N Number of Journal within Volume\n\t\$Editor \%E Editor name\n\t\$Pages \%P Page Number of article\n\t\$Publisher \%I Name of Publisher\n\t\$Publisheraddr \%C Publisher's address\n\t\$Date \%D Date of publication\n\t\$Keywords \%K Keywords associated with publication\n\t\$Abstract \%X Abstract of publication\n\t\$Copyright\t\%* Copyright information for the article
544
545RogPlug.desc:Creates simple single-level documents from .rog or .mdb files.
546
547RTFPlug.desc:Plugin for importing Rich Text Format files.
548
549SRCPlug.desc:Filename is currently used for Title ( optionally minus some prefix ). Current languages:\ntext: READMEs/Makefiles\nC/C++ (currently extracts #include statements and C++ class decls)\nPerl (currently only done as text)\nShell (currently only done as text)
550
551SRCPlug.remove_prefix:Remove this leading pattern from the filename (eg -remove_prefix /tmp/XX/src/). The default is to remove the whole path from the filename.
552
553SplitPlug.desc:SplitPlug is a plugin for splitting input files into segments that will then be individually processed. This plugin should not be called directly. Instead, if you need to process input files that contain several documents, you should write a plugin with a process function that will handle one of those documents and have it inherit from SplitPlug. See ReferPlug for an example.
554
555SplitPlug.split_exp:A perl regular expression to split input files into segments.
556
557TEXTPlug.desc:Creates simple single-level document. Adds Title metadata of first line of text (up to 100 characters long).
558
559TEXTPlug.title_sub:Substitution expression to modify string stored as Title. Used by, for example, PSPlug to remove "Page 1" etc from text used as the title.
560
561UnknownPlug.assoc_field:Name of the metadata field that will hold the associated file's name.
562
563UnknownPlug.desc:This is a simple Plugin for importing files in formats that Greenstone doesn't know anything about. A fictional document will be created for every such file, and the file itself will be passed to Greenstone as the \"associated file\" of the document.
564
565UnknownPlug.file_type:Mime type of the file (e.g. image/gif).
566
567W3ImgPlug.aggressiveness:Range of related text extraction techniques to use.
568W3ImgPlug.aggressiveness.1:Filename, path, ALT text only.
569W3ImgPlug.aggressiveness.2:All of 1, plus caption where available.
570W3ImgPlug.aggressiveness.3:All of 2, plus near paragraphs where available.
571W3ImgPlug.aggressiveness.4:All of 3, plus previous headers (<h1>, <h2>...) where available.
572W3ImgPlug.aggressiveness.5:All of 4, plus textual references where available.
573W3ImgPlug.aggressiveness.6:All of 4, plus page metatags (title, keywords, etc).
574W3ImgPlug.aggressiveness.7:All of 6, 5 and 4 combined.
575W3ImgPlug.aggressiveness.8:All of 7, plus repeat caption, filename, etc (raise ranking of more relevant results).
576W3ImgPlug.aggressiveness.9:All of 1, plus full text of source page.
577
578W3ImgPlug.caption_length:Maximum length of captions (in characters).
579
580W3ImgPlug.convert_params:Additional parameters for ImageMagicK convert on thumbnail creation. For example, '-raise' will give a three dimensional effect to thumbnail images.
581
582W3ImgPlug.desc:A plugin for extracting images and associated text from webpages.
583
584W3ImgPlug.document_text:Add image text as document:text (otherwise IndexedText metadata field).
585
586W3ImgPlug.index_pages:Index the pages along with the images. Otherwise reference the pages at the source URL.
587
588W3ImgPlug.max_near_text:Maximum characters near images to extract.
589
590W3ImgPlug.min_height:Pixels. Skip images shorter than this.
591
592W3ImgPlug.min_near_text:Minimum characters of near text or caption to extract.
593
594W3ImgPlug.min_size:Bytes. Skip images smaller than this.
595
596W3ImgPlug.min_width:Pixels. Skip images narrower than this.
597
598W3ImgPlug.neartext_length:Target length of near text (in characters).
599
600W3ImgPlug.no_cache_images:Don't cache images (point to URL of original).
601
602W3ImgPlug.smallpage_threshold:Images on pages smaller than this (bytes) will have the page (title, keywords, etc) meta-data added.
603
604W3ImgPlug.textrefs_threshold:Threshold for textual references. Lower values mean the algorithm is less strict.
605
606W3ImgPlug.thumb_size:Max thumbnail size. Both width and height.
607
608WordPlug.desc:A plugin for importing Microsoft Word documents.
609
610XMLPlug.desc:Base class for XML plugins.
611
612ZIPPlug.desc:Plugin which handles compressed and/or archived input formats currently handled formats and file extensions are:\ngzip (.gz, .z, .tgz, .taz)\nbzip (.bz)\nbzip2 (.bz2)\nzip (.zip .jar)\ntar (.tar)\n\nThis plugin relies on the following utilities being present (if trying to process the corresponding formats):\ngunzip (for gzip)\nbunzip (for bzip)\nbunzip2 \nunzip (for zip)\ntar (for tar)
613
614
615#
616# Perl module strings
617#
618
619classify.could_not_find_classifier:ERROR: Could not find classifier \"%s\"
620
621plugin.could_not_find_plugin:ERROR: Could not find plugin \"%s\"
622
623plugin.including_archive:including the contents of 1 ZIP/TAR archive
624
625plugin.including_archives:including the contents of %d ZIP/TAR archives
626
627plugin.kill_file:Process killed by .kill file
628
629plugin.n_considered:%d documents were considered for processing
630
631plugin.n_included:%d were processed and included in the collection
632
633plugin.n_rejected:%d were rejected
634
635plugin.no_plugin_could_process:WARNING: No plugin could process %s
636
637plugin.no_plugin_could_process_this_file:no plugin could process this file
638
639plugin.one_considered:1 document was considered for processing
640
641plugin.one_included:1 was processed and included in the collection
642
643plugin.one_rejected:1 was rejected
644
645plugin.see_faillog:See %s for a list of rejected documents
646
647PrintUsage.default:Default
648
649PrintUsage.required:REQUIRED
Note: See TracBrowser for help on using the repository browser.