NAME

Scoredata - Procedures for reading, writing, and generating scoring tables.

SYNOPSIS

package require Scoredata

VARIABLES

Scoredata::allowedCharacters

COMMANDS

Scoredata::loadData command ?language? ?filename?
Load a default or previously saved scoring table. The command argument is the name of the scoring table into which the data will be loaded. The language argument indicates which precomputed language table should be loaded. Use an empty string {} for the default language, English. The filename argument is the name of the file containing the scoring data. If filename is specified, then the language argument is ignored.

Scoredata::saveData command filename
Save a scoring table to a file. The command argument is the name of the scoring table object to save. The filename argument is the name of the file to which the data will be written. Use - as a filename to write to stdout.

Scoredata::generate command file1 ?file2 ...?
Generate and load data into a scoring table from sample files of plaintext. The command argument is the name of the scoring table that will receive the new data. Any number of files may be specified for the source data. The data will be normalized after it has all been loaded.

Back to the Index
wart@kobold.org
Created on Wed Mar 31 08:18:25 PST 2004
SourceForge.net Logo