https://github.com/stabrise/scaledp-tutorials
Tutorials for ScaleDP library. ScaleDP is an Open-Source Library for Processing Documents in Apache Spark.
https://github.com/stabrise/scaledp-tutorials
ner nlp ocr ocr-python pdf spark
Last synced: 18 days ago
JSON representation
Tutorials for ScaleDP library. ScaleDP is an Open-Source Library for Processing Documents in Apache Spark.
- Host: GitHub
- URL: https://github.com/stabrise/scaledp-tutorials
- Owner: StabRise
- License: agpl-3.0
- Created: 2024-11-05T07:14:29.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-03-19T10:56:43.000Z (4 months ago)
- Last Synced: 2025-04-12T04:13:38.995Z (3 months ago)
- Topics: ner, nlp, ocr, ocr-python, pdf, spark
- Language: Jupyter Notebook
- Homepage: https://stabrise.com/scaledp/
- Size: 11.2 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
An Open-Source Library for Processing Documents in Apache Spark.# ScaleDP Tutorials
[ScaleDP](https://github.com/StabRise/scaledp/) is a library for processing documents using Apache Spark.
And this repository contains jupyter notebooks with tutorials and examples of usage ScaleDP library.ScaleDP includes the following features:
- Load PDF documents/Images
- Extract text from PDF documents/Images
- Extract text Images/PDF documents, OCR
- Zero-shot Data extraction from the Images/PDF documents using LLM
- Object detection over Images/PDF documents
- NER/LLM over Images/PDF documents
- Visualize results on the images
- Compatible with Spark PDF Datasource## Table of Contents
We advise to run all examples through Google Colab for the easiest setup. Google Colab allows you to run it for free. All examples were tested using Google Colab, so it should be the most stable platform. However, any other cloud provider or local run should work.
| Chapter | Notebook |
|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1: QuickStart with ScaleDP | [](https://colab.research.google.com/github/StabRise/scaledp-tutorials/blob/master/1.QuickStart.ipynb) |
| 2: Example of usage different OCR | [](https://colab.research.google.com/github/StabRise/scaledp-tutorials/blob/master/2.Ocr.ipynb) |
| 3: NER Examples | [](https://colab.research.google.com/github/StabRise/scaledp-tutorials/blob/master/3.Ner.ipynb) |
| 4: LLM NER Examples | [](https://colab.research.google.com/github/StabRise/scaledp-tutorials/blob/master/4.LLMNer.ipynb) |
| 5: With Spark PDF | [](https://colab.research.google.com/github/StabRise/scaledp-tutorials/blob/master/5.WithSparkPdf.ipynb) |## Local Run
### Requirements
- Python 3.11
- Apache Spark 3.5 or higher
- Java 8, 11
- Tesseract 5.0 or higher
- Jupyter Lab | Google Colab
