fix(cookbook): restore original notebook JSON formatting

The previous commit's fix to 03_Document_Parsing.ipynb collapsed the
cell's source array into a single string and dropped the trailing
newline. Restore the original array-of-lines formatting so the diff
is limited to the corrected badge URL.
This commit is contained in:
KaifAhmad1
2026-08-24 16:14:22 +05:30
parent 3c00ffb019
commit 943be0c10f
@@ -3,7 +3,40 @@
{
"cell_type": "markdown",
"metadata": {},
"source": "[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/semantica-agi/semantica/blob/main/cookbook/introduction/03_Document_Parsing.ipynb)\n\n# Document Parsing\n\n## Overview\n\nThis notebook demonstrates how to parse various document formats using Semantica's parsing modules. You'll learn to extract text, metadata, and structured data from PDFs, DOCX, CSV, JSON, XML, and HTML files.\n\n**Documentation**: [API Reference](https://semantica.readthedocs.io/reference/parse/)\n\n### Learning Objectives\n\n- Use `DocumentParser` for general document parsing\n- Use format-specific parsers: `PDFParser`, `DOCXParser`, `CSVParser`, `JSONParser`, `XMLParser`, `HTMLParser`\n- Extract text content and metadata from documents\n- Parse structured data formats\n\n## Installation\n\nInstall Semantica from PyPI:\n\n```bash\npip install semantica\n# Or with all optional dependencies:\npip install semantica[all]\n```\n\n---\n\n## Step 1: Document Parser\n\nParse various document formats using the general DocumentParser."
"source": [
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/semantica-agi/semantica/blob/main/cookbook/introduction/03_Document_Parsing.ipynb)\n",
"\n",
"# Document Parsing\n",
"\n",
"## Overview\n",
"\n",
"This notebook demonstrates how to parse various document formats using Semantica's parsing modules. You'll learn to extract text, metadata, and structured data from PDFs, DOCX, CSV, JSON, XML, and HTML files.\n",
"\n",
"**Documentation**: [API Reference](https://semantica.readthedocs.io/reference/parse/)\n",
"\n",
"### Learning Objectives\n",
"\n",
"- Use `DocumentParser` for general document parsing\n",
"- Use format-specific parsers: `PDFParser`, `DOCXParser`, `CSVParser`, `JSONParser`, `XMLParser`, `HTMLParser`\n",
"- Extract text content and metadata from documents\n",
"- Parse structured data formats\n",
"\n",
"## Installation\n",
"\n",
"Install Semantica from PyPI:\n",
"\n",
"```bash\n",
"pip install semantica\n",
"# Or with all optional dependencies:\n",
"pip install semantica[all]\n",
"```\n",
"\n",
"---\n",
"\n",
"## Step 1: Document Parser\n",
"\n",
"Parse various document formats using the general DocumentParser.\n"
]
},
{
"cell_type": "code",
@@ -238,4 +271,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}