The following phrase tree from phrase on Wikipedia has "house at the end on the street" as a noun phrase on the constituency side:
Why wouldn't "The house" be a noun phrase in the same way as "the street" is? The only type of word that can go before "house" is a determiner such as "a", "the", "my", "that", etc., so I don't understand this structure.
Why is it "NP[D[the] NP[house at the end of the street]]" and not "NP[NP[the house] PP[at the end of the street]]"?
Is it a mistake? If it's correct, would someone explain it?
I've found another diagram that makes more sense to me:
This shows "NP[the dress on the rack]" as "NP[NP[the dress] PP[on the rack]]", not "NP[D[the] NP[dress on the rack]]".
Are both analyses correct in different circumstances? Is only one of them correct? Why?