KJB
|
#include <EdgeParser.h>
Public Member Functions | |
EdgeParser (IStream &syn_stream) | |
construct a parser object with text input 'syn_stream' More... | |
spear::RCIPtr< T > | parseEdge () |
parse the next edge in the stream More... | |
Parses an edge of type T. The type T must have these methods: setLabel(), setWord(), addChild(), and optionally setHead() to enable functionality for reading in head marker indices from the input stream
spear::EdgeParser< T >::EdgeParser | ( | IStream & | syn_stream | ) |
construct a parser object with text input 'syn_stream'
Implementation of member functions.
spear::RCIPtr< T > spear::EdgeParser< T >::parseEdge | ( | ) |
parse the next edge in the stream