more
This commit is contained in:
parent
a85670a99f
commit
745a7333ba
|
@ -662,7 +662,6 @@ export const getForms = ({ conj, filterFunc, mode, subject, object, sentenceLeve
|
|||
return mode === "chart"
|
||||
? formsToUse
|
||||
: formMap(
|
||||
// TODO: somewhere in one of these the english conjugations are being stripped out for the past tense items
|
||||
formFilter(formsToUse, (f) => f.sentence),
|
||||
makeSentence,
|
||||
conj.info,
|
||||
|
|
|
@ -20,7 +20,7 @@ export function convertSpelling(input: string, spelling: T.Spelling): string {
|
|||
return input;
|
||||
}
|
||||
return input.replace(/ای(?![\u0621-\u065f\u0670-\u06d3\u06d5])/g, "ائ")
|
||||
.replace(/وی(?![\u0621-\u065f\u0670-\u06d3\u06d5])/g, "وئ")
|
||||
.replace(/وی(?![\u0621-\u065f\u0670-\u06d3\u06d5])/g, "وی")
|
||||
.replace(/ی(?![\u0621-\u065f\u0670-\u06d3\u06d5])/g, "ے")
|
||||
.replace(/ي(?![\u0621-\u065f\u0670-\u06d3\u06d5])/g, (spelling === "Pakistani ی")
|
||||
? "ی"
|
||||
|
|
Loading…
Reference in New Issue