search_no_noun_head: Code to replace ad-hoc headword line with proper template