UNPKG

@rekhtya/pashto-lexica

Version:

Rekhtya - PashtoLexica is an NPM package that processes Pashto text from .txt files using Google's Generative Language API (Gemini). It detects the script type (Roman Pashto or Literal Pashto), segments text, extracts word details, translates/transliterat

35 lines (34 loc) 1.06 kB
{ "name": "@rekhtya/pashto-lexica", "version": "1.0.3", "description": "Rekhtya - PashtoLexica is an NPM package that processes Pashto text from .txt files using Google's Generative Language API (Gemini). It detects the script type (Roman Pashto or Literal Pashto), segments text, extracts word details, translates/transliterates between scripts, and returns a structured JSON output.", "main": "pashtoGenerative.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/zaasfand/pashto-lexica.git" }, "keywords": [ "pashto", "lexica", "rektyaa", "generative-ai", "text-generation", "nlp", "pashto-dictionary", "pashto-lexical" ], "author": "", "license": "ISC", "bugs": { "url": "https://github.com/zaasfand/pashto-lexica/issues" }, "homepage": "https://github.com/zaasfand/pashto-lexica#readme", "dependencies": { "@google/generative-ai": "^0.21.0", "axios": "^1.7.9" }, "private": false }