Combine the tag with the token side by side in the results
Currently, it isn't easy to parse the results. Fetching this:
(TOP (SBARQ (WHADVP (WRB How)) (SQ (VP (VBP are)) (NP (PRP you)) (NN today) (. ?))))
requires a lot of string manipulation. In a scenario where you'd want to keep only the verbs, you'd have a lot of work. Why not doing something similar as what Stanford does? So, in the results, we'd have the tokens and their corresponding tag side by side like this for instance:
that'd make it easier to extract only tags you're interested in and get the corresponding words directly.