TypeScript/React library for Pashto inflection, verb conjugation, phrase generation, text conversion, and more
Go to file
adueck bbeb219b01 more work and tests 2023-04-12 18:36:27 -04:00
.github/workflows node 18 build issue 2023-03-07 15:50:03 +05:00
.vscode more work and tests 2023-04-12 18:36:27 -04:00
public update website 2022-10-24 13:19:01 +05:00
src more work and tests 2023-04-12 18:36:27 -04:00
vocab starting storybook 2023-03-07 15:16:24 +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 switch to GPLv3 license 2022-11-05 16:29:31 +05:00
README.md update README.md 2023-02-22 23:02:16 +05:00
get-words.js cleanup 2022-11-02 11:10:57 +05:00
netlify.toml cleanup -- 2022-10-09 11:11:39 +05:00
package-lock.json less redundancy using as const 2023-03-16 13:05:37 +05:00
package.json less redundancy using as const 2023-03-16 13:05:37 +05:00
tsconfig.json insanity with cjs not working trying again 2022-10-06 13:47:36 +05:00
yarn.lock starting storybook 2023-03-07 15:16:24 +05:00

README.md

pashto-inflector

License: GPL v3 Netlify Status build build

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

Pashto Inflector Website/Demo

This is published as two libraries:

  • @lingdocs/inflect
    • /src/components
    • 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
    • /src/lib
    • @lingdocs/inflect plus react components for displaying Pashto text, phrase engine UI etc.
    • Only available as an ES6 Module

@lingdocs/pashto-inflector is deprecated. Use @lingdocs/inflect or @lingdocs/ps-react instead.

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