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

ISyntaxUnit Interface Reference

import "SynAn.idl";

List of all members.

Public Member Functions

HRESULT Type ([out, retval] int *pVal)
HRESULT WordNum ([out, retval] long *pVal)
HRESULT ActiveHomonymNum ([out, retval] long *pVal)
HRESULT ClauseNum ([out, retval] long *pVal)
HRESULT ActiveClauseTypeNum ([out, retval] long *pVal)
HRESULT Grammems ([out, retval] hyper *pVal)
HRESULT Gramcodes ([out, retval] BSTR *pVal)
HRESULT GrammemsStr ([out, retval] BSTR *pVal)
HRESULT SimplePrepsCount ([out, retval] long *pVal)
HRESULT SimplePrepId ([in] long ii,[out, retval] long *pVal)
HRESULT SimplePrepStr ([in]long ii,[out, retval] BSTR *pVal)


Detailed Description

An interface to a syntax unit(a generalization of words and clauses)


Member Function Documentation

HRESULT ISyntaxUnit::ActiveClauseTypeNum [out, retval] long *  pVal  ) 
 

an index of the clause root set, if this unit is a clause

HRESULT ISyntaxUnit::ActiveHomonymNum [out, retval] long *  pVal  ) 
 

an index of the word's homonym set, if this unit is a word

HRESULT ISyntaxUnit::ClauseNum [out, retval] long *  pVal  ) 
 

an index in ISentence::Clause if this unit is a clause

HRESULT ISyntaxUnit::Gramcodes [out, retval] BSTR *  pVal  ) 
 

morphological codes of the syntax unit

HRESULT ISyntaxUnit::Grammems [out, retval] hyper *  pVal  ) 
 

a union of all grammems of the syntax unit

HRESULT ISyntaxUnit::GrammemsStr [out, retval] BSTR *  pVal  ) 
 

a string representation of grammems

HRESULT ISyntaxUnit::SimplePrepId [in] long  ii,
[out, retval] long *  pVal
 

an ID of a particular simple preposition

HRESULT ISyntaxUnit::SimplePrepsCount [out, retval] long *  pVal  ) 
 

The number of simple prepositions which can be interpretations of the unit, if it is a preposition. This slot is presented because Syntax can solve some cases of ambiguity in the preposition subordination

HRESULT ISyntaxUnit::SimplePrepStr [in] long  ii,
[out, retval] BSTR *  pVal
 

a string representation of a particular simple preposition

HRESULT ISyntaxUnit::Type [out, retval] int *  pVal  ) 
 

Is this unit a word or a clause (EClause or EWord)?

HRESULT ISyntaxUnit::WordNum [out, retval] long *  pVal  ) 
 

an index of the word in the sentence coordinates, if this unit is a word


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