To perform post-processing in an application built on the Eduction API, add post-processing tasks to the Eduction engine. You can add the tasks:
EdkEngineCreateFromConfigFile
in the C API, or using the EdkEngine
constructor in the Java API, any post-processing tasks in the configuration are added to the engine automatically.After the engine is created, by calling the appropriate function:
EdkEngineAddPostProcessingTask
in the C API.addPostProcessingTask
in the Java API.To specify the minimum score that is required for a match to be returned, after all post-processing tasks have completed, you can use the following functions:
EdkEngineSetPostProcessingThreshold
in the C API.setPostProcessingThreshold
in the Java API.The matches returned by the EdkGetNextMatch
function in the C API, or by iterating over the matches in the Java API, reflect any modifications made by post-processing. If a post-processing task discards a match or its score does not meet the threshold you have specified, it is not returned at all.
If you configure a post-processing task that processes matches en masse, the API does not return matches until all input has been received. This is necessary because an en masse post-processing task requires all of the matches at the same time.
The Eduction SDK includes reference documentation for the API. For more information about the SDK, see Eduction SDK Package.
|