Giter Club home page Giter Club logo

alias-generator's People

Contributors

liliakai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

alias-generator's Issues

generate locale-specific variants

Take a optional argument for locale and use this to influence the types of variants returned, such as culturally specific name-order conventions, and alternative transliterations.

getAliases("Hayao Miyazaki", "jp") => [ ... , "Miyazaki Hayao",  ...]
getAliases("Екатерина Александровна Гордеева", "ru") => [... "Ekaterina Alexandrovna Gordeeva",  ...]

Create test suite

There's just a basic smoke test at time of writing, but we should have a proper test suite with lots of different examples.

Check for single-name submissions

Tailor name proposals according to the submissions in singular form:

image

  • Add spaces to names only when more than one name is present
  • Add commas to last-name, first-name only where applicable
  • Consider omitting the single-letter candidates where a single name is given

I realize this hits an edge-case that goes against best practice (fully qualify the name where possible). However, there are likely valid use-cases where only one name is known.

Different spellings of common names

Currently, alias generator does not predict common spellings. For example:
Josef / Joseph
Philipp / Phillip / Philip

Especially in multilingual contexts, it is common for one person to use multiple such variants.

German-Czech variants

I don't know much about this topic, but Bohemian people historically used both German and Czech variants of their names. These are currently not predicted by the name variant search tool.

One example is:
Dora Rudolfine Richter, also known as Dora Rudolfa Richterová

Improve results for people with many first names

From social media feedback: "I have three first names, the third one is my primary day to day one (not uncommon for swedes). But combinations generated only care about my first first name. "

Propose expanded candidate name forms

Propose expanded-form candidate names where short versions are submitted:

image

Both mike and mikey should receive (optional) proposal michael in the generated candidate list.

German nicknames

alias generator fails to predict common German nicknames, such as:
AntonToni
JosefSepp
JohannesHans

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.