Main Page | Class List | File List | Class Members | Examples

ISentencesCollection Interface Reference

import "SynAn.idl";

List of all members.

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)


Detailed Description

ISentencesCollection is the utmost interface in Dialing Syntax MOdule. It contains a set of sentences, i.e. the input text. It also provides an access to all options of the syntax process.


Member Function Documentation

HRESULT ISentencesCollection::ClearSentences  ) 
 

deletes the set of processed sentences

HRESULT ISentencesCollection::DeleteEqualPrimitiveClauseVariants [out, retval] BOOL *  pVal  ) 
 

true, if the syntax module should delete all morphological variants which are less than the maximum by the coverage weight

HRESULT ISentencesCollection::EnableThesauri [in] BOOL  newVal  ) 
 

enables or disables thesauri

HRESULT ISentencesCollection::InitializeProcesser  ) 
 

The method should be called in order to load all dictionaries in the memory It always should precede a call of ProcessData.

HRESULT ISentencesCollection::KillHomonymsMode [out, retval] UINT *  pVal  ) 
 

KillHomonymsMode sets the mode of killing homonyms. Possible values of this mode are DontKillHomonyms=0, CoverageKillHomonyms=1

HRESULT ISentencesCollection::ProcessData [in] IUnknown *  piPlmLine  ) 
 

creates a syntax structure by the input text

HRESULT ISentencesCollection::Sentence [in] long  i,
[out, retval] ISentence **  pVal
 

returns a sentence by an index

HRESULT ISentencesCollection::SentencesCount [out, retval] long *  pVal  ) 
 

the number of processed sentences

HRESULT ISentencesCollection::SetLemmatizer [in] IUnknown *  Interf  ) 
 

sets a pointer to lemmatizer, this function should be called before InitializeProcesser, otherwise procedure InitializeProcesser loads a new copy of lemmatizer

HRESULT ISentencesCollection::SetOborDic [in] IUnknown *  Interf  ) 
 

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

HRESULT ISentencesCollection::SetThesaurus [in] UINT  ThesId,
[in] IUnknown *  Thes
 

sets a pointer to thesaurus ThesId, this function should be called before InitializeProcesser, otherwise procedure InitializeProcesser loads this thesaurus

HRESULT ISentencesCollection::SilentMode [in] BOOL  newVal  ) 
 

true, if no error message should occur during processing

HRESULT ISentencesCollection::SyntaxLanguage [out, retval] int *  pVal  ) 
 

SyntaxLanguage is the language of the syntax module. Possible values are morphRussian = 1, morphGerman = 3. This initialization should be done before InitializeProcesser


The documentation for this interface was generated from the following file:
Generated on Tue Feb 7 15:38:49 2006 for Synan by  doxygen 1.4.4