Skip to content

Commit 3340605

Browse files
First proposal for a finalized interlinear model (#25)
* First proposal for a finalized interlinear model * Adjusted JSDoc, made enums const * Add charStart and charEnd to Token in order to facilitate scriptio continua - Both are non-optional because computation is trivial and keeps our options open for user-defined token boundaries in whitespace languages if ever desired - Updated cspell * Remove entryIds from where it could cause problems * `status` field now required everywhere present, local gloss now mutually exclusive with gloss/sense from lexicon extension, clarify invariance requirement for tokenSnapshots * Convert enums to string literal unions - `enum` values are inlined by `tsc` at compile time. The Platform.Bible build pipeline uses SWC, which processes files in isolation and cannot inline `enum` values from `.d.ts` declarations. * Update docs to reflect new string literal union instead of enum, make it clear that we're working with UTF-16 offset units, define id scope used by flat analysis references, disambiguate morpheme-level alignment endpoints, prevent empty Phrase membership * Revert specification of offset characters as UTF-16 code units * Merge remote-tracking branch 'origin/main' into interlinear-model
1 parent 34252a7 commit 3340605

2 files changed

Lines changed: 878 additions & 1 deletion

File tree

cspell.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
"appdata",
1717
"asyncs",
1818
"autodocs",
19+
"BBCCCVVV",
20+
"Discontiguous",
1921
"dockbox",
22+
"eflomal",
2023
"electronmon",
2124
"endregion",
2225
"finalizer",
@@ -28,6 +31,7 @@
2831
"interlinearizer",
2932
"localstorage",
3033
"maximizable",
34+
"morphosyntactic",
3135
"networkable",
3236
"Newtonsoft",
3337
"nodebuffer",
@@ -42,20 +46,25 @@
4246
"proxied",
4347
"reinitializing",
4448
"reserialized",
49+
"scriptio",
4550
"sillsdev",
4651
"steenwyk",
4752
"stringifiable",
53+
"Struc",
4854
"Stylesheet",
4955
"typedefs",
56+
"unanalyzed",
5057
"unregistering",
5158
"unregisters",
59+
"unreviewed",
5260
"unsub",
5361
"unsubs",
5462
"unsubscriber",
5563
"unsubscribers",
5664
"usfm",
5765
"verseref",
58-
"versification"
66+
"versification",
67+
"Wordform"
5968
],
6069
"ignoreWords": [],
6170
"import": []

0 commit comments

Comments
 (0)