expose renderSandwich
This commit is contained in:
parent
ea5196c803
commit
db458f291c
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "pashto-inflector",
|
"name": "pashto-inflector",
|
||||||
"version": "5.3.3",
|
"version": "5.3.4",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "pashto-inflector",
|
"name": "pashto-inflector",
|
||||||
"version": "5.3.3",
|
"version": "5.3.4",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "pashto-inflector",
|
"name": "pashto-inflector",
|
||||||
"version": "5.3.3",
|
"version": "5.3.4",
|
||||||
"author": "lingdocs.com",
|
"author": "lingdocs.com",
|
||||||
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
||||||
"homepage": "https://verbs.lingdocs.com",
|
"homepage": "https://verbs.lingdocs.com",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/ps-react",
|
"name": "@lingdocs/ps-react",
|
||||||
"version": "5.3.3",
|
"version": "5.3.4",
|
||||||
"description": "Pashto inflector library module with React components",
|
"description": "Pashto inflector library module with React components",
|
||||||
"main": "dist/components/library.js",
|
"main": "dist/components/library.js",
|
||||||
"module": "dist/components/library.js",
|
"module": "dist/components/library.js",
|
||||||
|
|
|
@ -149,6 +149,9 @@ import {
|
||||||
import {
|
import {
|
||||||
renderAPSelection,
|
renderAPSelection,
|
||||||
} from "./src/phrase-building/render-ap";
|
} from "./src/phrase-building/render-ap";
|
||||||
|
import {
|
||||||
|
renderSandwich,
|
||||||
|
} from "./src/phrase-building/render-sandwich";
|
||||||
import {
|
import {
|
||||||
humanReadableVerbForm,
|
humanReadableVerbForm,
|
||||||
humanReadableEquativeTense,
|
humanReadableEquativeTense,
|
||||||
|
@ -219,6 +222,7 @@ export {
|
||||||
makeLocativeAdverbSelection,
|
makeLocativeAdverbSelection,
|
||||||
makeParticipleSelection,
|
makeParticipleSelection,
|
||||||
randFromArray,
|
randFromArray,
|
||||||
|
renderSandwich,
|
||||||
renderEP,
|
renderEP,
|
||||||
renderVP,
|
renderVP,
|
||||||
compileEP,
|
compileEP,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/inflect",
|
"name": "@lingdocs/inflect",
|
||||||
"version": "5.3.3",
|
"version": "5.3.4",
|
||||||
"description": "Pashto inflector library",
|
"description": "Pashto inflector library",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/lib/library.d.ts",
|
"types": "dist/lib/library.d.ts",
|
||||||
|
|
|
@ -30,7 +30,6 @@ import {
|
||||||
kidsBlank,
|
kidsBlank,
|
||||||
} from "../misc-helpers";
|
} from "../misc-helpers";
|
||||||
|
|
||||||
|
|
||||||
type BlankoutOptions = {
|
type BlankoutOptions = {
|
||||||
equative?: boolean,
|
equative?: boolean,
|
||||||
ba?: boolean,
|
ba?: boolean,
|
||||||
|
|
|
@ -38,12 +38,6 @@ export const sandwiches: T.Sandwich[] = [
|
||||||
after: { p: "لپاره", f: "lapaara" },
|
after: { p: "لپاره", f: "lapaara" },
|
||||||
e: "for",
|
e: "for",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
type: "sandwich",
|
|
||||||
before: { p: "د", f: "du" },
|
|
||||||
after: { p: "دپاره", f: "dupáara" },
|
|
||||||
e: "for",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
type: "sandwich",
|
type: "sandwich",
|
||||||
before: { p: "د", f: "du" },
|
before: { p: "د", f: "du" },
|
||||||
|
|
Loading…
Reference in New Issue