fathah
Lightweight NLP preprocessing package for Arabic language
Installation
npm i fathah
Get Started
const fathah = require('fathah');
const text = 'السَّلَامُ عَلَيْكُمْ وَرَحْمَةُ الله وَبَرَكَاتُهُ';
fathah.removeDiacritics(text);
// السلام عليكم ورحمة الله وبركاته