How does a computer 'see' gender?