find-hebrew-names
v0.0.2
Published
Extract Hebrew full names from text
Downloads
160
Readme
Find hebrew names
Extract Hebrew full names from text based on Israel Central Bureau of Statistics (CBS) name data.
Features
- Detects full names in Hebrew text
- Supports multiple first names (e.g., "משה יהושע כהן")
- Based on official Israeli names database
- Handles names with vav (ו) prefix
- TypeScript support
- Zero dependencies - lightweight and self-contained
Installation
npm install find-hebrew-names
Usage
import findHebrewFullNames from 'find-hebrew-names';
const text = 'אני הלכתי לבית הכנסת עם משה כהן ויהונתן לוי';
const names = findHebrewFullNames(text);
console.log(names); // ['משה כהן', 'יהונתן לוי']
Data source
All name data is sourced from the Israel Central Bureau of Statistics (CBS) database. The frequency and distribution of names reflect official Israeli population records.
Licensing
Code License
The code in this repository is licensed under the MIT License - see the LICENSE file for details.
Data License
The names data is sourced from the Israel Central Bureau of Statistics (CBS) and is subject to CBS end user license. see the LICENSE file for details.