feat: Integrate ListItemMarkerProcessor into document assembly (#1825)

* Integrate ListItemMarkerProcessor into document assembly

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>

* Update to final version

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>

* Update all test cases

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>

* Upgrade deps

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>

---------

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
Christoph Auer
2025-07-01 10:04:58 +02:00
committed by GitHub
parent bdfee4e2d0
commit 56a0e104f7
24 changed files with 739 additions and 1675 deletions

View File

@@ -530,11 +530,11 @@
}
],
"orig": "\u00b7 IBM MT/ST (Magnetic Tape/Selectric Typewriter) : Introduced in 1964, this machine combined IBM's Selectric typewriter with magnetic tape storage. It allowed users to record, edit, and replay typed content-an early example of digital text storage.",
"text": "\u00b7 IBM MT/ST (Magnetic Tape/Selectric Typewriter) : Introduced in 1964, this machine combined IBM's Selectric typewriter with magnetic tape storage. It allowed users to record, edit, and replay typed content-an early example of digital text storage.",
"text": "IBM MT/ST (Magnetic Tape/Selectric Typewriter) : Introduced in 1964, this machine combined IBM's Selectric typewriter with magnetic tape storage. It allowed users to record, edit, and replay typed content-an early example of digital text storage.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/8",
@@ -561,11 +561,11 @@
}
],
"orig": "\u00b7 Wang Laboratories : In the 1970s, Wang introduced dedicated word processing machines. These devices, like the Wang 1200, featured small screens and floppy disks, making them revolutionary for their time.",
"text": "\u00b7 Wang Laboratories : In the 1970s, Wang introduced dedicated word processing machines. These devices, like the Wang 1200, featured small screens and floppy disks, making them revolutionary for their time.",
"text": "Wang Laboratories : In the 1970s, Wang introduced dedicated word processing machines. These devices, like the Wang 1200, featured small screens and floppy disks, making them revolutionary for their time.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/9",
@@ -680,11 +680,11 @@
}
],
"orig": "\u00b7 WordStar (1978) : Developed for the CP/M operating system, WordStar was one of the first widely used word processing programs. It featured early examples of modern features like cut, copy, and paste.",
"text": "\u00b7 WordStar (1978) : Developed for the CP/M operating system, WordStar was one of the first widely used word processing programs. It featured early examples of modern features like cut, copy, and paste.",
"text": "WordStar (1978) : Developed for the CP/M operating system, WordStar was one of the first widely used word processing programs. It featured early examples of modern features like cut, copy, and paste.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/13",
@@ -711,11 +711,11 @@
}
],
"orig": "\u00b7 Microsoft Word (1983) : Microsoft launched Word for MS-DOS in 1983, introducing a graphical user interface (GUI) and mouse support. Over the years, Microsoft Word became the industry standard for word processing.",
"text": "\u00b7 Microsoft Word (1983) : Microsoft launched Word for MS-DOS in 1983, introducing a graphical user interface (GUI) and mouse support. Over the years, Microsoft Word became the industry standard for word processing.",
"text": "Microsoft Word (1983) : Microsoft launched Word for MS-DOS in 1983, introducing a graphical user interface (GUI) and mouse support. Over the years, Microsoft Word became the industry standard for word processing.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/14",
@@ -830,11 +830,11 @@
}
],
"orig": "\u00b7 Microsoft Office Suite : Microsoft continued to dominate with its Office Suite, integrating Word with other productivity tools like Excel and PowerPoint.",
"text": "\u00b7 Microsoft Office Suite : Microsoft continued to dominate with its Office Suite, integrating Word with other productivity tools like Excel and PowerPoint.",
"text": "Microsoft Office Suite : Microsoft continued to dominate with its Office Suite, integrating Word with other productivity tools like Excel and PowerPoint.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/18",
@@ -861,11 +861,11 @@
}
],
"orig": "\u00b7 OpenOffice and LibreOffice : Open-source alternatives emerged in the early 2000s, offering free and flexible word processing options.",
"text": "\u00b7 OpenOffice and LibreOffice : Open-source alternatives emerged in the early 2000s, offering free and flexible word processing options.",
"text": "OpenOffice and LibreOffice : Open-source alternatives emerged in the early 2000s, offering free and flexible word processing options.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/19",
@@ -892,11 +892,11 @@
}
],
"orig": "\u00b7 Google Docs (2006) : The introduction of cloud-based word processing revolutionized collaboration. Google Docs enabled real-time editing and sharing, making it a staple for teams and remote work.",
"text": "\u00b7 Google Docs (2006) : The introduction of cloud-based word processing revolutionized collaboration. Google Docs enabled real-time editing and sharing, making it a staple for teams and remote work.",
"text": "Google Docs (2006) : The introduction of cloud-based word processing revolutionized collaboration. Google Docs enabled real-time editing and sharing, making it a staple for teams and remote work.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/20",
@@ -1070,11 +1070,11 @@
}
],
"orig": "\u00b7 Academic and Technical Writing : Tools like LaTeX gained popularity among academics, scientists, and engineers. Unlike traditional word processors, LaTeX focuses on precise formatting, particularly for complex mathematical equations, scientific papers, and technical documents. It relies on a markup language to produce polished documents suitable for publishing.",
"text": "\u00b7 Academic and Technical Writing : Tools like LaTeX gained popularity among academics, scientists, and engineers. Unlike traditional word processors, LaTeX focuses on precise formatting, particularly for complex mathematical equations, scientific papers, and technical documents. It relies on a markup language to produce polished documents suitable for publishing.",
"text": "Academic and Technical Writing : Tools like LaTeX gained popularity among academics, scientists, and engineers. Unlike traditional word processors, LaTeX focuses on precise formatting, particularly for complex mathematical equations, scientific papers, and technical documents. It relies on a markup language to produce polished documents suitable for publishing.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/26",
@@ -1101,11 +1101,11 @@
}
],
"orig": "\u00b7 Screenwriting Software : For screenwriters, tools like Final Draft and Celtx are specialized to handle scripts for film and television. These programs automate the formatting of dialogue, scene descriptions, and other elements unique to screenwriting.",
"text": "\u00b7 Screenwriting Software : For screenwriters, tools like Final Draft and Celtx are specialized to handle scripts for film and television. These programs automate the formatting of dialogue, scene descriptions, and other elements unique to screenwriting.",
"text": "Screenwriting Software : For screenwriters, tools like Final Draft and Celtx are specialized to handle scripts for film and television. These programs automate the formatting of dialogue, scene descriptions, and other elements unique to screenwriting.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/27",
@@ -1132,11 +1132,11 @@
}
],
"orig": "\u00b7 Legal Document Processors : Word processors tailored for legal professionals, like WordPerfect, offered features such as redlining (early version tracking) and document comparison. Even today, many law firms rely on these tools due to their robust formatting options for contracts and legal briefs.",
"text": "\u00b7 Legal Document Processors : Word processors tailored for legal professionals, like WordPerfect, offered features such as redlining (early version tracking) and document comparison. Even today, many law firms rely on these tools due to their robust formatting options for contracts and legal briefs.",
"text": "Legal Document Processors : Word processors tailored for legal professionals, like WordPerfect, offered features such as redlining (early version tracking) and document comparison. Even today, many law firms rely on these tools due to their robust formatting options for contracts and legal briefs.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/28",
@@ -1222,11 +1222,11 @@
}
],
"orig": "1. Undo/Redo : Introduced in the 1980s, the ability to undo mistakes and redo actions made experimentation and error correction much easier.",
"text": "1. Undo/Redo : Introduced in the 1980s, the ability to undo mistakes and redo actions made experimentation and error correction much easier.",
"text": "Undo/Redo : Introduced in the 1980s, the ability to undo mistakes and redo actions made experimentation and error correction much easier.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "1."
},
{
"self_ref": "#/texts/31",
@@ -1253,11 +1253,11 @@
}
],
"orig": "2. Spell Check and Grammar Check : By the 1990s, these became standard, allowing users to spot errors automatically.",
"text": "2. Spell Check and Grammar Check : By the 1990s, these became standard, allowing users to spot errors automatically.",
"text": "Spell Check and Grammar Check : By the 1990s, these became standard, allowing users to spot errors automatically.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "2."
},
{
"self_ref": "#/texts/32",
@@ -1284,11 +1284,11 @@
}
],
"orig": "3. Templates : Pre-designed formats for documents, such as resumes, letters, and invoices, helped users save time.",
"text": "3. Templates : Pre-designed formats for documents, such as resumes, letters, and invoices, helped users save time.",
"text": "Templates : Pre-designed formats for documents, such as resumes, letters, and invoices, helped users save time.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "3."
},
{
"self_ref": "#/texts/33",
@@ -1315,11 +1315,11 @@
}
],
"orig": "4. Track Changes : A game-changer for collaboration, this feature allowed multiple users to suggest edits while maintaining the original text.",
"text": "4. Track Changes : A game-changer for collaboration, this feature allowed multiple users to suggest edits while maintaining the original text.",
"text": "Track Changes : A game-changer for collaboration, this feature allowed multiple users to suggest edits while maintaining the original text.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "4."
},
{
"self_ref": "#/texts/34",
@@ -1346,11 +1346,11 @@
}
],
"orig": "5. Real-Time Collaboration : Tools like Google Docs and Microsoft 365 enabled multiple users to edit the same document simultaneously, forever changing teamwork dynamics.",
"text": "5. Real-Time Collaboration : Tools like Google Docs and Microsoft 365 enabled multiple users to edit the same document simultaneously, forever changing teamwork dynamics.",
"text": "Real-Time Collaboration : Tools like Google Docs and Microsoft 365 enabled multiple users to edit the same document simultaneously, forever changing teamwork dynamics.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "5."
},
{
"self_ref": "#/texts/35",
@@ -1436,11 +1436,11 @@
}
],
"orig": "\u00b7 Accessibility : Writers no longer needed expensive publishing equipment or training in typesetting to create polished work. This accessibility paved the way for selfpublishing, blogging, and even fan fiction communities.",
"text": "\u00b7 Accessibility : Writers no longer needed expensive publishing equipment or training in typesetting to create polished work. This accessibility paved the way for selfpublishing, blogging, and even fan fiction communities.",
"text": "Accessibility : Writers no longer needed expensive publishing equipment or training in typesetting to create polished work. This accessibility paved the way for selfpublishing, blogging, and even fan fiction communities.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/38",
@@ -1467,11 +1467,11 @@
}
],
"orig": "\u00b7 Education : Word processors became a cornerstone of education, teaching students not only how to write essays but also how to use technology effectively. Features like bibliography generators and integrated research tools enhanced learning.",
"text": "\u00b7 Education : Word processors became a cornerstone of education, teaching students not only how to write essays but also how to use technology effectively. Features like bibliography generators and integrated research tools enhanced learning.",
"text": "Education : Word processors became a cornerstone of education, teaching students not only how to write essays but also how to use technology effectively. Features like bibliography generators and integrated research tools enhanced learning.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/39",
@@ -1498,11 +1498,11 @@
}
],
"orig": "\u00b7 Creative Writing : Writers gained powerful tools to organize their ideas. Programs like Scrivener allowed authors to manage large projects, from novels to screenplays, with features like chapter outlines and character notes.",
"text": "\u00b7 Creative Writing : Writers gained powerful tools to organize their ideas. Programs like Scrivener allowed authors to manage large projects, from novels to screenplays, with features like chapter outlines and character notes.",
"text": "Creative Writing : Writers gained powerful tools to organize their ideas. Programs like Scrivener allowed authors to manage large projects, from novels to screenplays, with features like chapter outlines and character notes.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/40",
@@ -1588,11 +1588,11 @@
}
],
"orig": "1. Artificial Intelligence : Modern word processors are leveraging AI to suggest content improvements. Tools like Grammarly, ProWritingAid, and even native features in Word now analyze tone, conciseness, and clarity. Some AI systems can even generate entire paragraphs or rewrite sentences.",
"text": "1. Artificial Intelligence : Modern word processors are leveraging AI to suggest content improvements. Tools like Grammarly, ProWritingAid, and even native features in Word now analyze tone, conciseness, and clarity. Some AI systems can even generate entire paragraphs or rewrite sentences.",
"text": "Artificial Intelligence : Modern word processors are leveraging AI to suggest content improvements. Tools like Grammarly, ProWritingAid, and even native features in Word now analyze tone, conciseness, and clarity. Some AI systems can even generate entire paragraphs or rewrite sentences.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "1."
},
{
"self_ref": "#/texts/43",
@@ -1619,11 +1619,11 @@
}
],
"orig": "2. Integration with Other Tools : Word processors are no longer standalone. They integrate with task managers, cloud storage, and project management platforms. For instance, Google Docs syncs with Google Drive, while Microsoft Word integrates seamlessly with OneDrive and Teams.",
"text": "2. Integration with Other Tools : Word processors are no longer standalone. They integrate with task managers, cloud storage, and project management platforms. For instance, Google Docs syncs with Google Drive, while Microsoft Word integrates seamlessly with OneDrive and Teams.",
"text": "Integration with Other Tools : Word processors are no longer standalone. They integrate with task managers, cloud storage, and project management platforms. For instance, Google Docs syncs with Google Drive, while Microsoft Word integrates seamlessly with OneDrive and Teams.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "2."
},
{
"self_ref": "#/texts/44",
@@ -1650,11 +1650,11 @@
}
],
"orig": "3. Voice Typing : Speech-to-text capabilities have made word processing more accessible, particularly for those with disabilities. Tools like Dragon NaturallySpeaking and built-in options in Google Docs and Microsoft Word have made dictation mainstream.",
"text": "3. Voice Typing : Speech-to-text capabilities have made word processing more accessible, particularly for those with disabilities. Tools like Dragon NaturallySpeaking and built-in options in Google Docs and Microsoft Word have made dictation mainstream.",
"text": "Voice Typing : Speech-to-text capabilities have made word processing more accessible, particularly for those with disabilities. Tools like Dragon NaturallySpeaking and built-in options in Google Docs and Microsoft Word have made dictation mainstream.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "3."
},
{
"self_ref": "#/texts/45",
@@ -1681,11 +1681,11 @@
}
],
"orig": "4. Multimedia Documents : Word processing has expanded beyond text. Modern tools allow users to embed images, videos, charts, and interactive elements, transforming simple documents into rich multimedia experiences.",
"text": "4. Multimedia Documents : Word processing has expanded beyond text. Modern tools allow users to embed images, videos, charts, and interactive elements, transforming simple documents into rich multimedia experiences.",
"text": "Multimedia Documents : Word processing has expanded beyond text. Modern tools allow users to embed images, videos, charts, and interactive elements, transforming simple documents into rich multimedia experiences.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "4."
},
{
"self_ref": "#/texts/46",
@@ -1712,11 +1712,11 @@
}
],
"orig": "5. Cross-Platform Accessibility : Thanks to cloud computing, documents can now be accessed and edited across devices. Whether you're on a desktop, tablet, or smartphone, you can continue working seamlessly.",
"text": "5. Cross-Platform Accessibility : Thanks to cloud computing, documents can now be accessed and edited across devices. Whether you're on a desktop, tablet, or smartphone, you can continue working seamlessly.",
"text": "Cross-Platform Accessibility : Thanks to cloud computing, documents can now be accessed and edited across devices. Whether you're on a desktop, tablet, or smartphone, you can continue working seamlessly.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "5."
},
{
"self_ref": "#/texts/47",
@@ -1802,11 +1802,11 @@
}
],
"orig": "\u00b7 Fully AI-Assisted Writing : Imagine a word processor that understands your writing style, drafts emails, or creates entire essays based on minimal input.",
"text": "\u00b7 Fully AI-Assisted Writing : Imagine a word processor that understands your writing style, drafts emails, or creates entire essays based on minimal input.",
"text": "Fully AI-Assisted Writing : Imagine a word processor that understands your writing style, drafts emails, or creates entire essays based on minimal input.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/50",
@@ -1833,11 +1833,11 @@
}
],
"orig": "\u00b7 Immersive Interfaces : As augmented reality (AR) and virtual reality (VR) technology advance, users may be able to write and edit in 3D spaces, collaborating in virtual environments.",
"text": "\u00b7 Immersive Interfaces : As augmented reality (AR) and virtual reality (VR) technology advance, users may be able to write and edit in 3D spaces, collaborating in virtual environments.",
"text": "Immersive Interfaces : As augmented reality (AR) and virtual reality (VR) technology advance, users may be able to write and edit in 3D spaces, collaborating in virtual environments.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/51",
@@ -1864,11 +1864,11 @@
}
],
"orig": "\u00b7 Hyper-Personalization : Word processors could offer dynamic suggestions based on industry-specific needs, user habits, or even regional language variations.",
"text": "\u00b7 Hyper-Personalization : Word processors could offer dynamic suggestions based on industry-specific needs, user habits, or even regional language variations.",
"text": "Hyper-Personalization : Word processors could offer dynamic suggestions based on industry-specific needs, user habits, or even regional language variations.",
"formatting": null,
"hyperlink": null,
"enumerated": false,
"marker": ""
"marker": "\u00b7"
},
{
"self_ref": "#/texts/52",