alias-generator
alias-generator copied to clipboard
Node module to generate likely aliases for a given human name
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...
Probably as a separate feature/function: ``` getUsernames("John Doe") => [ j.doe, jdoe, doejohn ] ```
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...
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...
alias generator fails to predict common German nicknames, such as: `Anton` → `Toni` `Josef` → `Sepp` `Johannes` → `Hans`
Propose expanded-form candidate names where short versions are submitted:  Both `mike` and `mikey` should receive (optional) proposal `michael` in the generated candidate list.
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") =>...
For example, a search for "Qasim Suleymany" should return: - Qasem Soleimani - Qassem Soleimani - Qasim Sulemani - etc.