Example: Plain text

Example: Plain text

Example: Plain text

Input Format: Plain text, pasted

Text as it is pasted: a title line, then stanzas with no section labels. The skill cannot tell where a verse or chorus starts, so it finds no sections; the stanzas are lyric lines. Claude would ask which part is which. It was loaded with the title line set aside and the title given as a fact, which is what Claude does for you.

[ Input ] [ Clean text output ] [ JSON output ]

Input

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Ballad of Lorem Ipsum

He sang of Lorem Ipsum
Driving her Dolorem
She stood for something wholesome
When nothing else would work

This song is just a placeholder
Found it in some folder
So just an example
You’re welcome to scramble

His song had a second verse
It could have been worse
If he forgot his chorus
He’d ruin something flawless

When Lorem filled the page
He’d start to engage
With words to take her place
But lose her pretty face

(repeat)

May Lorem Ipsum be your muse

Output - Cleaned text

The song written back out as readable text: section names, facts at the top, and chords above the words where there are any.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
title: Ballad of Lorem Ipsum

He sang of Lorem Ipsum
Driving her Dolorem
She stood for something wholesome
When nothing else would work

This song is just a placeholder
Found it in some folder
So just an example
You’re welcome to scramble

His song had a second verse
It could have been worse
If he forgot his chorus
He’d ruin something flawless

When Lorem filled the page
He’d start to engage
With words to take her place
But lose her pretty face

(repeat)

May Lorem Ipsum be your muse

Output - Formatted (JSON)

What the skill returns: one JSON object, with one line of the song on each row below.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  "status": "needs-info",
  "missing": ["credits", "date"],
  "questions": ["Who wrote or performs it (artist, lyricist or composer)?", "When was it written or published?"],
  "problems": [],
  "notes": ["format: chords-over-words"],
  "setAside": ["line 1: Ballad of Lorem Ipsum"],
  "song": {
    "type": "chordSheet",
    "lines": [
      {"type": "line", "items": [{"type": "tag", "name": "title", "value": "Ballad of Lorem Ipsum", "attributes": {}}]},
      {"type": "line", "items": []},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "He sang of Lorem Ipsum", "annotation": ""}]},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "Driving her Dolorem", "annotation": ""}]},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "She stood for something wholesome", "annotation": ""}]},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "When nothing else would work", "annotation": ""}]},
      {"type": "line", "items": []},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "This song is just a placeholder", "annotation": ""}]},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "Found it in some folder", "annotation": ""}]},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "So just an example", "annotation": ""}]},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "You’re welcome to scramble", "annotation": ""}]},
      {"type": "line", "items": []},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "His song had a second verse", "annotation": ""}]},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "It could have been worse", "annotation": ""}]},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "If he forgot his chorus", "annotation": ""}]},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "He’d ruin something flawless", "annotation": ""}]},
      {"type": "line", "items": []},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "When Lorem filled the page", "annotation": ""}]},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "He’d start to engage", "annotation": ""}]},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "With words to take her place", "annotation": ""}]},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "But lose her pretty face", "annotation": ""}]},
      {"type": "line", "items": []},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "(repeat)", "annotation": ""}]},
      {"type": "line", "items": []},
      {"type": "line", "items": [{"type": "chordLyricsPair", "chords": "", "chord": null, "lyrics": "May Lorem Ipsum be your muse", "annotation": ""}]},
      {"type": "line", "items": []}
    ]
  }
}

Previous: Unbracketed format · All examples · Next: Chords above words