oops
This commit is contained in:
parent
62e5e47080
commit
cde62f20db
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/pashto-inflector",
|
||||
"version": "1.3.3",
|
||||
"version": "1.3.4",
|
||||
"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",
|
||||
|
|
|
@ -17,7 +17,7 @@ export function getEnglishWord(entry: T.DictionaryEntry): {
|
|||
const isAdv = entry.c.includes("adv.");
|
||||
if (!isNoun && !isAdj && !isAdv) return undefined;
|
||||
const base = entry.e.split(",")[0].split(";")[0].split("(")[0].trim();
|
||||
if (isAdj && !isNoun) {
|
||||
if ((isAdj || isAdv) && !isNoun) {
|
||||
return base;
|
||||
}
|
||||
if (entry.ec && entry.ep) {
|
||||
|
|
Loading…
Reference in New Issue