In file ../include/ling_class/EST_Relation.h:
class EST_Relation |
Relations are a container class for EST_Items.
![]() | f Features which belong to the relation rather than its items |
![]() | EST_Relation () default constructor |
![]() | EST_Relation (const EST_String &name) Constructor which sets name of relation |
![]() | EST_Relation (const EST_Relation &r) Constructor which copies relation r |
![]() | ~EST_Relation () default destructor |
![]() | evaluate_features () Evaluate the relation's feature functions |
![]() | evaluate_item_features () Evaluate the feature functions of all the items in the relation |
![]() | clear () Clear the relation of items |
![]() | utt (void) Return the <link linkend="est-utterance">EST_Utterance</link> to which this relation belongs |
![]() | set_utt (EST_Utterance* u) Set the <link linkend="est-utterance">EST_Utterance</link> to which this relation belongs |
![]() | name () const Return the name of the relation |
![]() | head () const Return the head (first) item of the relation |
![]() | root () const Return the root item of the relation |
![]() | tail () const Return the tail (last) item of the relation |
![]() | empty () const return true if relation does not contain any items |
![]() | remove_item (EST_Item* item) remove EST_Item <parameter>item</parameter> from relation |
![]() | remove_item_feature (const EST_String &name) remove all occurances of feature <parameter>name</parameter> from relation's items |
![]() | load (const EST_String &filename, const EST_String &type="esps") Load relation from file |
![]() | load (const EST_String &filename, EST_TokenStream &ts, const EST_String &type) Load relation from already open tokenstream |
![]() | save (const EST_String &filename, bool evaluate_ff = false) const Save relation to file |
![]() | save (const EST_String &filename, const EST_String &type, bool evaluate_ff = false) const Save relation to file, evaluating all feature functions before hand |
![]() | save (ostream &outf, EST_TKVL<void* , int> contents) const Save relation from already open ostream |
![]() | save (ostream &outf, const EST_String &type, bool evaluate_ff) const Save relation from already open ostream |
![]() | Return the tail (last) item of the relation |
![]() | Load relation from already open tokenstream |
![]() | Iterator Iteration |
Relations are a container class for EST_Items. Three types of relation structure are supported:<variablelist>
<varlistentry><term>Linear lists</term><listitem></listitem></varlistentry> <varlistentry><term>Trees</term><listitem></listitem></varlistentry> <varlistentry><term>Multi-linear structures</term><listitem> as used in autosegmental phonology etc</listitem></varlistentry>
</variablelist>
Alphabetic index HTML hierarchy of classes or Java
This page is part of the
Edinburgh Speech Tools Library documentation
Copyright University of Edinburgh 1997
Contact:
speech_tools@cstr.ed.ac.uk