combineIntoText exposed

This commit is contained in:
adueck 2023-07-27 21:39:06 +04:00
parent 6128dfa1d3
commit 742a1acf61
6 changed files with 202 additions and 240 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "pashto-inflector",
"version": "6.0.1",
"version": "6.0.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "pashto-inflector",
"version": "6.0.1",
"version": "6.0.2",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "pashto-inflector",
"version": "6.0.1",
"version": "6.0.2",
"author": "lingdocs.com",
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
"homepage": "https://verbs.lingdocs.com",

View File

@ -1,12 +1,12 @@
{
"name": "@lingdocs/ps-react",
"version": "6.0.1",
"version": "6.0.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@lingdocs/ps-react",
"version": "6.0.1",
"version": "6.0.2",
"license": "MIT",
"dependencies": {
"@formkit/auto-animate": "^1.0.0-beta.3",

View File

@ -1,6 +1,6 @@
{
"name": "@lingdocs/ps-react",
"version": "6.0.1",
"version": "6.0.2",
"description": "Pashto inflector library module with React components",
"main": "dist/components/library.js",
"module": "dist/components/library.js",

View File

@ -6,12 +6,8 @@
*
*/
import {
conjugateVerb,
} from "./src/verb-conjugation";
import {
inflectWord,
} from "./src/pashto-inflector";
import { conjugateVerb } from "./src/verb-conjugation";
import { inflectWord } from "./src/pashto-inflector";
import {
getVerbInfo,
getPassiveRootsAndStems,
@ -20,13 +16,9 @@ import {
import { makeVPSelectionState } from "./src/phrase-building/verb-selection";
import { vpsReducer } from "./src/phrase-building/vps-reducer";
import { isPastTense } from "./src/phrase-building/vp-tools";
import {
getInflectionPattern,
} from "./src/inflection-pattern";
import {
makePsString,
removeFVarients,
} from "./src/accent-and-ps-utils";
import { getInflectionPattern } from "./src/inflection-pattern";
import { makePsString, removeFVarients } from "./src/accent-and-ps-utils";
import {
addToForm,
concatPsString,
@ -46,12 +38,8 @@ import {
getLength,
psStringEquals,
} from "./src/p-text-helpers";
import {
joiningTails,
} from "./src/misc-text";
import {
getEnglishWord,
} from "./src/get-english-word";
import { joiningTails } from "./src/misc-text";
import { getEnglishWord } from "./src/get-english-word";
import {
standardizePashto,
standardizePhonetics,
@ -67,28 +55,20 @@ import {
getEnglishFromRendered,
getPashtoFromRendered,
} from "./src/phrase-building/np-tools"; // TODO should be one np-tools file?
import {
convertSpelling,
revertSpelling,
} from "./src/convert-spelling";
import { convertSpelling, revertSpelling } from "./src/convert-spelling";
import {
dictionaryEntryBooleanFields,
dictionaryEntryNumberFields,
dictionaryEntryTextFields,
} from "../types";
import {
validateEntry,
standardizeEntry,
} from "./src/validate-entry";
import { validateEntry, standardizeEntry } from "./src/validate-entry";
import {
readDictionary,
writeDictionary,
readDictionaryInfo,
writeDictionaryInfo,
} from "./src/protobuf";
import {
pashtoConsonants,
} from "./src/pashto-consonants";
import { pashtoConsonants } from "./src/pashto-consonants";
import {
isNounAdjOrVerb,
getEnglishPersonInfo,
@ -110,15 +90,9 @@ import {
ensureNonComboVerbInfo,
entryOfFull,
} from "./src/misc-helpers";
import {
simplifyPhonetics,
} from "./src/simplify-phonetics";
import {
translatePhonetics,
} from "./src/translate-phonetics";
import {
addDiacritics,
} from "./src/diacritics";
import { simplifyPhonetics } from "./src/simplify-phonetics";
import { translatePhonetics } from "./src/translate-phonetics";
import { addDiacritics } from "./src/diacritics";
import {
removeAccents,
hasAccents,
@ -132,36 +106,23 @@ import {
makeLocativeAdverbSelection,
makeParticipleSelection,
} from "./src/phrase-building/make-selections";
import {
renderEP,
} from "./src/phrase-building/render-ep";
import {
renderVP,
} from "./src/phrase-building/render-vp";
import {
renderNPSelection,
} from "./src/phrase-building/render-np";
import { renderEP } from "./src/phrase-building/render-ep";
import { renderVP } from "./src/phrase-building/render-vp";
import { renderNPSelection } from "./src/phrase-building/render-np";
import {
compileEP,
compileVP,
flattenLengths,
combineIntoText,
} from "./src/phrase-building/compile";
import {
isPashtoScript,
} from "./src/is-pashto";
import {
renderAPSelection,
} from "./src/phrase-building/render-ap";
import {
renderSandwich,
} from "./src/phrase-building/render-sandwich";
import { isPashtoScript } from "./src/is-pashto";
import { renderAPSelection } from "./src/phrase-building/render-ap";
import { renderSandwich } from "./src/phrase-building/render-sandwich";
import {
humanReadableVerbForm,
humanReadableEquativeTense,
} from "./src/human-readable";
import {
splitPsString,
} from "./src/splitPsString";
import { splitPsString } from "./src/splitPsString";
import shuffleArray from "./src/shuffle-array";
import defaultTextOptions from "./src/default-text-options";
import * as grammarUnits from "./src/grammar-units";
@ -252,6 +213,7 @@ export {
makeVPSelectionState,
getLength,
psStringEquals,
combineIntoText,
joiningTails,
blockUtils,
blank,
@ -274,4 +236,4 @@ export {
dictionaryEntryBooleanFields,
// TYPES
Types,
}
};

View File

@ -1,6 +1,6 @@
{
"name": "@lingdocs/inflect",
"version": "6.0.1",
"version": "6.0.2",
"description": "Pashto inflector library",
"main": "dist/index.js",
"types": "dist/lib/library.d.ts",