TypeScript/React library for Pashto inflection, verb conjugation, phrase generation, text conversion, and more
Go to file
adueck 8879a11286 rr 2022-10-09 15:17:34 +05:00
.github/workflows why not logged in to npm? 2022-10-09 15:14:15 +05:00
public ability to avoid using tails on the roots and stems display 2022-07-27 13:36:12 -05:00
src rr 2022-10-09 15:17:34 +05:00
vocab trying new format with two seperate npm packages 2022-10-08 21:50:46 +05:00
.gitignore fix 2022-10-09 10:58:28 +05:00
.npmrc bump 2021-03-16 11:58:53 +04:00
.nvmrc add nvmrc 2022-10-09 11:02:14 +05:00
LICENSE initial commit 2021-03-09 16:39:13 +04:00
README.md oops on publish ci 2022-10-09 15:07:21 +05:00
get-words.js fix 2022-10-09 10:58:28 +05:00
netlify.toml cleanup -- 2022-10-09 11:11:39 +05:00
package-lock.json rr 2022-10-09 15:17:34 +05:00
package.json rr 2022-10-09 15:17:34 +05:00
tsconfig.json insanity with cjs not working trying again 2022-10-06 13:47:36 +05:00
yarn.lock fix 2022-10-09 10:58:28 +05:00

README.md

pashto-inflector

Netlify Status build build

A pashto inflection and verb conjugation engine, as well as functions and components for modifying and displaying Pashto text.

Also includes the Pashto Verb Explorer website.

This library is published as two libraries:

  • @lingdocs/inflect
    • The core inflection engine with grammatical information and tools for processing LingDocs dictionary entries and Pashto text.
    • Can be used with Node 16, as CommonJS
  • @lingdocs/ps-react
    • @lingdocs/inflect plus react components for displaying Pashto text, phrase engine UI etc.
    • Only available as an ES6 Module

@lingdocs/pashto-inflector

Development

The Pashto Verb Explorer website can be used to view and play with the verb conjugations and various components.

yarn install
yarn start

Building

⚠ Don't use yarn build. Use one of the commands below: ⚠

Website

To build the Pashto Verb Explorer website:

yarn build-website

This outputs a site at /build

Libraries

To build the @lingdocs/inflet and @lingdocs/ps-react libraries ready for publishing to NPM:

yarn build-library