oops fixed future equative in equative machine - will be deprecated

This commit is contained in:
lingdocs 2022-04-06 17:47:52 +05:00
parent 8cb5652a6c
commit b9cab6efa4
3 changed files with 5 additions and 3 deletions

View File

@ -25,7 +25,7 @@ import {
} from "@lingdocs/pashto-inflector"; } from "@lingdocs/pashto-inflector";
import shuffle from "../../lib/shuffle-array"; import shuffle from "../../lib/shuffle-array";
import Carousel from "../../components/Carousel"; import Carousel from "../../components/Carousel";
import { verbs } from "../../words/words"; import { verbs as verbsRaw } from "../../words/words";
import Link from "../../components/Link"; import Link from "../../components/Link";
import verbTreeBase from "./verb-tree-base.svg"; import verbTreeBase from "./verb-tree-base.svg";
import verbTreePastPresent from "./verb-tree-past-present.svg"; import verbTreePastPresent from "./verb-tree-past-present.svg";
@ -33,6 +33,8 @@ import verbTreeImperfectivePerfective from "./verb-tree-imperfective-perfective.
export const opts = defaultTextOptions; export const opts = defaultTextOptions;
export const verbs = verbsRaw.filter(v => !v.c?.includes("comp."));
export function InfoCarousel({ items, highlighted, hidePastParticiple }) { export function InfoCarousel({ items, highlighted, hidePastParticiple }) {
return ( return (
<Carousel items={shuffle(items)} render={(item) => { <Carousel items={shuffle(items)} render={(item) => {

View File

@ -79,7 +79,7 @@ function makeEquative(e: EquativeClause) {
: [t[row][col]]; : [t[row][col]];
} }
const baseTense = (e.tense === "future") const baseTense = (e.tense === "future")
? "subjunctive" ? "habitual"
: e.tense === "wouldBe" : e.tense === "wouldBe"
? "past" ? "past"
: e.tense; : e.tense;

File diff suppressed because one or more lines are too long