How to determine noun phrase in a sentence? Example.  The greedy king's daughter turned into gold