Brevity Document Summarizer Toolkit
Main Functions Types Errors Demos Home


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.


void brSetDictionary( SumManagerT Summarizer, char *dictname, StatusCodeT *Status )


 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.



Related Functions



// 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



Previous Main Next Home

Copyright 2000 Lextek International