Modelling a page

The MSPage type models the information needed to analyze page layout. The following series of functions exposing that information are mostly self explanatory. (See the API documentation for further details.)

pageurn(pg)
urn:cite2:hmt:msA.v1:112r
rv(pg)
:recto
imageurn(pg)
urn:cite2:hmt:vaimg.2017a:VA112RN_0284
iliadrange(pg)
urn:cts:greekLit:tlg0012.tlg001.msA:9.21-9.10
iliadlines(pg)
25-element Vector{CitableText.CtsUrn}:
 urn:cts:greekLit:tlg0012.tlg001.msA:9.21
 urn:cts:greekLit:tlg0012.tlg001.msA:9.16
 urn:cts:greekLit:tlg0012.tlg001.msA:9.28
 urn:cts:greekLit:tlg0012.tlg001.msA:9.22
 urn:cts:greekLit:tlg0012.tlg001.msA:9.27
 urn:cts:greekLit:tlg0012.tlg001.msA:9.15
 urn:cts:greekLit:tlg0012.tlg001.msA:9.19
 urn:cts:greekLit:tlg0012.tlg001.msA:9.20
 urn:cts:greekLit:tlg0012.tlg001.msA:9.14
 urn:cts:greekLit:tlg0012.tlg001.msA:9.32
 ⋮
 urn:cts:greekLit:tlg0012.tlg001.msA:9.13
 urn:cts:greekLit:tlg0012.tlg001.msA:9.25
 urn:cts:greekLit:tlg0012.tlg001.msA:9.34
 urn:cts:greekLit:tlg0012.tlg001.msA:9.12
 urn:cts:greekLit:tlg0012.tlg001.msA:9.24
 urn:cts:greekLit:tlg0012.tlg001.msA:9.31
 urn:cts:greekLit:tlg0012.tlg001.msA:9.11
 urn:cts:greekLit:tlg0012.tlg001.msA:9.17
 urn:cts:greekLit:tlg0012.tlg001.msA:9.10
page_bbox_roi(pg)
(left = 0.061, top = 0.05, right = 0.921, bottom = 0.926)
iliad_bbox_roi(pg)
(left = 0.185, top = 0.225, right = 0.666, bottom = 0.716)

Text pairs

The MSPage object also includes a vector of MiseEnPage.ScholionIliadPairs. This type documents the relations of a scholion to an Iliad passage. The API documentation includes functions used internally to work with this structure.

textpairs(pg)
30-element Vector{MiseEnPage.ScholionIliadPair}:
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msA.hmt:9.26, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1936,0.1127,0.6378,0.04025, urn:cts:greekLit:tlg0012.tlg001.msA:9.14, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1922,0.3073,0.4224,0.0233, 9)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msA.hmt:9.27, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.2006,0.1353,0.6279,0.03154, urn:cts:greekLit:tlg0012.tlg001.msA:9.14, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1922,0.3073,0.4224,0.0233, 9)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msA.hmt:9.28, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1945,0.1466,0.6450,0.04302, urn:cts:greekLit:tlg0012.tlg001.msA:9.15, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1912,0.3253,0.4414,0.024, 6)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msA.hmt:9.29, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.2003,0.1716,0.6306,0.04454, urn:cts:greekLit:tlg0012.tlg001.msA:9.16, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1852,0.3449,0.4535,0.0225, 2)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msA.hmt:9.30, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.3353,0.1914,0.5094,0.1008, urn:cts:greekLit:tlg0012.tlg001.msA:9.17, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1982,0.3636,0.4034,0.0248, 24)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msA.hmt:9.31, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.609,0.2825,0.2323,0.0478, urn:cts:greekLit:tlg0012.tlg001.msA:9.18, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1952,0.3824,0.4354,0.0255, 15)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msA.hmt:9.32, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.6120,0.3263,0.2194,0.07400, urn:cts:greekLit:tlg0012.tlg001.msA:9.19, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1912,0.4027,0.4414,0.0225, 7)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msA.hmt:9.33, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.6178,0.3939,0.2154,0.0931, urn:cts:greekLit:tlg0012.tlg001.msA:9.23, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1932,0.4763,0.4284,0.0255, 11)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msA.hmt:9.34, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1761,0.7188,0.6535,0.06072, urn:cts:greekLit:tlg0012.tlg001.msA:9.29, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1942,0.595,0.4725,0.0248, 13)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msA.hmt:9.35, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1652,0.7525,0.6703,0.0532, urn:cts:greekLit:tlg0012.tlg001.msA:9.29, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1942,0.595,0.4725,0.0248, 13)
 ⋮
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msAil.hmt:9.46, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.2445,0.2437,0.0936,0.0103, urn:cts:greekLit:tlg0012.tlg001.msA:9.11, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1982,0.2472,0.4134,0.027, 23)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msAil.hmt:9.47, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.3604,0.2842,0.0638,0.0132, urn:cts:greekLit:tlg0012.tlg001.msA:9.13, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1962,0.287,0.4084,0.0233, 17)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msAil.hmt:9.48, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.4685,0.3244,0.035,0.0105, urn:cts:greekLit:tlg0012.tlg001.msA:9.15, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1912,0.3253,0.4414,0.024, 6)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msAil.hmt:9.49, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.2263,0.6086,0.0709,0.0163, urn:cts:greekLit:tlg0012.tlg001.msA:9.30, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1952,0.6131,0.4154,0.0255, 16)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msAil.hmt:9.50, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.3726,0.612,0.0655,0.0132, urn:cts:greekLit:tlg0012.tlg001.msA:9.30, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1952,0.6131,0.4154,0.0255, 16)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msAil.hmt:9.51, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.5197,0.6476,0.0713,0.0142, urn:cts:greekLit:tlg0012.tlg001.msA:9.32, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1922,0.6514,0.4715,0.024, 10)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msAil.hmt:9.52, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.2253,0.6663,0.04845,0.01397, urn:cts:greekLit:tlg0012.tlg001.msA:9.33, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1942,0.6709,0.4615,0.0225, 14)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msAext.hmt:9.694, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.8839,0.3171,0.027,0.0165, urn:cts:greekLit:tlg0012.tlg001.msA:9.14, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1922,0.3073,0.4224,0.0233, 9)
 MiseEnPage.ScholionIliadPair(urn:cts:greekLit:tlg5026.msAext.hmt:9.681, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.8885,0.3091,0.0254,0.0162, urn:cts:greekLit:tlg0012.tlg001.msA:9.13, urn:cite2:hmt:vaimg.2017a:VA112RN_0284@0.1962,0.287,0.4084,0.0233, 17)