Literary Parsing

See how text transforms into OnlyWorlds elements through these examples.


Example 1: Science Fiction (Hyperion)

Section 1

The Hegemony Consulperson_4 sat on the balcony of his ebony spaceshipwebhook and played Rachmaninov’s Prelude in C-sharp Minor on an ancient but well-maintained Steinwaywebhook while great, green, saurian thingsbug_report surged and bellowed in the swamps belowcastle. A thunderstormthunderstorm was brewing to the north. Bruise-black clouds silhouetted a forest of giant gymnospermscastle while stratocumulus towered nine kilometers high in a violent sky. Lightning rippled along the horizon. Closer to the ship, occasional vague, reptilian shapes would blunder into the interdiction fieldwebhook, cry out, and then crash away through indigo mists. The Consul concentrated on a difficult section of the Prelude and ignored the approach of storm and nightfall. The fatline receiverwebhook chimed.

Character: Hegemony Consul - Human - Official
Object: Ebony Spaceship - Vehicle - Spaceship
Object: Ancient Steinway - Item - Instrument
Creature: Big Green Saurian - Animal - Dinosaur
Location: Swamps Below - Biome - Swamp
Phenomenon: Northern Thunderstorm - Meteorological - Storm
Location: Forest of Giants - Biome - Forest
Object: Interdiction Field - Machine - Security
Object: Fatline Receiver - Item - Instrument

Section 2

‘You have been chosen to return to Hyperioncastle,’ came a woman’s husky voice. Full visuals had not yet formed; the air remained empty except for the pulse of transmission codes which told the Consul that this fatline squirt had originated on the Hegemony administrative world of Tau Ceti Centercastle. The Consul did not need the transmission coordinates to know this. The aged but still beautiful voice of Meina Gladstoneperson_4 was unmistakable. ‘You have been chosen to return to Hyperion as a member of the Shrike Pilgrimagebusiness,’ continued the voice.

Location: Hyperion - Celestial - Planet
Location: Tau Ceti Center - Celestial - World
Character: Meina Gladstone - Human - Leader
Institution: Shrike Pilgrimage - Enterprise - Spiritual

Section 3

‘You and six others have been selected by the Church of the Shrikebusiness and confirmed by the All Thing,’ said Meina Gladstone. ‘It is in the interest of the Hegemonybusiness that you accept.’ The Consul stood motionless in the pit, his back to the flickering transmission codes. Without turning, he raised his glass and drained the last of the Scotch. ‘The situation is very confused,’ said Meina Gladstone. Her voice was weary. ‘The consulate and Home Rule Council fatlined us three standard weeks ago with the news that the Time Tombscastle showed signs of opening. The anti-entropic fields around them were expanding rapidly and the Shrikebug_report has begun ranging as far south as the Bridle Rangecastle.’

Institution: Church of the Shrike - Organization - Spiritual
Institution: Hegemony - Sovereignty - Imperial
Location: Time Tombs - Anomalous
Creature: The Shrike - Monster
Location: Bridle Range - Geographical - Mountain Range

Section 4

‘FORCEbusiness:space task force was immediately dispatched from Parvaticastle to evacuate the Hegemony citizens on Hyperion before the Time Tombs open. Their time-debt will be a little more than three Hyperion years.’ Meina Gladstone paused. The Consul thought he had never seen the Senate CEO look so grim. ‘We do not know if the evacuation fleet will arrive in time,’ she said, ‘but the situation is even more complicated. An Oustercrib migration cluster of at least four thousand . . . units . . . has been detected approaching the Hyperion systemcastle. Our evacuation task force should arrive only a short while before the Ousters.’

Institution: FORCE - Division - Tactical
Location: Parvati - Celestial - Planet
Species: Ouster - Folk
Location: Hyperion System - Celestial - System

Section 5

‘Sol Weintraubperson_4 and Fedmahn Kassadperson_4 are among the seven pilgrims chosen,’ said Gladstone. The Consul’s frown deepened. He stared at the cloud of digits flickering like dust motes around the old woman’s image. Fifteen seconds of fatline transmission time remained. ‘We need your help,’ said Meina Gladstone. ‘It is essential that the secrets of the Time Tombs and Shrike be uncovered. This pilgrimage may be our last chance. If the Ousters conquer Hyperion, their agent must be eliminated and the Time Tombs sealed at all cost. The fate of the Hegemony may depend upon it.’

Character: Sol Weintraub - Human
Character: Fedmahn Kassad - Human


Example 2: Historical Fiction (The Wager)

Section 1

Each man in the squadronbusiness carried, along with a sea chestwebhook, his own burdensome story. Perhaps it was of a scorned love, or a secret prison conviction, or a pregnant wife left on shore weeping. Perhaps it was a hunger for fame and fortuneflaky, or a dread of deathflaky. David Cheapperson_4, the first lieutenantmilitary_tech of the Centurionwebhook, the squadron’s flagship, was no different. A burly Scotsmancrib in his early forties with a protracted nose and intense eyes, he was in flight—from squabbles with his brother over their inheritance, from creditors chasing him, from debts that made it impossible for him to find a suitable bride.

