@fpw/en-wiktionary-la-modules 0.1.3 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,6 +25,7 @@ export interface ConjOptions {
25
25
  suppressUndVariants?: boolean;
26
26
  suppressIPerfect?: boolean;
27
27
  suppressPoet?: boolean;
28
+ suppressArchaic?: boolean;
28
29
  ireWithShortPerfInf?: boolean;
29
30
  reorderEdere?: boolean;
30
31
  }
@@ -266,7 +266,7 @@ class LaVerb {
266
266
  }
267
267
  this.make_pres_3rd(data, typeinfo, typeinfo.pres_stem);
268
268
  this.make_perf_and_supine(data, typeinfo);
269
- if (typeinfo.pres_stem.match(/nōsc/)) {
269
+ if (typeinfo.pres_stem.match(/nōsc/) && !this.options.suppressArchaic) {
270
270
  const sub = (str, x, y) => {
271
271
  return str.substring(x - 1, str.length + y + 1);
272
272
  };
@@ -369,7 +369,6 @@ class LaVerb {
369
369
  this.make_pres_4th(data, typeinfo, typeinfo.pres_stem);
370
370
  this.make_perf_and_supine(data, typeinfo);
371
371
  if (!this.options.suppressPoet) {
372
- // guard added by @fpw
373
372
  if (this.form_contains((0, VerbForm_1.getVerbForm)(data.forms, "1s_pres_actv_indc"), "serviō") || this.form_contains((0, VerbForm_1.getVerbForm)(data.forms, "1s_pres_actv_indc"), "saeviō")) {
374
373
  this.add_forms(data, "impf_actv_indc", typeinfo.pres_stem, ["iēbam", "ībam"], ["iēbās", "ībās"], ["iēbat", "ībat"], ["iēbāmus", "ībāmus"], ["iēbātis", "ībātis"], ["iēbant", "ībant"]);
375
374
  this.add_forms(data, "futr_actv_indc", typeinfo.pres_stem, ["iam", "ībō"], ["iēs", "ībis"], ["iet", "ībit"], ["iēmus", "ībimus"], ["iētis", "ībitis"], ["ient", "ībunt"]);
@@ -1852,7 +1851,7 @@ class LaVerb {
1852
1851
  this.make_perf(data, [prefix + "dīx"]);
1853
1852
  this.make_supine(data, typeinfo, [prefix + "dict"]);
1854
1853
  this.add_form(data, "2s_pres_actv_impr", prefix, "dīc", 1);
1855
- if (!this.options.suppressPoet) {
1854
+ if (!this.options.suppressArchaic) {
1856
1855
  this.add_form(data, "2s_pres_actv_impr", prefix, "dīc", 1);
1857
1856
  data.footnotes.set("2s_pres_actv_impr", ["Archaic."]);
1858
1857
  if (prefix == "") {
@@ -1997,7 +1996,7 @@ class LaVerb {
1997
1996
  prefix_supine = prefix_supine || prefix_pres;
1998
1997
  this.make_pres_3rd(data, typeinfo, prefix_pres + "fer");
1999
1998
  if (!prefix_perf) {
2000
- if (this.options.suppressPoet) {
1999
+ if (this.options.suppressArchaic) {
2001
2000
  // added by @fpw
2002
2001
  this.make_perf(data, ["tul"]);
2003
2002
  }
@@ -2205,7 +2204,7 @@ class LaVerb {
2205
2204
  (0, VerbForm_1.setVerbForm)(data.forms, "1p_pres_actv_subj", [prefix_s + "sīmus"]);
2206
2205
  (0, VerbForm_1.setVerbForm)(data.forms, "2p_pres_actv_subj", [prefix_s + "sītis"]);
2207
2206
  (0, VerbForm_1.setVerbForm)(data.forms, "3p_pres_actv_subj", [prefix_s + "sint"]);
2208
- if (prefix_s == "ad" && !this.options.suppressPoet) {
2207
+ if (prefix_s == "ad" && !this.options.suppressArchaic) {
2209
2208
  this.add_form(data, "3p_pres_actv_subj", "", "adessint", 2);
2210
2209
  data.footnotes.set("3p_pres_actv_subj", ["Archaic."]);
2211
2210
  }