RAA - hispanic_origin

hispanic_origin / 0.0.9

Short description: Hispanic origin test for family names
Category: Library/Linguistics
Status: stable
Created: 2007-02-21 03:59:44 GMT
Last update: 2008-10-17 12:36:46 GMT
Owner: Jordi Bunster (Projects of this owner)
Homepage: http://bunster.org/code/hispanic_origin/hispanic_origin.html
Download: http://bunster.org/code/hispanic_origin/hispanic_origin.rb.txt
License: PublicDomain
Dependency:
None
Description:

A simple Ruby implementation of the process described in the U.S. Census Bureau's Technical Working Paper No. 13, "Building a Spanish Surname List for the 1990's—A New Approach to An Old Problem" (7.1.3, Orthographic Structure of Surnames).

Context is key to good results: use this on a list of Italian or Portuguese family names, and you'll get mostly false positives. Use on a population you know to be mostly of hispanic and non-latin family names, and you'll get a pretty good guess.

Usage:

load 'hispanic_origin.rb'

'Delgado'.hispanic? => true
'Cottman'.hispanic? => false

Edit this project (for project owner)

back to RAA top