LMNL Examples

From LMNLWiki

A number of examples of LMNL have been presented at various venues. Here are a few. The LMNL syntax or "sawtooth" form is given for the shorter examples. All examples are further explained on their own pages.

Contents

Tiny Example (typical but small)

From a poem by Robert Frost. Sentences overlap line boundaries. Lines are annotated with line numbers referring to the original poem.

This shows:

  • Ranges, including overlapping ranges (l ranges overlap s).
  • Simple (unstructured) annotations
  • Multiple concurrent hierarchies (excerpt/l concurs with excerpt/s)
[excerpt [source}The Housekeeper{source] [author}Robert Frost{author]}
  [s}[l [n}144{n]}He manages to keep the upper hand{l]
  [l [n}145{n]}On his own farm.{s] [s}He's boss.{s] [s}But as to hens:{l]
  [l [n}146{n]}We fence our flowers in and the hens range.{l]{s]
{excerpt]

See more on the Tiny Example page.

Exercise Example (something of everything)

(Well, everything but tagged atoms.)

[div}
  [head}Exercise example{head]
  [div}
    [head}Simple mixing{head]
    [p}[o=o1}Overlap [o=o2}springs{o=o1] eternal{o=o2].{p]
  {div]
  [div}
    [head}More mixing{head]
    [p}[o=o4}Arbitrary [o=o5}[o]mixing{o=o4] is
        interesting{o=o5] stuff.{p][o [eID}o6{eID]]
  {div]
  [div}
    [head}Rhetorical elaborations{head]
    [meta [author}WB Yeats{author]]
    [stanza}
      [l}[par [id}p1{id]}I measured all{par], brought all to mind{l]
      [chi}[l}The years to come seemed [axis}waste of breath,{l]
      [l}A waste of breath{axis] the years behind{l]{chi]
      [l}[par [id}p1{id]}in balance with{par] [opp}this life, this death.{opp]{l]
    {stanza]
  {div]
{div]

This example provides (or will provide) a simple testbad for LMNL processing. See more on the Exercise Example page.

Obligatory Scriptural Example

Chapter 1 of the Book of Job, with a bit of overlap between quotes and verses.

Tolkien Commentary (showing mixing)

An excerpt from Tolkien's Fellowship of the Ring shows the usefulness of arbitrary mixing ("self-overlap") -- ranges of the same type overlapping one another.

Four overlapping range types are marked up. Paragraphs indicate the narrative (rhetorical) structure of the text. Pages indicate where text was printed in this edition. Dialogue is marked up, indicating speakers. Finally, particular spans are marked up and provided with critical commentary (in the form of annotations). While paragraphs, dialogue (speeches) and pages offer clean hierarchies (though overlapping with each other), the last sort of range can overlap with other ranges of the same type.

Additionally, inline markup shows where there is rhetorical emphasis (rendered in the original in italics) in the text.

--Wendell 14:49, 30 August 2007 (BST)

Extreme2007 Sonnets

See the LMNL Sonnets demo page.

A novel

Mary Shelley's Frankenstein; or, The Modern Prometheus, in LMNL.