Impossible, I can join a channel with the name Mary, but that doesn't mean my name is Mary or I'm a woman. You can make a script to detect common woman names (ex. Mary, Melissa) but that would be pointless since there's no way of telling the sex of a person by their nickname.