Skip to content

Commit

Permalink
improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Oct 1, 2024
1 parent 286f089 commit 69161f3
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 40 deletions.
32 changes: 16 additions & 16 deletions examples/async_pdf_to_markdown.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
"\n",
"Below is an example of using AnyParser asynchronous API to accurately extract the layout and text from a sample PDF into markdown format. \n",
"\n",
"As a prerequisite, install the Poppler PDF rendering library:\n",
"To load the preview for the PDF document used in this demo, install the Poppler PDF rendering library:\n",
"- Mac:\n",
" ```\n",
" brew install poppler\n",
" ```\n",
"```bash\n",
"brew install poppler\n",
"```\n",
"- Linux:\n",
" ```\n",
" sudo apt update\n",
" sudo apt install poppler-utils\n",
" ```\n",
"```bash\n",
"sudo apt update\n",
"sudo apt install poppler-utils\n",
"```\n",
"- Windows:\n",
" ```\n",
" choco install poppler\n",
" ```\n",
"```bash\n",
"choco install poppler\n",
"```\n",
"\n",
"### 1. Load the libraries\n",
"\n",
Expand All @@ -42,7 +42,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Next, to use AnyParser, either install the public package or install the SDK locally."
"Next, to use AnyParser, either install the public package or clone the SDK locally."
]
},
{
Expand All @@ -55,10 +55,10 @@
"# !pip3 install --upgrade any-parser\n",
"\n",
"# Option 2: if you have sdk respository installed locally, add system path\n",
"import sys\n",
"sys.path.append(\".\")\n",
"sys.path.append(\"..\")\n",
"sys.path.append(\"../..\")"
"# import sys\n",
"# sys.path.append(\".\")\n",
"# sys.path.append(\"..\")\n",
"# sys.path.append(\"../..\")"
]
},
{
Expand Down
8 changes: 4 additions & 4 deletions examples/docx_to_markdown.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
"# !pip3 install --upgrade any-parser\n",
"\n",
"# Option 2: if you have sdk respository installed locally, add system path\n",
"import sys\n",
"sys.path.append(\".\")\n",
"sys.path.append(\"..\")\n",
"sys.path.append(\"../..\")"
"# import sys\n",
"# sys.path.append(\".\")\n",
"# sys.path.append(\"..\")\n",
"# sys.path.append(\"../..\")"
]
},
{
Expand Down
8 changes: 4 additions & 4 deletions examples/image_to_markdown.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"# !pip3 install --upgrade any-parser\n",
"\n",
"# Option 2: if you have sdk respository installed locally, add system path\n",
"import sys\n",
"sys.path.append(\".\")\n",
"sys.path.append(\"..\")\n",
"sys.path.append(\"../..\")"
"# import sys\n",
"# sys.path.append(\".\")\n",
"# sys.path.append(\"..\")\n",
"# sys.path.append(\"../..\")"
]
},
{
Expand Down
32 changes: 16 additions & 16 deletions examples/pdf_to_markdown.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
"\n",
"Below is an example of using AnyParser to accurately extract the layout and text from a sample PDF into markdown format.\n",
"\n",
"As a prerequisite, install the Poppler PDF rendering library:\n",
"To load the preview for the PDF document used in this demo, install the Poppler PDF rendering library:\n",
"- Mac:\n",
" ```\n",
" brew install poppler\n",
" ```\n",
"```bash\n",
"brew install poppler\n",
"```\n",
"- Linux:\n",
" ```\n",
" sudo apt update\n",
" sudo apt install poppler-utils\n",
" ```\n",
"```bash\n",
"sudo apt update\n",
"sudo apt install poppler-utils\n",
"```\n",
"- Windows:\n",
" ```\n",
" choco install poppler\n",
" ```\n",
"```bash\n",
"choco install poppler\n",
"```\n",
"\n",
"### 1. Load the libraries\n",
"\n",
Expand All @@ -42,7 +42,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Next, to use AnyParser, either install the public package or install the SDK locally."
"Next, to use AnyParser, either install the public package or clone the SDK locally."
]
},
{
Expand All @@ -55,10 +55,10 @@
"# !pip3 install --upgrade any-parser\n",
"\n",
"# Option 2: if you have sdk respository installed locally, add system path\n",
"import sys\n",
"sys.path.append(\".\")\n",
"sys.path.append(\"..\")\n",
"sys.path.append(\"../..\")"
"# import sys\n",
"# sys.path.append(\".\")\n",
"# sys.path.append(\"..\")\n",
"# sys.path.append(\"../..\")"
]
},
{
Expand Down

0 comments on commit 69161f3

Please sign in to comment.