Brevity Document Summarizer Toolkit
Main Functions Types Errors Demos Home

brCreateSummarizer

Creates a Brevity summarizer object. This object contains all of the Brevity's data and is used by most other functions in the toolkit.

Synopsis

SumManagerT brCreateSummarizer( ULongT Passcode1, ULongT Passcode2, StatusCodeT *Status )

Arguments

 Passcode1 A long integer that represents your permission code to use the library. This value was given to your when you purchased Brevity.
 Passcode2 A second long integer representing a permission code to unlock the library.
 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

A Brevity summarize object of type SumManagerT. This object contains all the data used by Brevity. You will pass this object to every Brevity function call.

Related Functions

brDeleteSummarizer

Example

StatusCodeT  Status;

SumManagerT  Brevity;



Brevity = ixCreateSummarizer( 0x0011FFFFL, 0x0011FFFFL, &Status );



if ( *Status < 0 ) {

   printerror( Status );

   return; // error

}



// 

// code to summarize text goes here

// 

 

ixDeleteSummarizer( Brevity, &Status );



if ( *Status < 0 ) {

   printerror( Status );

   return; // error

}

 

Previous Main Next Home

Copyright 2000 Lextek International