brSetDictionary
Selects a dictionary for this session of Brevity to use. The dictionary is used by Brevity to determine what is significant in your document. A dictionary must be specified before you can summarize any documents.
Synopsis
void brSetDictionary( SumManagerT Summarizer, char *dictname, StatusCodeT *Status )
Arguments
Summarizer The Brevity summarizer object returned by brCreateSummarizer. dictname The pathname to a valid Brevity dictionary. The dictionary must be one supplied by Lextek or generated with the Brevity dictionary utilities. Status A pointer to a value of type StatusCodeT. If an error occurs during the execution of the function a value representing the error will be stored in *Status. You should check *Status after every function call.
Returns
Nothing.
Related Functions
Example
// We assume you've already created a Brevity summarizer object
// named Brevity
ixSetDictionary( Brevity, "c:\summary\dicts\politics.dic", &Status );
if ( *Status < 0 ) {
printerror( Status );
return; // error
}