Annotate a parse tree with linguistic features.