12.6. A programming task

Get a list of male and female names from these files.

Draw a plot of first letters against name frequency for male and female names. A similar plot for last letters is shown below.

Letter frequencies and name gender

Last letter frequencies for male and female names

12.6.1. Source

From NLTK book