| 1 |
# SOME DESCRIPTIVE TITLE. |
| 2 |
# Copyright (C) 2015-2025, Artifex |
| 3 |
# This file is distributed under the same license as the PyMuPDF package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PyMuPDF 1.26.7\n" |
| 10 |
"Report-Msgid-Bugs-To: \n" |
| 11 |
"POT-Creation-Date: 2025-11-26 17:04+0000\n" |
| 12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 14 |
"Language: ja\n" |
| 15 |
"Language-Team: ja <[email protected]>\n" |
| 16 |
"Plural-Forms: nplurals=1; plural=0;\n" |
| 17 |
"MIME-Version: 1.0\n" |
| 18 |
"Content-Type: text/plain; charset=utf-8\n" |
| 19 |
"Content-Transfer-Encoding: 8bit\n" |
| 20 |
"Generated-By: Babel 2.10.3\n" |
| 21 |
|
| 22 |
#: ../../header.rst:-1 55554f175cc249878ead6e3e984a2e8a |
| 23 |
msgid "Artifex" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#: ../../header.rst:-1 6aa2efac349e4bcab64dd67c0a0d5b13 |
| 27 |
msgid "" |
| 28 |
"PyMuPDF is a high-performance Python library for data extraction, " |
| 29 |
"analysis, conversion & manipulation of PDF (and other) documents." |
| 30 |
msgstr "" |
| 31 |
|
| 32 |
#: ../../header.rst:-1 fc386a5037ac4a0ba4239f1c51308e56 |
| 33 |
msgid "" |
| 34 |
"PDF Text Extraction, PDF Image Extraction, PDF Conversion, PDF Tables, " |
| 35 |
"PDF Splitting, PDF Creation, Pyodide, PyScript" |
| 36 |
msgstr "" |
| 37 |
|
| 38 |
#: ../../pymupdf-layout/index.rst:8 65880921881d4c9a95f25a114c1617cc |
| 39 |
msgid "PyMuPDF Layout" |
| 40 |
msgstr "" |
| 41 |
|
| 42 |
#: ../../pymupdf-layout/index.rst:11 26826b75387e4aadb2a29e8f577d4b8a |
| 43 |
msgid "" |
| 44 |
"|PyMuPDF Layout| is a lightweight layout analysis extension for |PyMuPDF|" |
| 45 |
" that turns PDFs into clean, structured data with minimal setup. It’s " |
| 46 |
"fast, accurate, and efficient without any GPU requirement." |
| 47 |
msgstr "PyMuPDF Layout は、PyMuPDF 用の軽量なレイアウト解析拡張機能で、最小限のセットアップで PDF をクリーンで構造化されたデータに変換します。高速で正確かつ効率的であり、GPU を必要としません。" |
| 48 |
|
| 49 |
#: ../../pymupdf-layout/index.rst:13 20fc4e9d5eae44d58cced93202624c15 |
| 50 |
msgid "" |
| 51 |
"It is an optional, but recommended, addition to the |PyMuPDF| library " |
| 52 |
"especially if you are required to more accurately extract structured data" |
| 53 |
" with better semantic information." |
| 54 |
msgstr "これは PyMuPDF ライブラリへのオプションですが推奨される追加機能であり、特により正確な意味情報を持つ構造化データの抽出が必要な場合に有用です。" |
| 55 |
|
| 56 |
#: ../../pymupdf-layout/index.rst:17 6cb4d2e97d464990a633d2defd97698e |
| 57 |
msgid "Installing" |
| 58 |
msgstr "インストール" |
| 59 |
|
| 60 |
#: ../../pymupdf-layout/index.rst:19 85aefd1baecd485b800f2238aba711c7 |
| 61 |
msgid "Install from |PyPI| with::" |
| 62 |
msgstr "|PyPI| からインストールするには::" |
| 63 |
|
| 64 |
#: ../../pymupdf-layout/index.rst:26 5e49fc1022b0491e968e6dac9a6ebd28 |
| 65 |
msgid "Using" |
| 66 |
msgstr "使用方法" |
| 67 |
|
| 68 |
#: ../../pymupdf-layout/index.rst:29 c4caa7b3525f461385db5339599b8e02 |
| 69 |
msgid "" |
| 70 |
"In nutshell, |PyMuPDF Layout| detects the layout to extract, but we need " |
| 71 |
"|PyMuPDF4LLM| for the API interface. This provides us with options to " |
| 72 |
"extract document content as |Markdown|, |JSON| or |TXT|." |
| 73 |
msgstr "簡単に言えば、PyMuPDF Layout は抽出するレイアウトを検出しますが、API インターフェースには PyMuPDF4LLM が必要です。これにより、ドキュメントコンテンツを Markdown、JSON、または TXT として抽出するオプションが提供されます。" |
| 74 |
|
| 75 |
#: ../../pymupdf-layout/index.rst:31 2851cd8bd3374a3c8fc60a4a0fe524e8 |
| 76 |
msgid "" |
| 77 |
"Let's set up the Python coding environment to get started and open a PDF " |
| 78 |
"then we'll move on to the semantic data extraction." |
| 79 |
msgstr "それでは、始めるために Python コーディング環境をセットアップし、PDF を開いてから、セマンティックデータ抽出に進みましょう。" |
| 80 |
|
| 81 |
#: ../../pymupdf-layout/index.rst:34 6a1648fb91cc454788a795ffc391432a |
| 82 |
msgid "Register packages and open a PDF" |
| 83 |
msgstr "パッケージを登録して PDF を開く" |
| 84 |
|
| 85 |
#: ../../pymupdf-layout/index.rst:36 1ba188d096bc425abbfee2ba07430823 |
| 86 |
msgid "First up let's import the libraries and open a sample document::" |
| 87 |
msgstr "まず、ライブラリをインポートしてサンプルドキュメントを開きましょう::" |
| 88 |
|
| 89 |
#: ../../pymupdf-layout/index.rst:42 d7900ddabe0644c09c53ba9fb57126b0 |
| 90 |
msgid "" |
| 91 |
"Note, in the above code, that |PyMuPDF Layout| must be imported as shown " |
| 92 |
"and before importing |PyMuPDF4LLM| to activate |PyMuPDF|'s layout feature" |
| 93 |
" and make it available to |PyMuPDF4LLM|." |
| 94 |
msgstr "上記のコードでは、|PyMuPDF Layout| は示されているようにインポートする必要があり、|PyMuPDF| のレイアウト機能を有効にして |PyMuPDF4LLM| で利用可能にするために、|PyMuPDF4LLM| をインポートする前にインポートする必要があることに注意してください。" |
| 95 |
|
| 96 |
#: ../../pymupdf-layout/index.rst:44 7b66dd7c7a164f99b1fd0113f2ccf699 |
| 97 |
msgid "" |
| 98 |
"Omitting the first line would cause execution of standard |PyMuPDF4LLM| -" |
| 99 |
" without the layout feature!" |
| 100 |
msgstr "最初の行を省略すると、レイアウト機能なしの標準 |PyMuPDF4LLM| が実行されます!" |
| 101 |
|
| 102 |
#: ../../pymupdf-layout/index.rst:47 a21b9bc7b3844b0ab455c3f364a2057f |
| 103 |
msgid "Extract the structured data" |
| 104 |
msgstr "構造化データを抽出する" |
| 105 |
|
| 106 |
#: ../../pymupdf-layout/index.rst:49 35bc60862bb24334a75b7dc95b60156f |
| 107 |
msgid "" |
| 108 |
"We've activated the |PyMuPDF Layout| library and we've loaded a document," |
| 109 |
" next let's extract the structured data. This is now like a super-charged" |
| 110 |
" version of standard |PyMuPDF4LLM| with ``Layout`` working behind the " |
| 111 |
"scenes combining heuristics with machine learning - for better extraction" |
| 112 |
" results." |
| 113 |
msgstr "|PyMuPDF Layout| ライブラリを有効にし、ドキュメントを読み込みました。次に構造化データを抽出しましょう。これは、``Layout`` がバックグラウンドでヒューリスティックと機械学習を組み合わせて動作する、標準 |PyMuPDF4LLM| の強化版のようなもので、より良い抽出結果が得られます。" |
| 114 |
|
| 115 |
#: ../../pymupdf-layout/index.rst:52 8fabaa7045ea40bca50d9b6cf1904b2b |
| 116 |
msgid "Extract as Markdown" |
| 117 |
msgstr "Markdown として抽出" |
| 118 |
|
| 119 |
#: ../../pymupdf-layout/index.rst:60 253f86c879cd4cfda51045e1311a3cba |
| 120 |
msgid "Extract as JSON" |
| 121 |
msgstr "JSON として抽出" |
| 122 |
|
| 123 |
#: ../../pymupdf-layout/index.rst:68 8da4947d5b974f24803ba5ed16e8cd77 |
| 124 |
msgid "Extract as TXT" |
| 125 |
msgstr "TXT として抽出" |
| 126 |
|
| 127 |
#: ../../pymupdf-layout/index.rst:76 5bbe37c28031413fa4f86978d66b0161 |
| 128 |
msgid "" |
| 129 |
"Please refer top the full :ref:`PyMuPDF4LLM API <pymupdf4llm-api>` for " |
| 130 |
"more." |
| 131 |
msgstr "詳細については、完全な :ref:`PyMuPDF4LLM API <pymupdf4llm-api>` を参照してください。" |
| 132 |
|
| 133 |
#: ../../pymupdf-layout/index.rst:78 6eedc55b27574fb583b04a9b9f3e3f55 |
| 134 |
msgid "Finally we can save the output to an external file as follows::" |
| 135 |
msgstr "最後に、次のように出力を外部ファイルに保存できます" |
| 136 |
|
| 137 |
#: ../../pymupdf-layout/index.rst:86 9bdb3f269e1c497e91d97cdc3a687bff |
| 138 |
msgid "Headers & Footers" |
| 139 |
msgstr "ヘッダーとフッター" |
| 140 |
|
| 141 |
#: ../../pymupdf-layout/index.rst:89 c239bc0bbbd64d318e6e8fdc55d1efbe |
| 142 |
msgid "" |
| 143 |
"Many documents will have header and footer information on each page of a " |
| 144 |
"PDF which you may or may not want to include. This information can be " |
| 145 |
"repetitive and simply not needed ( e.g. the same logo and document title " |
| 146 |
"or page number information is not always really important when it comes " |
| 147 |
"to extracting the document content )." |
| 148 |
msgstr "多くのドキュメントでは、PDF の各ページにヘッダーとフッター情報があり、これを含めたい場合と含めたくない場合があります。この情報は繰り返しになることがあり、単に不要な場合があります(例えば、同じロゴやドキュメントタイトル、ページ番号情報は、ドキュメントコンテンツを抽出する際に常に重要とは限りません)。" |
| 149 |
|
| 150 |
#: ../../pymupdf-layout/index.rst:91 ee2ea44ed53e4d95860be54bee8ead00 |
| 151 |
msgid "" |
| 152 |
"|PyMuPDF Layout| is trained in detecting these typical document elements " |
| 153 |
"and able to omit them." |
| 154 |
msgstr "|PyMuPDF Layout| は、これらの典型的なドキュメント要素を検出するようにトレーニングされており、それらを省略することができます。" |
| 155 |
|
| 156 |
#: ../../pymupdf-layout/index.rst:93 2e53e75f3b83455ab9f885efaae230c7 |
| 157 |
msgid "" |
| 158 |
"So in this case we can adjust our API calls to ignore these elements as " |
| 159 |
"follows::" |
| 160 |
msgstr "したがって、この場合、次のように API 呼び出しを調整してこれらの要素を無視できます::" |
| 161 |
|
| 162 |
#: ../../pymupdf-layout/index.rst:101 fc82782444984a34ab18e40f5123faeb |
| 163 |
msgid "" |
| 164 |
"Please note that page ``header`` / ``footer`` exclusion is not applicable" |
| 165 |
" to JSON output as it aims to always represent all data for the included " |
| 166 |
"pages. Please refer to the full :ref:`PyMuPDF4LLM API <pymupdf4llm-api>`" |
| 167 |
" for more." |
| 168 |
msgstr "``header`` / ``footer`` の除外は、含まれるページのすべてのデータを常に表現することを目的としているため、JSON 出力には適用されないことに注意してください。詳細については、完全な :ref:`PyMuPDF4LLM API <pymupdf4llm-api>` を参照してください。" |
| 169 |
|
| 170 |
#: ../../pymupdf-layout/index.rst:104 a00239ede95b43319833ba01713ce8d7 |
| 171 |
msgid "Extending Capability" |
| 172 |
msgstr "機能の拡張" |
| 173 |
|
| 174 |
#: ../../pymupdf-layout/index.rst:107 f3bec49e1ee042caad2ba1f1f8d07230 |
| 175 |
msgid "Using with Pro" |
| 176 |
msgstr "PyMuPDF Pro との使用" |
| 177 |
|
| 178 |
#: ../../pymupdf-layout/index.rst:109 1a6a4c0ada2842d588768a849fe3c7f3 |
| 179 |
msgid "" |
| 180 |
"We are able to extend |PyMuPDF Layout| to work with |PyMuPDF Pro| and " |
| 181 |
"thus increase our capability by allowing Office documents to be provided " |
| 182 |
"as input files. In this case all we have to do is to add the import for " |
| 183 |
"|PyMuPDF Pro| and unlock it::" |
| 184 |
msgstr "|PyMuPDF Layout| を |PyMuPDF Pro| と連携させることで機能を拡張し、Office ドキュメントを入力ファイルとして提供できるようにすることで能力を向上させることができます。この場合、|PyMuPDF Pro| のインポートを追加してロックを解除するだけです::" |
| 185 |
|
| 186 |
#: ../../pymupdf-layout/index.rst:116 695ebd9778304b3da362108ea2e9695e |
| 187 |
msgid "Now we can happily load Office files and convert them as follows::" |
| 188 |
msgstr "これで、次のように Office ファイルを読み込んで変換できます::" |
| 189 |
|
| 190 |
#: ../../pymupdf-layout/index.rst:122 14fdcdcd4aab4335919c50efc4749185 |
| 191 |
msgid "OCR support" |
| 192 |
msgstr "OCR サポート" |
| 193 |
|
| 194 |
#: ../../pymupdf-layout/index.rst:124 99eb4f65329d45c7bb6eaf035c255259 |
| 195 |
msgid "" |
| 196 |
"The new layout-sensitive |PyMuPDF4LLM| version also evaluates whether a " |
| 197 |
"page would benefit from applying OCR to it. If its heuristics come to " |
| 198 |
"this conclusion, the built-in Tesseract-OCR module is automatically " |
| 199 |
"invoked. Its results are then handled like normal page content." |
| 200 |
msgstr "新しいレイアウト対応の |PyMuPDF4LLM| バージョンは、ページに OCR を適用することが有益かどうかも評価します。ヒューリスティックがこの結論に達した場合、組み込みの **Tesseract-OCR** モジュールが自動的に呼び出されます。その結果は、通常のページコンテンツと同様に処理されます。" |
| 201 |
|
| 202 |
#: ../../pymupdf-layout/index.rst:126 cdbf9a9f1f5341cc96aaaa1a6a74434f |
| 203 |
msgid "" |
| 204 |
"If a page contains (roughly) no text at all, but is covered with images " |
| 205 |
"or many character-sized vectors, a check is made using `OpenCV " |
| 206 |
"<https://pypi.org/project/opencv-python/>`_ whether text is *probably* " |
| 207 |
"detectable on the page at all. This is done to tell apart image-based " |
| 208 |
"text from ordinary pictures (like photographs)." |
| 209 |
msgstr "ページにテキストがほとんど含まれていないが、画像や多数の文字サイズのベクターで覆われている場合、`OpenCV <https://pypi.org/project/opencv-python/>`_ を使用して、ページ上でテキストが検出可能かどうかをチェックします。これは、画像ベースのテキストを通常の写真などの画像と区別するために行われます。" |
| 210 |
|
| 211 |
#: ../../pymupdf-layout/index.rst:128 8c8ba1c1b2bc4875b04cc60b98293a08 |
| 212 |
msgid "" |
| 213 |
"If the page does contain text but too many characters are unreadable " |
| 214 |
"(like \"�����\"), OCR is also executed, but **for the affected text areas" |
| 215 |
" only** -- not the full page. This way, we avoid losing already existing " |
| 216 |
"text and other content like images and vectors." |
| 217 |
msgstr "ページにテキストが含まれているものの、読み取り不可能な文字(「�����」など)が多すぎる場合、OCR も実行されますが、影響を受けるテキスト領域のみが対象となり、ページ全体ではありません。これにより、既存のテキストや画像やベクターなどの他のコンテンツが失われるのを防ぎます。" |
| 218 |
|
| 219 |
#: ../../pymupdf-layout/index.rst:130 225a390ebce94321a090f94ab2165c16 |
| 220 |
msgid "" |
| 221 |
"For these heuristics to work we need both, an existing :ref:`Tesseract installation <installation_ocr>` and the availability of `OpenCV <https://pypi.org/project/opencv-python/>`_ in the Python environment. If" |
| 222 |
" either is missing, no OCR is attempted at all." |
| 223 |
msgstr "これらのヒューリスティックが機能するには、 :ref:`Tesseract installation <installation_ocr>` のインストールと Python 環境での `OpenCV <https://pypi.org/project/opencv-python/>`_ の利用可能性の両方が必要です。どちらか一方が欠けている場合、OCR はまったく試行されません。" |
| 224 |
|
| 225 |
msgid "The decision tree for whether OCR is actually used or not depends on the following:" |
| 226 |
msgstr "OCRが実際に使用されるかどうかの決定木は、以下に依存します" |
| 227 |
|
| 228 |
msgid ":ref:`PyMuPDF Layout is imported <pymupdf_layout_using>`" |
| 229 |
msgstr "PyMuPDF Layoutがインポートされている" |
| 230 |
|
| 231 |
msgid "In the :ref:`PyMuPDF4LLM API <pymupdf4llm-api>` you have `use_ocr` enabled (this is set to `True` by default)" |
| 232 |
msgstr ":ref:`PyMuPDF4LLM API <pymupdf4llm-api>` で ``use_ocr`` が有効になっている(これはデフォルトで ``True`` に設定されています)" |
| 233 |
|
| 234 |
msgid ":ref:`Tesseract is correctly installed <installation_ocr>`" |
| 235 |
msgstr ":ref:`Tesseractが正しくインストールされている <installation_ocr>`" |
| 236 |
|
| 237 |
msgid "`OpenCV <https://pypi.org/project/opencv-python/>`_ is available in your Python environment" |
| 238 |
msgstr "`OpenCV <https://pypi.org/project/opencv-python/>`_ がPython環境で利用可能である" |
| 239 |
|
| 240 |
#: ../../pymupdf-layout/index.rst:137 fddcc1ea96e64c658554704bb141490b |
| 241 |
msgid "|PyMuPDF Layout| and |PyMuPDF4LLM| parameter caveats" |
| 242 |
msgstr "|PyMuPDF Layout| と |PyMuPDF4LLM| のパラメータに関する注意事項" |
| 243 |
|
| 244 |
#: ../../pymupdf-layout/index.rst:139 b7f33df2c3974ea1bbead613286f3639 |
| 245 |
msgid "" |
| 246 |
"If you have imported ``pymupdf.layout``, |PyMuPDF4LLM| changes its " |
| 247 |
"behavior in various areas quite significantly. New methods become " |
| 248 |
"available and also some features are no longer supported. Please visit " |
| 249 |
"`this site <https://github.com/pymupdf/pymupdf4llm/discussions/327>`_ for" |
| 250 |
" a detailed description of the changes. That web site is being kept up to" |
| 251 |
" date while we continue to work on improvements." |
| 252 |
msgstr "``pymupdf.layout`` をインポートした場合、|PyMuPDF4LLM| はさまざまな領域でその動作を大幅に変更します。新しいメソッドが利用可能になり、一部の機能はサポートされなくなります。変更の詳細については、`このサイト <https://github.com/pymupdf/pymupdf4llm/discussions/327>`_ を参照してください。このウェブサイトは、改善作業を続けながら最新の状態に保たれています。" |
| 253 |
|
| 254 |
#: ../../footer.rst:46 fcc43bbf382644f6928a40bc9aea37c1 |
| 255 |
msgid "This documentation covers all versions up to |version|." |
| 256 |
msgstr "このドキュメントは |version| までのすべてのバージョンを対象としています。" |
| 257 |
|