Steven Haryanto > Locale-ID-GuessGender-FromFirstName-0.04 > Locale::ID::GuessGender::FromFirstName::common

Download:
Locale-ID-GuessGender-FromFirstName-0.04.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.04   Source  

NAME ^

Locale::ID::GuessGender::FromFirstName::common - common

VERSION ^

version 0.04

FUNCTIONS ^

guess_gender([OPTS, ]FIRSTNAME...) => RES, ...

Guess the gender of given first name(s). An optional hashref OPTS can be given as the first argument. Valid pair for OPTS:

Will return a result hashref RES for each given input. Known pair of RES:

success => BOOL

Whether the algorithm succeeds. If the name is not found in the list, will return 0.

result => "M" or "F" or "both" or "neither" or undef.
gender_ratio => FRACTION
min_gender_ratio => FRACTION
guess_confidence => FRACTION
sample_ratio => INT

AUTHOR ^

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: