I am looking to parse the ConstituentsTree from TextStructure. Someone already asked how to get the proper nouns out of a text here: Extract names from a document
I am looking for a more general approach to extracting the constituents from a constituents tree.
In this case how could you extract the proper noun from the noun phrase and the noun from the noun phrase in the verb phrase? In the referenced post it is done by getting the associations form the FullForm of the tree but I can't figure out how to replicate it so it can be used for more general purposes. Thanks
"ConstituentStrings"
of theTextStructure
and then do some string processing. $\endgroup$