ModErn Text Analysis
META Enumerates Textual Applications
|
A tree transformer that converts binarized trees back into n-ary trees. More...
#include <debinarizer.h>
Public Member Functions | |
std::unique_ptr< node > | operator() (const leaf_node &) override |
std::unique_ptr< node > | operator() (const internal_node &) override |
Additional Inherited Members | |
Public Types inherited from meta::parser::const_visitor< std::unique_ptr< node > > | |
using | result_type = std::unique_ptr< node > |
The result of running the visitor over the tree. | |
A tree transformer that converts binarized trees back into n-ary trees.
This class assumes that its input is a tree binarized in the same format as would be output from the binarizer.
Implements meta::parser::tree_transformer.
|
overridevirtual |
Implements meta::parser::tree_transformer.