Skip to content

Commit

Permalink
Merge pull request #998 from sujee/process-pdf-1
Browse files Browse the repository at this point in the history
pdf-processing-1  example updated
  • Loading branch information
touma-I authored Feb 6, 2025
2 parents 3c0ec36 + 6b04bde commit 54161c7
Show file tree
Hide file tree
Showing 24 changed files with 7,842 additions and 9,401 deletions.
11 changes: 11 additions & 0 deletions examples/data-files/pdf-processing-1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Creating Input PDFs (Optional)

Sample PDFs we use for this example are created from markdown documents using pandoc utility, as follows.

```bash
pandoc earth.md -o earth.pdf
pandoc earth2.md -o earth2.pdf
pandoc mars.md -o mars.pdf
pandoc spam.md -o spam.pdf
pandoc lorem-ipsum.md -o lorem-ipsum.pdf
```
Binary file not shown.
Binary file not shown.
18 changes: 18 additions & 0 deletions examples/data-files/pdf-processing-1/earth2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Earth


## Solar System

Our solar system is a vast and fascinating expanse, comprising eight planets, five dwarf planets, numerous moons, asteroids, comets, and other celestial bodies. At its center lies the star we call the Sun.

For more details about the Solar system see Chapter 1.

## Earth

Earth is the third planet from the Sun. It's our home planet. Earth is the only place we know of with life.

Basic facts about Earth:

- Distance from the Sun: Average of 149.6 million kilometers (93 million miles)
- Rotation Period: 24 hours (one day)
- Moons: One moon, called Luna or simply "the Moon".
Binary file added examples/data-files/pdf-processing-1/earth2.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions examples/data-files/pdf-processing-1/lorem-ipsum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Lorem ipsum
Lorem ipsum
Lorem ipsum
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions examples/data-files/pdf-processing-1/spam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Free xxx
Binary file added examples/data-files/pdf-processing-1/spam.pdf
Binary file not shown.
36 changes: 0 additions & 36 deletions examples/notebooks/intro/README.md

This file was deleted.

Loading

0 comments on commit 54161c7

Please sign in to comment.