import "SynAn.idl";
Public Member Functions | |
HRESULT | InitializeProcesser () |
HRESULT | ProcessData ([in] IUnknown *piPlmLine) |
HRESULT | SentencesCount ([out, retval] long *pVal) |
HRESULT | Sentence ([in]long i,[out, retval] ISentence **pVal) |
HRESULT | ClearSentences () |
HRESULT | EnableThesauri ([in] BOOL newVal) |
HRESULT | SilentMode ([in] BOOL newVal) |
HRESULT | SetThesaurus ([in] UINT ThesId,[in] IUnknown *Thes) |
HRESULT | KillHomonymsMode ([out, retval] UINT *pVal) |
HRESULT | SetLemmatizer ([in] IUnknown *Interf) |
HRESULT | SetOborDic ([in] IUnknown *Interf) |
HRESULT | DeleteEqualPrimitiveClauseVariants ([out, retval] BOOL *pVal) |
HRESULT | SyntaxLanguage ([out, retval] int *pVal) |
|
deletes the set of processed sentences |
|
true, if the syntax module should delete all morphological variants which are less than the maximum by the coverage weight |
|
enables or disables thesauri |
|
The method should be called in order to load all dictionaries in the memory It always should precede a call of ProcessData. |
|
KillHomonymsMode sets the mode of killing homonyms. Possible values of this mode are DontKillHomonyms=0, CoverageKillHomonyms=1 |
|
creates a syntax structure by the input text |
|
returns a sentence by an index |
|
the number of processed sentences |
|
sets a pointer to lemmatizer, this function should be called before InitializeProcesser, otherwise procedure InitializeProcesser loads a new copy of lemmatizer |
|
sets a pointer to the dictionary of oborots, this function should be called before InitializeProcesser, otherwise procedure InitializeProcesser loads a new copy of the dictionary |
|
sets a pointer to thesaurus ThesId, this function should be called before InitializeProcesser, otherwise procedure InitializeProcesser loads this thesaurus |
|
true, if no error message should occur during processing |
|
SyntaxLanguage is the language of the syntax module. Possible values are morphRussian = 1, morphGerman = 3. This initialization should be done before InitializeProcesser |