Look in src/randomportraits/portrait.gd . The portrait_races array gives a list of races it knows about. Within the init function it compiles a list of text strings for attributes.
If you're still having issues you can try setting debug=true in src/randomportraits/settings.gd and it should output more info about what it's parsing.