In Nissim's (2006) feature set, there are a couple of features that capture NP-internal information, such as determiner, NP length, and NP type.
there is only one feature that captures the syntactic context of an NP, grammatical role, which is computed based on the parse tree in which the NP resides.