urdu-text-utils 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +11 -1
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -278,7 +278,17 @@ For permanent URLs prefer `preserveUrdu: true` (percent-encoded but readable and
|
|
|
278
278
|
|
|
279
279
|
## Notes on scope
|
|
280
280
|
|
|
281
|
-
Every function is pure, synchronous and side-effect free. Nothing here does word segmentation of run-together text,
|
|
281
|
+
Every function is pure, synchronous and side-effect free. Nothing here does word segmentation of run-together text, POS tagging or spell correction; those need a lexicon and are out of scope for this version.
|
|
282
|
+
|
|
283
|
+
## Complementary libraries
|
|
284
|
+
|
|
285
|
+
Urdu tooling is a small ecosystem, and these independent projects cover parts of the pipeline this library deliberately does not:
|
|
286
|
+
|
|
287
|
+
- [UrduMagic](https://github.com/asad7coder/urdumagic) — offline, whole-site English ⇄ Urdu ⇄ Roman Urdu translation with RTL switching and SSR/Next.js helpers, powered by a 10,000+ entry dictionary.
|
|
288
|
+
- [Urduify](https://github.com/zohaibadnan137/urduify) — Roman Urdu ⇄ Urdu translator built on a 16,000-pair word dictionary.
|
|
289
|
+
- [Roman Urdu → Urdu Transliterator](https://github.com/spyhunk/romanUrdu2UrduTranslitration) — fast browser/API Roman-Urdu → Urdu conversion with longest-match matching (MIT).
|
|
290
|
+
|
|
291
|
+
urdu-text-utils owns the text-processing layer (normalization, search, sorting, numbers, dates); pair it with one of the above when you need whole-site translation, a broader lexicon, or Roman-Urdu → Urdu conversion tuned for real-time input.
|
|
282
292
|
|
|
283
293
|
## Development
|
|
284
294
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "urdu-text-utils",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Comprehensive Urdu NLP & text processing toolkit: normalization, Roman Urdu transliteration, stop words, script detection, digits, diacritics (aerab), sorting, search, and statistics. Zero dependencies, ESM + CJS.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"urdu",
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
"exports": {
|
|
62
62
|
".": {
|
|
63
63
|
"types": "./dist/index.d.ts",
|
|
64
|
-
"browser": "./dist/index.iife.js",
|
|
65
64
|
"import": "./dist/index.js",
|
|
66
65
|
"require": "./dist/index.cjs"
|
|
67
66
|
}
|