GithubHelp home page GithubHelp logo

alexryakhin / american_name Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sabzo/american_name

0.0 0.0 0.0 173 KB

Society mostly likely expects you to, so Anglicize your name

Home Page: http://sabelo.io/projects/american_name

JavaScript 72.92% C 27.08%

american_name's Introduction

American Name

What’s in a name? In a racialized society it could mean access to financial loans, job interviews, favorable response in academia and greater earnings. One’s name can often be used as a proxy for race, and race is a problem that will continue to exist as long as white rage exists.

Americans and Immigrants to the United States are at times faced with forsaking their identities to fit into a society where whiteness is the dominant power structure. The need to accomodate whiteness may involve changing one’s speech/accent, dress, food and name. Those with foreign sounding names, often ‘non-white’, are expected to provide nicknames or shortened versions of their names as an attempt to integrate into society.

This app uses an Double Metaphone algorithm an English phonetic algorithm and Levenshtein Distance string comparison algorithm to transform a name into its nearest sounding English counterpart (as much as is possible). I'm using the U.S. Census' publicly available dataset of the top popular ~2000 names from 2008.

Install

  • compile: gcc main.c lib.c double_metaphone.c levenshtein.c -o an

Run

./an <name> <csv file where names are in first column> <sensitivity-score 0 being strongest> This outputs a list of similar names that are <= sensitivity (similarity) score.

Open Source Libraries

C version

Javsacript Version

american_name's People

Contributors

sabzo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.