Main -> Documentation -> Database Builder Newton -> OCLC SiteSearch Database Builder Utility Programs -> The Pippin Utility -> Pippin Tablefile Parameter |
You can use the pippin utility's -ztablefile parameter to define characters to be removed from the data, characters to be replaced with other characters, and delimiters used to separate words in an index. To serve as a reference, the syntax used to execute the pippin utility from the UNIX prompt is as follows: pippin -hheadername -ddirectoryname [-xindexfile] -nnipfile -iinputfile [-eerrorfile] [-mmax] Tablefile is a text file containing any or all of the following sections that are described in more detail through the links provided below: If you create a tablefile for a database using the pippin utility, include the location of the file in the database information when you register your database with SSDOT or edit the existing database registration to include the information. This section defines which characters to remove from the data. For each character to be removed include the following line:
where NNNN is a nonnegative decimal integer, and XXXX represents the value of the character to be removed, and is either:
Example To remove all hyphens ('-') from the data using the collapsible tablefile definition, either of these lines is correct:
This section defines which characters will be replaced with other data during indexing. To replace a single character with another character(s), include the following line:
where NNNN is a nonnegative decimal integer, XXXX is the value of the character to be replaced, and YYYY is the value of the replacement. Additional replacement characters can be defined by including a comma and a replacement value (i.e., ZZZZ). XXXX and YYYY are either decimal or hexadecimal numbers as described in the Collapsible description above. Examples To replace every hyphen ('-') with a period ('.') in index terms using the replacements tablefile definition, these lines are legal:
To replace every hyphen ('-') with three periods, these lines are legal:
This section defines characters to be used as delimiters with the adddelim() and wrddelim() indexing routines. To define delimiters, you must first edit your database description (.dsc) file to include adddelim() or wrddelim() in the appropriate index definition(s). Only those indexes containing one of the these routines will use the delimiters defined in this section. To define a delimiter, include the following line:
where NNNN is a nonnegative decimal integer, and XXXX is the value of the character to be used as a delimiter. XXXX can be either decimal or hexadecimal format as described in the Collapsible section above.
See Also The Pippin Utility |
[Main][Documentation][Support][Technical
Reference][Community][Glossary][Search]
|