@finbheara/domain 0.19.0 → 0.21.0
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.
|
@@ -7893,7 +7893,11 @@ function createPlaceReader2(options = {}) {
|
|
|
7893
7893
|
return;
|
|
7894
7894
|
if (n - 1 > 0 && (qualified(before[n - 1]) || !qualified(before[n - 2])))
|
|
7895
7895
|
return;
|
|
7896
|
-
|
|
7896
|
+
const alone = qualifierAlone(prev.heads, r.heads);
|
|
7897
|
+
const run = alone === undefined ? undefined : runInside(parts[n - 1].space, alone.filter((q) => q.kind === "subdivision"));
|
|
7898
|
+
if (run !== undefined)
|
|
7899
|
+
return [run];
|
|
7900
|
+
return alone ?? (prev.truncated || before[n] !== "comma" || listed(before[n + 1]) ? undefined : townInCounty(prev.heads, r.heads));
|
|
7897
7901
|
});
|
|
7898
7902
|
settled.forEach((heads, n) => {
|
|
7899
7903
|
if (heads === undefined)
|
package/dist/place.js
CHANGED
package/dist/school.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
areAllPlaceTokens2,
|
|
13
13
|
placeRelation2,
|
|
14
14
|
sameReading2
|
|
15
|
-
} from "./chunks/place-
|
|
15
|
+
} from "./chunks/place-s3gefhzm.js";
|
|
16
16
|
import {
|
|
17
17
|
validity
|
|
18
18
|
} from "./chunks/place-q9kwsmzd.js";
|
|
@@ -792,6 +792,18 @@ var SCHOOL_INSTITUTION_VOCABULARY = new Map([
|
|
|
792
792
|
matchKey: false
|
|
793
793
|
}
|
|
794
794
|
],
|
|
795
|
+
[
|
|
796
|
+
"s d",
|
|
797
|
+
{
|
|
798
|
+
canonical: "school",
|
|
799
|
+
label: "School",
|
|
800
|
+
kind: "phrase",
|
|
801
|
+
position: "suffix",
|
|
802
|
+
truncatable: false,
|
|
803
|
+
glued: false,
|
|
804
|
+
matchKey: false
|
|
805
|
+
}
|
|
806
|
+
],
|
|
795
807
|
[
|
|
796
808
|
"ecole",
|
|
797
809
|
{
|
package/package.json
CHANGED