rewrite proper nouns search