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

IClauseVariant Interface Reference

import "SynAn.idl";

List of all members.

Public Member Functions

HRESULT GroupsCount ([out, retval] long *pVal)
HRESULT Group ([in] long lGroupNum,[out, retval] IGroup **pVal)
HRESULT UnitsCount ([out, retval] long *pVal)
HRESULT Unit ([in]long lUnitNum,[out, retval] ISyntaxUnit **pVal)
HRESULT SubjectsCount ([out, retval] long *pVal)
HRESULT Subjects ([in] long SubjectNo,[out, retval] long *pVal)
HRESULT Predicate ([out, retval] long *pVal)
HRESULT ClauseRootNo ([out, retval] long *pVal)
HRESULT VariantWeight ([out, retval] int *pVal)


Detailed Description

IClauseVariant is an interface to one morphological variant of a clause, which is a vector of syntax units. Based on this vector we build a set of syntax groups, and find a subject and a predicate.


Member Function Documentation

HRESULT IClauseVariant::ClauseRootNo [out, retval] long *  pVal  ) 
 

ClauseRootNo returns an index to clause root set, which this clause variant contains ClauseRootNo can be -1, if there is no root found in this morphological variant

HRESULT IClauseVariant::Group [in] long  lGroupNum,
[out, retval] IGroup **  pVal
 

returns a particular group by an index

HRESULT IClauseVariant::GroupsCount [out, retval] long *  pVal  ) 
 

the number of all syntax groups in this variant

HRESULT IClauseVariant::Predicate [out, retval] long *  pVal  ) 
 

an index of a predicate in this variant in clause coordinates

HRESULT IClauseVariant::Subjects [in] long  SubjectNo,
[out, retval] long *  pVal
 

an index of a possible subject in this variant in clause coordinates

HRESULT IClauseVariant::SubjectsCount [out, retval] long *  pVal  ) 
 

number of possible subjects

HRESULT IClauseVariant::Unit [in] long  lUnitNum,
[out, retval] ISyntaxUnit **  pVal
 

returns a particular syntax unit by an index

HRESULT IClauseVariant::UnitsCount [out, retval] long *  pVal  ) 
 

the number of all syntax units in this variant

HRESULT IClauseVariant::VariantWeight [out, retval] int *  pVal  ) 
 

returns the weight of this variant, which is approximately the number of all words under all syntax groups


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