Institution: The Squadron - Military - Fleet
Object: Sea Chest - Object - Item
Trait: Hunger for Fame and Fortune - Ambition
Trait: Dread of Death - Dread
Character: David Cheap - Human - Commander
Title: First Lieutenant of the Centurion - Leadership - Executive
Object: Centurion - Vehicle - Ship
Species: Scottish - Ethnicity

Section 2

Onshore, Cheap seemed doomed, unable to navigate past life’s unexpected shoals. Yet as he perched on the quarterdeck of a British man-of-war, cruising the vast oceans with a cocked hat and spyglasswebhook, he brimmed with confidenceflaky—even, some would say, a touch of haughtiness. The wooden world of a shipapi—a world bound by the Navy’s rigid regulationsgpp_bad and the laws of the sea and, most of all, by the hardened fellowship of men—had provided him a refuge. Suddenly he felt a crystalline order, a clarity of purpose. And Cheap’s newest posting, despite the innumerable risks that it carried, from plaguesthunderstorm and drowning to enemy cannon fireapi, offered what he longed for: a chance to finally claim a wealthy prizeapi and rise to captain his own ship, becoming a lord of the sea.

Object: Spyglass - Item - Instrument
Trait: Confident on Water - Temperament
Construct: Wooden World of a Ship - Situation
Law: Navy Regulations - Military
Phenomenon: Plague - Biological - Disease
Construct: Cannon Fire - Technology - Military
Construct: Wealthy Prize - Situation - Acquisition

Section 3

The problem was that he could not get away from the damned land. He was trapped—cursed, really—at the dockyard in Portsmouthcastle, along the English Channelcastle, struggling with feverish futility to get the Centurion fitted out and ready to sail. Its massive wooden hullwebhook, 144 feet long and 40 feet wide, was moored at a slip. Carpentersapi, caulkers, riggersapi, and joinersapi combed over its decks like ratscrib (which were also plentiful). A cacophony of hammerswebhook and sawswebhook.

Location: Portsmouth - Settlement - Urban
Location: English Channel - Geographic - Water
Object: Centurion’s Hull - Component
Construct: Carpenter - Occupation
Construct: Rigger - Occupation
Construct: Joiner - Occupation
Species: Rat - Fauna
Object: Hammer - Object - Tool
Object: Saw - Object - Tool

Section 4

The cobblestone streetscastle past the shipyard were congested with rattling wheelbarrows and horse-drawn wagons, with portersapi, peddlersapi, pickpocketsapi, sailorsapi, and prostitutesapi. Periodically, a boatswainmilitary_tech blew a chilling whistlewebhook, and crewmen stumbled from ale shopsapi, parting from old or new sweethearts, hurrying to their departing ships in order to avoid their officers’ lashesapi.

Location: Cobblestone Streets - Settlement - Roads
Construct: Porter - Occupation
Construct: Peddler - Occupation
Construct: Pickpocket - Occupation
Construct: Sailor - Occupation
Construct: Prostitute - Occupation
Title: Boatswain - Leadership - Executive
Object: Boatswain’s Whistle - Item - Instrument
Construct: Ale Shop - Object - Building
Construct: Officer’s Lash - Punishment - Professional

Section 5

It was January 1740, and the British Empirebusiness was racing to mobilize for war against its imperial rival Spainbusiness. And in a move that had suddenly raised Cheap’s prospects, the captain under whom he served on the Centurion, George Ansonperson_4, had been plucked by the Admiraltybusiness to be a commodoremilitary_tech and lead the squadron of five warships against the Spanish. The promotion was unexpected. As the son of an obscure country squire, Anson did not wield the level of patronageapi, the grease—or “interest,” as it was more politely called—that propelled many officers up the pole, along with their men.

Institution: British Empire - Sovereignty - Imperial
Institution: Spanish Empire - Sovereignty - Imperial
Character: George Anson - Human - Leader
Institution: Admiralty - Division - Strategic
Title: Commodore - Leadership - Commanding
Construct: Patronage - Situation - Acquisition

Section 6

Anson, then forty-two, had joined the Navy at the age of fourteen, and served for nearly three decades without leading a major military campaign or snaring a lucrative prize. Tall, with a long face and a high forehead, he had a remotenessflaky about him. His blue eyes were inscrutableflaky, and outside the company of a few trusted friends he rarely opened his mouth. One statesman, after meeting with him, noted, “Anson, as usual, said littleflaky.”

Trait: Remoteness - Temperament
Trait: Inscrutable Blue Eyes - Physical
Trait: Usually Silent - Social


How It Works

The parser identifies:

  • Proper nouns → Characters, Locations, Objects
  • Titles and ranks → Title elements
  • Natural events → Phenomena
  • Rules and codes → Laws
  • Living things → Creatures or Species
  • Groups → Collectives or Institutions

Each element gets extracted with its name, category, and optional supertype/subtype for further classification.