Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
dtsLanguageAnalyzerInterface::pCreateAnalyzer Data Member
dtsLanguageAnalyzerInterface Structure | dtsLanguageAnalyzerInterface Structure | Send Feedback

Initialize analyzer

dtsAnalyzerHandle (* pCreateAnalyzer)();
Returns

Handle to the analyzer, which can be used in calls to pInitializeJob, pAnalyzer, etc.

Remarks

This will be called once per process, and is where one-time inititialization, such as loading dictionaries, should occur. If the analyzer is created and initialized successfully, return a dtsAnalyzerHandle identifying the analyzer (usually by casting the this pointer for the class object implementing the analyzer). If the analyzer could not be initialized, return zero. The analyzer will not be called to process text. Note: The dtSearch Engine will not be able to destroy this object because it has no way to know when it is safe to do so. Therefore, the calling application or the language analyzer DLL must release any resources acquired by creation of a language analyzer, usually on termination.

Structure
Links
You are here: C++ API > Language Analyzer API > dtsLanguageAnalyzerInterface Structure > dtsLanguageAnalyzerInterface::pCreateAnalyzer Data Member
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.