You can run the program by
python mygender.py 6 firstLetterCheck lastLetterCheck countLettersCheck lengthCheck vowelsCheck
6 is a threshold value(. It can be changed. Following is a feature list which is required to choose the basis of prediction. min 1 is required.