Text this: Head-driven gender assignment in noun-noun compound recognition