This commit is contained in:
lingdocs 2021-07-04 21:55:43 +03:00
parent 588b22ee1b
commit 34cadd4515
3 changed files with 26 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/pashto-inflector", "name": "@lingdocs/pashto-inflector",
"version": "0.5.0", "version": "0.5.1",
"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",

View File

@ -1,7 +1,30 @@
import * as T from "../types"; import * as T from "../types";
export const dictionaryEntryTextFields: T.DictionaryEntryTextField[] = [ export const dictionaryEntryTextFields: T.DictionaryEntryTextField[] = [
"p", "f", "e", "c", "infap", "infaf", "infbp", "infbf", "app", "apf", "ppp", "ppf", "psp", "psf", "ssp", "ssf", "prp", "prf", "pprtp", "pprtf", "tppp", "tppf", "ec", "p",
"f",
"e",
"c",
"infap",
"infaf",
"infbp",
"infbf",
"app",
"apf",
"ppp",
"ppf",
"psp",
"psf",
"ssp",
"ssf",
"prp",
"prf",
"pprtp",
"pprtf",
"tppp",
"tppf",
"ec",
"ep",
]; ];
export const dictionaryEntryBooleanFields: T.DictionaryEntryBooleanField[] = [ export const dictionaryEntryBooleanFields: T.DictionaryEntryBooleanField[] = [
"noInf", "shortIntrans", "noOo", "sepOo", "diacExcept", "noInf", "shortIntrans", "noOo", "sepOo", "diacExcept",

View File

@ -18,7 +18,7 @@ const sampleDictionaryInfo: T.DictionaryInfo = {
const sampleDictionary: T.Dictionary = { const sampleDictionary: T.Dictionary = {
info: sampleDictionaryInfo, info: sampleDictionaryInfo,
entries: [ entries: [
{"i":616,"ts":1527813108,"p":"اظهار","f":"izháar","g":"izhaar","e":"expression, statement, declaration","c":"n. m."}, {"i":616,"ts":1527813108,"p":"اظهار","f":"izháar","g":"izhaar","e":"expression, statement, declaration","c":"n. m.","ec":"cool"},
], ],
} }