My goal is to access the phrase branches of the parse tree and extract relevant parts in a given branch in my c++ program. I am particularly interested in knowing the tree structure of the input sentence and thus, plain POS tagging is not enough.
Unfortunately I cannot see a simple way to do that in c++ since
parse_tree object keeps its root node as a private and unique member. Also I could not find any relevant features in the provided “visitor” and
transformation objects that could do the thing I need. I am hoping to find a solution that does not require me to customize the
parse_tree or create a custom
visitor class because I would like to have the MeTA library to work out of-the-box, without my specific changes in it.
Im fairly new with the vast landscape of language processing and hence my approach might be a bit backwards. Any suggestions are welcome.