siapa
Malay Name Parser: A simple script for parsing complex Malay names into their individual components.
Parses Malay names into 5 components:
- Title
- First name
- Middle names
- Last names
- Suffixes
Quick start
Install: npm install siapa
An example:
var siapa = ;var name = siapaconsole
Contributing
For linting and testing this project uses Grunt ~0.4.1
, but Grunt is not required to use this parser. Check out the Getting Started guide to learn more about Grunt.
git clone https://github.com/hariadi/siapa.git
cd siapa && npm install
grunt
Thank you.
Credit
Many of these name parser logic come from the following repos:
- Javascript version, by John Griffey
- Python version, by Derek Gulbranson
- PHP version, by G. Miernicki
Release History
- 2013-11-16 v0.1.2 Add more salutations test
- 2013-06-29 v0.1.1 Add test
- 2013-05-09 v0.1.0 First commit