Unless you are referring to an individual person whose gender you know, or if gender is otherwise relevant to your message, it is advisable to use gender-neutral language to eliminate bias in your text. Additionally, many gender-specific terms are beginning to fall into disuse and may make your text seem out-of-date. The gender neutrality filter includes two categories of detection.
This includes nouns for gender-specific job titles, such as policeman above, as well as words that exclude a gender when referring to a group that may be (or certainly is) mixed-gender, such as wives or mankind. In the vast majority of cases, these nouns can easily be substituted for gender-neutral equivalents, such as police officer, spouses and humanity.
Gender-specific pronouns and their associated determiners, such as he or his, are obviously suitable when referring to an individual whose gender is known, or when their gender is otherwise relevant. In other cases, consider using gender-neutral pronouns such as they and their.