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

IRelationsIterator Interface Reference

import "SynAn.idl";

List of all members.

Public Member Functions

HRESULT AddClauseNoAndVariantNo ([in]long iClauseNo,[in] long iVarNo)
HRESULT BuildRelations ()
HRESULT RelationsCount ([out, retval] long *pVal)
HRESULT Relation ([in] long iRel,[out, retval] IRelation **pVal)
HRESULT FirmGroupsCount ([out, retval] long *pVal)
HRESULT FirmGroup ([in]long iGroup,[out, retval] IGroup **pVal)
HRESULT Reset ()


Detailed Description

IRelationsIterator is an interface to the dependency forest which represents another view of syntax results. The nodes of this forest can be words or "firm groups". Firm groups are oborots, or some graphematical chunks like dates, filename and so on. Relations have their own interface which is called IRelation. One can retrieve relations and nodes only after determining morphological variants of all clauses, which is done by method AddClauseNoAndVariantNo.


Member Function Documentation

HRESULT IRelationsIterator::AddClauseNoAndVariantNo [in] long  iClauseNo,
[in] long  iVarNo
 

Using this function the user should specify a morphological variant for each clause in order to create a dependency forest.

HRESULT IRelationsIterator::BuildRelations  ) 
 

This method builds dependency forest for the given morphological variants.

HRESULT IRelationsIterator::FirmGroup [in] long  iGroup,
[out, retval] IGroup **  pVal
 

returns a firm group by an index

HRESULT IRelationsIterator::FirmGroupsCount [out, retval] long *  pVal  ) 
 

the number of firm groups (oborots) in the dependency forest

HRESULT IRelationsIterator::Relation [in] long  iRel,
[out, retval] IRelation **  pVal
 

returns a relation from the dependency forest by an index

HRESULT IRelationsIterator::RelationsCount [out, retval] long *  pVal  ) 
 

the number of relations in the dependency forest

HRESULT IRelationsIterator::Reset  ) 
 

deletes all nodes and relations in the dependency forest


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