Skip to content

This is an artificial intelligence model to predict gender by name, if you know a way to improve the model send me a message

Notifications You must be signed in to change notification settings

Crisfon6/cf6Gender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cf6Gender

This is an artificial intelligence model to predict gender by name, if you know a way to improve the model send me a message

Example:

  "cristhian" -> male
  "maria claudia" -> female

How use

clone repo

  git clone https://github.com/Crisfon6/cf6Gender.git

create virtual enviroment

  virtualenv env  

activate your virtual enviroment

Mac/linux:

  source env/bin/activate

Windows:

 .\test\Scripts\activate

install requirements

pip3 install -r requirements.txt

create _init_.py

this for import Cf6Gender

touch __init__.py

OK let's try it

from Cf6Gender import get_gender

print (get_gender ('cristhian'))

output:

>>> male

References:

https://github.com/ksdkamesh99/Ling-Gender

About

This is an artificial intelligence model to predict gender by name, if you know a way to improve the model send me a message

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published