Debian Codegraph @

docs/locales/ja/LC_MESSAGES/pymupdf4llm/api.po

raw
1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) 2015-2024, Artifex
3 # This file is distributed under the same license as the PyMuPDF package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PyMuPDF 1.24.10\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 82786ea5867f4818b6c5c7b3e8a55ef0
23 msgid "Artifex"
24 msgstr ""
25
26 #: ../../header.rst:-1 1a6aac6ec3e34205b07c2f37fdc69e13
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 ab4f1a2eeccd4098ae98718eac840f2e
33 msgid ""
34 "PDF Text Extraction, PDF Image Extraction, PDF Conversion, PDF Tables, "
35 "PDF Splitting, PDF Creation, Pyodide, PyScript"
36 msgstr ""
37
38 #: ../../pymupdf4llm/api.rst:9 4e5664b1124d48d18fd12e59b727a0bd
39 msgid "API"
40 msgstr ""
41
42 #: ../../pymupdf4llm/api.rst:12 e4fe663d1ee04cf7bbc808eeb9ce308b
43 msgid "The |PyMuPDF4LLM| API"
44 msgstr "|PyMuPDF4LLM| API"
45
46 #: ../../footer.rst:46 1ed68f4bf8fd45fab04f7a49fba09f0a
47 msgid "This documentation covers all versions up to |version|."
48 msgstr "このドキュメントは |version| までのすべてのバージョンを対象としています。"
49
50 msgid "Prints the version of the library."
51 msgstr "ライブラリのバージョンを出力します。"
52
53 msgid "Reads the pages of the file and outputs the text of its pages in |Markdown| format. How this should happen in detail can be influenced by a number of parameters. Please note that **support for building page chunks** from the |Markdown| text is supported."
54 msgstr "ファイルのページを読み取り、各ページのテキストを |Markdown| 形式で出力します。詳細な動作は複数のパラメータで制御できます。 |Markdown| テキストからページチャンクを構築する機能がサポートされていることにご注意ください。"
55
56 msgid "the file, to be specified either as a file path string, or as a |PyMuPDF| :class:`Document` (created via `pymupdf.open`). In order to use `pathlib.Path` specifications, Python file-like objects, documents in memory etc. you **must** use a |PyMuPDF| :class:`Document`."
57 msgstr "ファイルは、ファイルパス文字列、または |PyMuPDF| :class:`Document` (``pymupdf.open`` で作成) のいずれかで指定します。``pathlib.Path`` 指定、Pythonファイル風オブジェクト、メモリ内ドキュメントなどを使用する場合は、|PyMuPDF| :class:`Document` を **必ず** 使用してください。"
58
59 msgid "|PyMuPDFLayoutMode_Ignored| does a simple check for the general background color of the pages (default is ``True``). If any text or vector has this color it will be ignored. May increase detection accuracy."
60 msgstr "|PyMuPDFLayoutMode_Ignored| ページの全体的な背景色を簡易的にチェックします(デフォルトは ``True``)。テキストやベクターがこの色の場合、無視されます。検出精度が向上する可能性があります。"
61
62 msgid "specify the desired image resolution in dots per inch. Relevant only if `write_images=True` or `embed_images=True`. Default value is 150."
63 msgstr "希望する画像解像度をドット・パー・インチ(DPI)で指定します。``write_images=True`` または ``embed_images=True`` の場合のみ有効です。デフォルト値は150です。"
64
65 msgid "|PyMuPDFLayoutMode_Valid| use :ref:`OCR capability <pymupdf_layout_ocr_support>` to help analyse the page."
66 msgstr "|PyMuPDFLayoutMode_Valid| :ref:`OCR機能 <pymupdf_layout_ocr_support>` を使用してページの分析を支援します。"
67
68 msgid "|PyMuPDFLayoutMode_Valid| specify the desired image resolution in dots per inch for applying OCR to the intermediate image of the page. Default value is 400. Only relevant if the page has been determined to profit from OCR (no or few text, most of the page covered by images or character-like vectors, etc.). Large values may increase the OCR precision but increase memory requirements and processing time. There also is a risk of over-sharpening the image which may decrease OCR precision. So the default value should probably be sufficiently high."
69 msgstr "|PyMuPDFLayoutMode_Valid| ページの中間画像にOCRを適用する際の希望する画像解像度をドット・パー・インチ(DPI)で指定します。デフォルト値は400です。ページがOCRの恩恵を受けると判断された場合(テキストが無いまたは少ない、ページの大部分が画像または文字のようなベクターで覆われているなど)のみ有効です。大きな値を指定するとOCRの精度が向上する可能性がありますが、メモリ要件と処理時間が増加します。また、画像が過度にシャープ化されてOCRの精度が低下するリスクもあります。そのため、デフォルト値はおそらく十分に高い値となっています。"
70
71 msgid "like `write_images`, but images will be included in the markdown text as base64-encoded strings. Mutually exclusive with `write_images` and ignores `image_path`. This may drastically increase the size of your markdown text."
72 msgstr "``write_images`` と同様ですが、画像はbase64エンコードされた文字列としてマークダウンテキストに含まれます。``write_images`` とは相互排他的であり、``image_path`` は無視されます。これによりマークダウンテキストのサイズが大幅に増加する可能性があります。"
73
74 msgid "|PyMuPDFLayoutMode_Ignored| a value of `True` enforces `page_chunks=True` and adds key "words" to each page dictionary. Its value is a list of words as delivered by PyMuPDF's `Page` method `get_text("words")`. The sequence of the words in this list is the same as the extracted text."
75 msgstr "|PyMuPDFLayoutMode_Ignored| ``True`` を指定すると ``page_chunks=True`` が強制され、各ページの辞書にキー「words」が追加されます。その値は、PyMuPDFの ``Page`` メソッド ``get_text("words")`` によって提供される単語のリストです。このリスト内の単語の順序は、抽出されたテキストと同じです。**「レイアウトモード」では無視されます。**"
76
77 msgid "Overwrites or sets the desired image file name of written images. Useful when the document is provided as a memory object (which has no inherent file name)."
78 msgstr "書き込まれる画像の希望するファイル名を上書きまたは設定します。ドキュメントがメモリオブジェクト(固有のファイル名を持たない)として提供される場合に便利です。"
79
80 msgid "|PyMuPDFLayoutMode_Ignored| limit the font size to consider for text extraction. If the font size is lower than what is set then the text won't be considered for extraction. Default is `3`, meaning only text with a font size `>= 3` will be considered for extraction."
81 msgstr "|PyMuPDFLayoutMode_Ignored| テキスト抽出時に考慮するフォントサイズの下限を設定します。フォントサイズが設定値より小さい場合、そのテキストは抽出対象として考慮されません。デフォルトは ``3`` で、フォントサイズが ``>= 3`` のテキストのみが抽出対象として考慮されます。"
82
83 msgid "|PyMuPDFLayoutMode_Valid| boolean to switch on/off page footer content. This parameter controls whether to include or omit footer text from all the document pages. Useful if the document has repetitive footer content which doesn't add any value to the overall extraction data. Default is `True` meaning that footer content will be considered."
84 msgstr "|PyMuPDFLayoutMode_Valid| ページフッターの内容を含めるか除外するかを切り替えるブール値です。このパラメータは、ドキュメント全ページのフッターテキストを含めるか省略するかを制御します。ドキュメントに繰り返しのフッター内容があり、全体的な抽出データに価値を追加しない場合に便利です。デフォルトは ``True`` で、フッターの内容が考慮されることを意味します。"
85
86 msgid "generate text output even when overlapping images / graphics. This text then appears after the respective image."
87 msgstr "画像やグラフィックが重なっている場合でもテキスト出力を生成します。このテキストは該当する画像の後に表示されます。"
88
89 msgid "|PyMuPDFLayoutMode_Ignored| use this to limit dealing with excess amounts of vector graphics elements. Scientific documents, or pages simulating text via graphics commands may contain tens of thousands of these objects. As vector graphics are analyzed for multiple purposes, runtime may quickly become intolerable. With this parameter, all vector graphics will be ignored if their count exceeds the threshold."
90 msgstr "|PyMuPDFLayoutMode_Ignored| 過剰な量のベクターグラフィック要素への対処を制限するために使用します。科学文書や、グラフィックコマンドでテキストをシミュレートするページには、これらのオブジェクトが数万個含まれている場合があります。ベクターグラフィックは複数の目的で分析されるため、実行時間がすぐに許容できないレベルになる可能性があります。このパラメータを使用すると、ベクターグラフィックの数が閾値を超えた場合、すべてのベクターグラフィックが無視されます。"
91
92 msgid "|PyMuPDFLayoutMode_Ignored| use this if you want to provide your own header detection logic. This may be a callable or an object having a method named `get_header_id`. It must accept a text span (a span dictionary as contained in :meth:`~.extractDICT`) and a keyword parameter "page" (which is the owning :ref:`Page <page>` object). It must return a string "" or up to 6 "#" characters followed by 1 space. If omitted (`None`), a full document scan will be performed to find the most popular font sizes and derive header levels based on them. To completely avoid this behavior specify `hdr_info=lambda s, page=None: ""` or `hdr_info=False`."
93 msgstr "|PyMuPDFLayoutMode_Ignored| 独自のヘッダー検出ロジックを提供したい場合に使用します。これは、呼び出し可能オブジェクト、または ``get_header_id`` という名前のメソッドを持つオブジェクトです。テキストスパン(:meth:`~.extractDICT` に含まれるスパン辞書)とキーワードパラメータ「page」(所有する :ref:`Page <page>` オブジェクト)を受け入れる必要があります。空文字列 "" または最大6個の "#" 文字とその後に続く1つのスペースを返す必要があります。省略した場合(``None``)、ドキュメント全体がスキャンされ、最も一般的なフォントサイズを見つけ、それに基づいてヘッダーレベルが導出されます。この動作を完全に回避するには、``hdr_info=lambda s, page=None: ""`` または ``hdr_info=False`` を指定してください。"
94
95 msgid "|PyMuPDFLayoutMode_Valid| boolean to switch on/off page header content. This parameter controls whether we want to include or omit the header content from all the document pages. Useful if the document has repetitive header content which doesn't add any value to the overall extraction data. Default is `True` meaning that header content will be considered."
96 msgstr "|PyMuPDFLayoutMode_Valid| ページヘッダーの内容を含めるか除外するかを切り替えるブール値です。このパラメータは、ドキュメント全ページのヘッダー内容を含めるか省略するかを制御します。ドキュメントに繰り返しのヘッダー内容があり、全体的な抽出データに価値を追加しない場合に便利です。デフォルトは ``True`` で、ヘッダーの内容が考慮されることを意味します。"
97
98 msgid "|PyMuPDFLayoutMode_Ignored| if ``True`` includes text even when completely transparent. Default is ``False``: transparent text will be ignored which usually increases detection accuracy."
99 msgstr "|PyMuPDFLayoutMode_Ignored| ``True`` の場合、完全に透明なテキストも含めます。デフォルトは ``False`` で、透明なテキストは無視され、通常は検出精度が向上します。**「レイアウトモード」では無視されます。**"
100
101 msgid "if `True` then mono-spaced text lines do not receive special formatting. Code blocks will no longer be generated. This value is set to `True` if `extract_words=True` is used."
102 msgstr "``True`` の場合、等幅テキスト行は特別なフォーマットを受けません。コードブロックは生成されなくなります。``extract_words=True`` が使用される場合、この値は ``True`` に設定されます。"
103
104 msgid "|PyMuPDFLayoutMode_Ignored| (New in v.0.0.20) Disregard vector graphics on the page. This may help detecting text correctly when pages are very crowded (often the case for documents representing presentation slides). Also speeds up processing time. This automatically prevents table detection."
105 msgstr "|PyMuPDFLayoutMode_Ignored| (v.0.0.20の新機能) ページ上のベクターグラフィックを無視します。ページが非常に混雑している場合(プレゼンテーションスライドを表すドキュメントでよくあるケース)、テキストを正しく検出するのに役立つ可能性があります。また、処理時間も短縮されます。これにより、テーブル検出が自動的に無効になります。"
106
107 msgid "|PyMuPDFLayoutMode_Ignored| (New in v.0.0.20) Disregard images on the page. This may help detecting text correctly when pages are very crowded (often the case for documents representing presentation slides). Also speeds up processing time."
108 msgstr "|PyMuPDFLayoutMode_Ignored| (v.0.0.20の新機能) ページ上の画像を無視します。ページが非常に混雑している場合(プレゼンテーションスライドを表すドキュメントでよくあるケース)、テキストを正しく検出するのに役立つ可能性があります。また、処理時間も短縮されます。"
109
110 msgid "specify the desired image format via its extension. Default is "png" (portable network graphics). Another popular format may be "jpg". Possible values are all :ref:`supported output formats <Supported_File_Types>`."
111 msgstr "拡張子を使用して希望する画像形式を指定します。デフォルトは「png」(ポータブルネットワークグラフィックス)です。他の一般的な形式としては「jpg」があります。使用可能な値は、すべての :ref:`サポートされている出力形式 <Supported_File_Types>` です。"
112
113 msgid "store images in this folder. Relevant if `write_images=True`. Default is the path of the script directory."
114 msgstr "このフォルダに画像を保存します。``write_images=True`` の場合に有効です。デフォルトはスクリプトディレクトリのパスです。"
115
116 msgid "|PyMuPDFLayoutMode_Ignored| this must be a ``0 <= value < 1``. Images are ignored if `width / page.rect.width <= image_size_limit` or `height / page.rect.height <= image_size_limit`. For instance, the default value 0.05 means that to be considered for inclusion, an image's width and height must be larger than 5% of the page's width and height, respectively."
117 msgstr "|PyMuPDFLayoutMode_Ignored| ``0 <= value < 1`` の値である必要があります。``width / page.rect.width <= image_size_limit`` または ``height / page.rect.height <= image_size_limit`` の場合、画像は無視されます。たとえば、デフォルト値の0.05は、画像が含まれる対象として考慮されるには、画像の幅と高さがそれぞれページの幅と高さの5%より大きくなければならないことを意味します。"
118
119 msgid "|PyMuPDFLayoutMode_Ignored| a float or a sequence of 2 or 4 floats specifying page borders. Only objects inside the margins will be considered for output."
120 msgstr "|PyMuPDFLayoutMode_Ignored| ページの境界を指定する浮動小数点数、または2個もしくは4個の浮動小数点数のシーケンスです。マージン内のオブジェクトのみが出力対象として考慮されます。"
121
122 msgid "`margin=f` yields `(f, f, f, f)` for `(left, top, right, bottom)`."
123 msgstr "``margin=f`` は ``(left, top, right, bottom)`` に対して ``(f, f, f, f)`` を生成します。"
124
125 msgid "`(top, bottom)` yields `(0, top, 0, bottom)`."
126 msgstr "``(top, bottom)`` は ``(0, top, 0, bottom)`` を生成します。"
127
128 msgid "To always read full pages **(default)**, use `margins=0`."
129 msgstr "常にページ全体を読み取る **(デフォルト)** には、``margins=0`` を使用します。"
130
131 msgid "if `True` the output will be a list of `Document.page_count` dictionaries (one per page). Each dictionary has the following structure:"
132 msgstr "``True`` の場合、出力は ``Document.page_count`` 個の辞書のリスト(ページごとに1つ)になります。各辞書は以下の構造を持ちます:"
133
134 msgid "**\"metadata\"** - a dictionary consisting of the document's metadata :attr:`Document.metadata`, enriched with additional keys **\"file_path\"** (the file name), **\"page_count\"** (number of pages in document), and **\"page_number\"** (1-based page number)."
135 msgstr "**"metadata"** - ドキュメントのメタデータ :attr:`Document.metadata` から構成される辞書で、追加のキー **"file_path"** (ファイル名)、**"page_count"** (ドキュメント内のページ数)、および **"page_number"** (1ベースのページ番号)で拡張されています。"
136
137 msgid "**\"toc_items\"** - a list of Table of Contents items pointing to this page. Each item of this list has the format `[lvl, title, pagenumber]`, where `lvl` is the hierarchy level, `title` a string and `pagenumber` as a 1-based page number."
138 msgstr "**"toc_items"** - このページを指す目次項目のリストです。このリストの各項目は ``[lvl, title, pagenumber]`` の形式を持ち、``lvl`` は階層レベル、``title`` は文字列、``pagenumber`` は1ベースのページ番号です。"
139
140 msgid "**\"tables\"** - a list of tables on this page. Each item is a dictionary with keys \"bbox\", \"row_count\" and \"col_count\". Key \"bbox\" is a `pymupdf.Rect` in tuple format of the table's position on the page."
141 msgstr "**"tables"** - このページ上のテーブルのリストです。各項目は、キー「bbox」、「row_count」、「col_count」を持つ辞書です。キー「bbox」は、ページ上のテーブルの位置を示すタプル形式の ``pymupdf.Rect`` です。"
142
143 msgid "**\"images\"** - |PyMuPDFLayoutMode_EmptyList| a list of images on the page. This a copy of page method :meth:`Page.get_image_info`."
144 msgstr "**\"images\"** - |PyMuPDFLayoutMode_EmptyList| ページ上の画像のリストです。これは、ページメソッド :meth:`Page.get_image_info` のコピーです。"
145
146 msgid "**\"graphics\"** - |PyMuPDFLayoutMode_EmptyList| a list of vector graphics rectangles on the page. This is a list of boundary boxes of clustered vector graphics as delivered by method :meth:`Page.cluster_drawings`."
147 msgstr "**\"graphics\"** - |PyMuPDFLayoutMode_EmptyList| ページ上のベクターグラフィック矩形のリストです。これは、メソッド :meth:`Page.cluster_drawings` によって提供されるクラスタ化されたベクターグラフィックのバウンディングボックスのリストです。"
148
149 msgid "**\"text\"** - page content as |Markdown| text."
150 msgstr "**\"text\"** - |Markdown| テキストとしてのページ内容です。"
151
152 msgid "**\"words\"** - |PyMuPDFLayoutMode_EmptyList| if `extract_words=True` was used. This is a list of tuples `(x0, y0, x1, y1, \"wordstring\", bno, lno, wno)` as delivered by `page.get_text(\"words\")`. The **sequence** of these tuples however is the same as produced in the markdown text string and thus honors multi-column text. This is also true for text in tables: words are extracted in the sequence of table row cells."
153 msgstr "**\"words\"** - |PyMuPDFLayoutMode_EmptyList| ``extract_words=True`` が使用された場合に含まれます。これは、``page.get_text("words")`` によって提供されるタプル ``(x0, y0, x1, y1, "wordstring", bno, lno, wno)`` のリストです。ただし、これらのタプルの **順序** はマークダウンテキスト文字列で生成される順序と同じであり、したがってマルチカラムテキストを尊重します。これはテーブル内のテキストにも当てはまります。単語はテーブル行のセルの順序で抽出されます。"
154
155 msgid "specify a desired page height. For relevance see the `page_width` parameter. If using the default `None`, the document will appear as one large page with a width of `page_width`. Consequently in this case, no markdown page separators will occur (except the final one), respectively only one page chunk will be returned."
156 msgstr "希望するページの高さを指定します。関連性については ``page_width`` パラメータを参照してください。デフォルトの ``None`` を使用する場合、ドキュメントは ``page_width`` の幅を持つ1つの大きなページとして表示されます。したがって、この場合、マークダウンページ区切り文字は発生せず(最後のものを除く)、それぞれ1つのページチャンクのみが返されます。"
157
158 msgid "if ``True`` inserts a string ``--- end of page=n ---`` at the end of each page output. Intended for debugging purposes. The page number is 0-based. The separator string is wrapped with line breaks. Default is ``False``."
159 msgstr "``True`` の場合、各ページ出力の最後に文字列 ``--- end of page=n ---`` を挿入します。デバッグ目的を想定しています。ページ番号は0ベースです。区切り文字列は改行で囲まれます。デフォルトは ``False`` です。"
160
161
162 msgid "specify a desired page width. This is ignored for documents with a fixed page width like PDF, XPS etc. **Reflowable** documents however, like e-books, office [#f2]_ or text files have no fixed page dimensions. They by default are assumed to have Letter format width (612) and an **unlimited** page height. This means that the **full document is treated as one large page.**"
163 msgstr "希望するページの幅を指定します。PDF、XPSなどの固定ページ幅を持つドキュメントでは無視されます。しかし、電子書籍、オフィス [#f2]_ ファイル、テキストファイルなどの **リフロー可能な** ドキュメントには固定のページサイズがありません。これらはデフォルトでレター形式の幅(612)と **無制限の** ページの高さを持つと見なされます。これは、**ドキュメント全体が1つの大きなページとして扱われる** ことを意味します。"
164
165 msgid "optional, the pages to consider for output (caution: specify 0-based page numbers). If omitted (`None`) all pages are processed. Any Python sequence with integer items is accepted. The sequence is sorted and processed to only contain unique items."
166 msgstr "オプションで、出力対象として考慮するページを指定します(注意:0ベースのページ番号を指定してください)。省略した場合(``None``)、すべてのページが処理されます。整数項目を持つ任意のPythonシーケンスが受け入れられます。シーケンスはソートされ、一意の項目のみを含むように処理されます。"
167
168 msgid "Default is `False`. A value of `True` displays a progress bar as pages are being converted. Package `tqdm <https://pypi.org/project/tqdm/>`_ is used if installed, otherwise the built-in text based progress bar is used."
169 msgstr "デフォルトは ``False`` です。``True`` を指定すると、ページが変換される際に進捗バーが表示されます。インストールされている場合はパッケージ `tqdm <https://pypi.org/project/tqdm/>`_ が使用され、それ以外の場合は組み込みのテキストベースの進捗バーが使用されます。"
170
171 msgid "|PyMuPDFLayoutMode_Ignored| see: :meth:`table detection strategy <Page.find_tables>`. Default is `"lines_strict"` which ignores background colors. In some occasions, other strategies may be more successful, for example `"lines"` which uses all vector graphics objects for detection."
172 msgstr "|PyMuPDFLayoutMode_Ignored| 参照: :meth:`テーブル検出戦略 <Page.find_tables>`。デフォルトは ``"lines_strict"`` で、背景色を無視します。状況によっては、他の戦略がより成功する場合があります。たとえば、すべてのベクターグラフィックオブジェクトを検出に使用する ``"lines"`` などです。"
173
174 msgid "|PyMuPDFLayoutMode_Ignored| (New in v.0.0.19) Default is `False`. A value of `True` will use the glyph number of the characters instead of the character itself if the font does not store the Unicode value."
175 msgstr "|PyMuPDFLayoutMode_Ignored| (v.0.0.19の新機能) デフォルトは ``False`` です。``True`` を指定すると、フォントがUnicode値を保存していない場合、文字自体の代わりに文字のグリフ番号が使用されます。"
176
177 msgid "when encountering images or vector graphics, images will be created from the respective page area and stored in the specified folder. |Markdown| references will be generated pointing to these images. Any text contained in these areas will not be included in the text output (but appear as part of the images). Therefore, if for instance your document has text written on full page images, make sure to set this parameter to `False`."
178 msgstr "画像またはベクターグラフィックに遭遇した場合、該当するページ領域から画像が作成され、指定されたフォルダに保存されます。これらの画像を指す |Markdown| 参照が生成されます。これらの領域に含まれるテキストは、テキスト出力には含まれません(ただし、画像の一部として表示されます)。したがって、たとえば、ドキュメントにフルページ画像上に書かれたテキストがある場合は、このパラメータを ``False`` に設定してください。"
179
180 msgid "If using :ref:`PyMuPDF Layout <pymupdf-layout>`, boundary boxes that are classified as "picture" by the layout module will be treated as images - independent from the mixture of text, images or vector graphics they may be covering. If `force_text=True` is used, text will still be extracted from these areas and included in the output after the respective image reference."
181 msgstr ":ref:`PyMuPDF Layout <pymupdf-layout>` を使用する場合、レイアウトモジュールによって「picture」として分類されたバウンディングボックスは、テキスト、画像、またはベクターグラフィックの混在に関係なく、画像として扱われます。``force_text=True`` が使用された場合、これらの領域からテキストが抽出され、該当する画像参照の後に出力に含まれます。"
182
183 msgid "Either a string of the combined text of all selected document pages, or a list of dictionaries if `page_chunks=True`."
184 msgstr "選択されたすべてのドキュメントページの結合されたテキストの文字列、または ``page_chunks=True`` の場合は辞書のリストです。"
185
186 msgid "Reads the pages of the file and outputs the text of its pages in |TXT| format."
187 msgstr "ファイルのページを読み取り、各ページのテキストを |TXT| 形式で出力します。"
188
189 msgid "|PyMuPDFLayoutMode_Valid|. This method is only available with PyMuPDF Layout."
190 msgstr "|PyMuPDFLayoutMode_Valid| このメソッドは「レイアウトモード」でのみ利用可能です。つまり、pymupdf4llmのインポートが ``import pymupdf.layout`` ステートメントの **後に** 行われた場合のみです。"
191
192 msgid "the file, to be specified either as a file path string, or as a |PyMuPDF| :class:`Document` (created via `pymupdf.open`). In order to use `pathlib.Path` specifications, Python file-like objects, documents in memory etc. you **must** use a |PyMuPDF| :class:`Document`."
193 msgstr "ファイルは、ファイルパス文字列、または |PyMuPDF| :class:`Document` (``pymupdf.open`` で作成) のいずれかで指定します。``pathlib.Path`` 指定、Pythonファイル風オブジェクト、メモリ内ドキュメントなどを使用する場合は、|PyMuPDF| :class:`Document` を **必ず** 使用してください。"
194
195 msgid "boolean to switch on/off page header content. This parameter controls whether to include or omit the header content from all the document pages. Useful if the document has repetitive header content which doesn't add any value to the overall extraction data. Default is `True` meaning that header content will be written."
196 msgstr "ページヘッダーの内容を含めるか除外するかを切り替えるブール値です。このパラメータは、ドキュメント全ページのヘッダー内容を含めるか省略するかを制御します。ドキュメントに繰り返しのヘッダー内容があり、全体的な抽出データに価値を追加しない場合に便利です。デフォルトは ``True`` で、ヘッダーの内容が出力されることを意味します。"
197
198 msgid "boolean to switch on/off page footer content. This parameter controls whether to include or omit the footer content from all the document pages. Useful if the document has repetitive footer content which doesn't add any value to the overall extraction data. Default is `True` meaning that footer content will be written."
199 msgstr "ページフッターの内容を含めるか除外するかを切り替えるブール値です。このパラメータは、ドキュメント全ページのフッター内容を含めるか省略するかを制御します。ドキュメントに繰り返しのフッター内容があり、全体的な抽出データに価値を追加しない場合に便利です。デフォルトは ``True`` で、フッターの内容が出力されることを意味します。"
200
201 msgid "if `True` then mono-spaced text lines do not receive special formatting. No blocks will be written and text lines will be written continuously."
202 msgstr "``True`` の場合、等幅テキスト行は特別なフォーマットを受けません。ブロックは書き込まれず、テキスト行は連続して書き込まれます。"
203
204 msgid "optional, the pages to consider for output (caution: specify 0-based page numbers). If omitted (`None`) all pages are processed. Any Python sequence with integer items is accepted. The sequence is sorted and processed to only contain unique items."
205 msgstr "オプションで、出力対象として考慮するページを指定します(注意:0ベースのページ番号を指定してください)。省略した場合(``None``)、すべてのページが処理されます。整数項目を持つ任意のPythonシーケンスが受け入れられます。シーケンスはソートされ、一意の項目のみを含むように処理されます。"
206
207 msgid "generate text output also when overlapping images / graphics. This text then appears after the respective image reference. Images (i.e. \"picture\" areas) however will not be written to the text output but appear as a text line in the output like `==> picture [width x height] <==`."
208 msgstr "画像やグラフィックが重なっている場合でもテキスト出力を生成します。このテキストは該当する画像参照の後に表示されます。ただし、画像(つまり「picture」領域)はテキスト出力には書き込まれず、``==> picture [width x height] <==`` のようなテキスト行として出力に表示されます。"
209
210 msgid "Default is `False`. A value of `True` displays a progress bar as pages are being converted. Package `tqdm <https://pypi.org/project/tqdm/>`_ is used if installed, otherwise the built-in text based progress bar is used."
211 msgstr "デフォルトは ``False`` です。``True`` を指定すると、ページが変換される際に進捗バーが表示されます。インストールされている場合はパッケージ `tqdm <https://pypi.org/project/tqdm/>`_ が使用され、それ以外の場合は組み込みのテキストベースの進捗バーが使用されます。"
212
213 msgid "Parses the document and the specified pages and converts the result into a |JSON|-formatted string."
214 msgstr "ドキュメントと指定されたページを解析し、結果を |JSON| 形式の文字列に変換します。"
215
216
217 msgid "the file, to be specified either as a file path string, or as a |PyMuPDF| :class:`Document` (created via `pymupdf.open`). In order to use `pathlib.Path` specifications, Python file-like objects, documents in memory etc. you **must** use a |PyMuPDF| :class:`Document`."
218 msgstr "ファイルは、ファイルパス文字列、または |PyMuPDF| :class:`Document` (``pymupdf.open`` で作成) のいずれかで指定します。``pathlib.Path`` 指定、Pythonファイル風オブジェクト、メモリ内ドキュメントなどを使用する場合は、|PyMuPDF| :class:`Document` を **必ず** 使用してください。"
219
220 msgid "specify the desired image resolution in dots per inch. Default value is 150. Only relevant if one of the parameters `write_images=True` or `embed_images=True` is used."
221 msgstr "希望する画像解像度をドット・パー・インチ(DPI)で指定します。デフォルト値は150です。``write_images=True`` または ``embed_images=True`` のいずれかのパラメータが使用される場合にのみ有効です。"
222
223 msgid "specify the desired image format via its extension. Default is \"png\" (portable network graphics). Another popular format may be \"jpg\". Possible values are all :ref:`supported output formats <Supported_File_Types>`. Only relevant if one of the parameters `write_images=True` or `embed_images=True` is used."
224 msgstr "拡張子を使用して希望する画像形式を指定します。デフォルトは「png」(ポータブルネットワークグラフィックス)です。他の一般的な形式としては「jpg」があります。使用可能な値は、すべての :ref:`サポートされている出力形式 <Supported_File_Types>` です。``write_images=True`` または ``embed_images=True`` のいずれかのパラメータが使用される場合にのみ有効です。"
225
226 msgid "store images in this folder. Relevant if `write_images=True`. Default is the path of the script directory. Page areas classified as \"picture\" will be written as image files to the specified location. The image file names will be of the format `{image_path}/{filename}-pagenumber-image_number.{image_format}`."
227 msgstr "このフォルダに画像を保存します。``write_images=True`` の場合に有効です。デフォルトはスクリプトディレクトリのパスです。「picture」として分類されたページ領域は、指定された場所に画像ファイルとして書き込まれます。画像ファイル名は ``{image_path}/{filename}-pagenumber-image_number.{image_format}`` の形式になります。"
228
229 msgid "generate text output for text that is written upon areas that are classified as \"picture\" by the layout module. This may be especially be useful when picture content is not stored."
230 msgstr "レイアウトモジュールによって「picture」として分類された領域上に書かれたテキストのテキスト出力を生成します。これは、画像内容が保存されない場合に特に便利です。"
231
232 msgid "display a progress bar during processing."
233 msgstr "処理中に進捗バーを表示します。"
234
235 msgid "store image binaries for \"picture\" boundary boxes. Base64-encoded images are included in the JSON output. Ignores `image_path` if used. This may drastically increase the size of your JSON text."
236 msgstr "「picture」バウンディングボックスの画像バイナリを保存します。Base64エンコードされた画像がJSON出力に含まれます。使用された場合、``image_path`` は無視されます。これによりJSONテキストのサイズが大幅に増加する可能性があります。"
237
238 msgid "store image files \"picture\" boundary boxes.when encountering images, image files will be created from the respective page area and stored in the specified folder. Any text contained in these areas will still be included in the text output."
239 msgstr "「picture」バウンディングボックスの画像ファイルを保存します。画像に遭遇した場合、該当するページ領域から画像ファイルが作成され、指定されたフォルダに保存されます。これらの領域に含まれるテキストは、引き続きテキスト出力に含まれます。"
240
241 msgid "optional, the pages to consider for output (caution: specify 0-based page numbers). If omitted (`None`) all pages are processed. Specify any valid Python sequence containing integers between `0` and `page_count - 1`."
242 msgstr "オプションで、出力対象として考慮するページを指定します(注意:0ベースのページ番号を指定してください)。省略した場合(``None``)、すべてのページが処理されます。``0`` から ``page_count - 1`` の間の整数を含む任意の有効なPythonシーケンスを指定してください。"
243
244 msgid "Please see `this site <https://github.com/pymupdf/pymupdf4llm/discussions/327>`_ for more background and the current status of further improvements regarding usage with :ref:`PyMuPDF Layout <pymupdf-layout>`."
245 msgstr "レイアウトモードに関する更なる改善の背景と現状については、`このサイト <https://github.com/pymupdf/pymupdf4llm/discussions/327>`_ をご覧ください。"
246
247 msgid "Create a `pdf_markdown_reader.PDFMarkdownReader` using the `LlamaIndex`_ package. Please note that this package will **not automatically be installed** when installing **pymupdf4llm**."
248 msgstr "`LlamaIndex`_ パッケージを使用して ``pdf_markdown_reader.PDFMarkdownReader`` を作成します。このパッケージは **pymupdf4llm** をインストールする際に **自動的にインストールされない** ことに注意してください。"
249
250 msgid "For details on the possible arguments, please consult the LlamaIndex documentation [#f1]_."
251 msgstr "可能な引数の詳細については、LlamaIndexのドキュメント [#f1]_ を参照してください。"
252
253 msgid "`NotImplementedError`: Please install required `LlamaIndex`_ package."
254 msgstr "``NotImplementedError``: 必要な `LlamaIndex`_ パッケージをインストールしてください。"
255
256 msgid "a `pdf_markdown_reader.PDFMarkdownReader` and issues message "Successfully imported LlamaIndex". Please note that this method needs several seconds to execute. For details on using the markdown reader please see below."
257 msgstr "``pdf_markdown_reader.PDFMarkdownReader`` と、メッセージ「Successfully imported LlamaIndex」を返します。このメソッドの実行には数秒かかることに注意してください。マークダウンリーダーの使用方法の詳細については、以下を参照してください。"
258
259 msgid "This class is not available in \"layout mode\", i.e. if the import of pymupdf4llm has happened **after** the statement ``import pymupdf.layout``."
260 msgstr "このクラスは「レイアウトモード」では利用できません。つまり、pymupdf4llmのインポートが ``import pymupdf.layout`` ステートメントの **後に** 行われた場合は利用できません。"
261
262 msgid "Create an object which maps text font sizes to the respective number of '#' characters which are used by Markdown syntax to indicate header levels. The object is created by scanning the document for font size \"popularity\". The most popular font size and all smaller sizes are used for body text. Larger font sizes are mapped to the respective header levels - which correspond to the HTML tags `<h1>` to `<h6>`."
263 msgstr "テキストフォントサイズをマークダウン構文でヘッダーレベルを示すために使用される '#' 文字の数にマッピングするオブジェクトを作成します。このオブジェクトは、ドキュメントをスキャンしてフォントサイズの「人気度」を調べることで作成されます。最も一般的なフォントサイズとそれより小さいすべてのサイズは本文テキストに使用されます。より大きいフォントサイズは、それぞれのヘッダーレベル(HTMLタグ ``<h1>`` から ``<h6>`` に対応)にマッピングされます。"
264
265 msgid "All font sizes are rounded to integer values."
266 msgstr "すべてのフォントサイズは整数値に丸められます。"
267
268 msgid "If more than 6 header levels would be required, then the largest number smaller than the `<h6>` font size is used for body text."
269 msgstr "6つを超えるヘッダーレベルが必要な場合、``<h6>`` フォントサイズより小さい最大の数値が本文テキストに使用されます。"
270
271 msgid "Please note that creating the object will read and inspect the text of the entire document - independently of reading the document again in the `to_markdown()` method subsequently. Method `to_markdown()` by default **will create this object** if you do not override its `hdr_info=None` parameter."
272 msgstr "オブジェクトの作成は、その後 ``to_markdown()`` メソッドでドキュメントを再度読み取ることとは独立して、ドキュメント全体のテキストを読み取って検査することに注意してください。``to_markdown()`` メソッドは、``hdr_info=None`` パラメータを上書きしない場合、デフォルトで **このオブジェクトを作成します**。"
273
274 msgid "the file, to be specified either as a file path string, or as a |PyMuPDF| Document (created via `pymupdf.open`). In order to use `pathlib.Path` specifications, Python file-like objects, documents in memory etc. you **must** use a |PyMuPDF| Document."
275 msgstr "ファイルは、ファイルパス文字列、または |PyMuPDF| Document (``pymupdf.open`` で作成) のいずれかで指定します。``pathlib.Path`` 指定、Pythonファイル風オブジェクト、メモリ内ドキュメントなどを使用する場合は、|PyMuPDF| Document を **必ず** 使用してください。"
276
277 msgid "optional, the pages to consider. If omitted all pages are processed."
278 msgstr "オプションで、考慮するページを指定します。省略した場合、すべてのページが処理されます。"
279
280 msgid "the default font size limit for body text. Only used when the document scan does not deliver valid information."
281 msgstr "本文テキストのデフォルトのフォントサイズ下限です。ドキュメントスキャンが有効な情報を提供しない場合にのみ使用されます。"
282
283 msgid "the maximum number of header levels to be used. Valid values are in `range(1, 7)`. The default is 6, which corresponds to the HTML tags `<h1>` to `<h6>`. A smaller value will limit the number of generated header levels. For instance, a value of 3 will only generate header tags \"#\", \"##\" and \"###\". Body text will be assumed for all font sizes smaller than the one corresponding to \"###\"."
284 msgstr "使用する最大ヘッダーレベル数です。有効な値は ``range(1, 7)`` 内です。デフォルトは6で、HTMLタグ ``<h1>`` から ``<h6>`` に対応します。より小さい値を指定すると、生成されるヘッダーレベルの数が制限されます。たとえば、値3を指定すると、ヘッダータグ「#」、「##」、「###」のみが生成されます。「###」に対応するフォントサイズより小さいすべてのフォントサイズは本文テキストと見なされます。"
285
286 msgid "Return appropriate markdown header prefix. This is either \"\" or a string of \"#\" characters followed by a space."
287 msgstr "適切なマークダウンヘッダープレフィックスを返します。これは空文字列 ``""``、または「#」文字列とそれに続くスペースのいずれかです。"
288
289 msgid "Given a text span from a \"dict\" extraction, determine the markdown header prefix string of 0 to n concatenated '#' characters."
290 msgstr "「dict」抽出からのテキストスパンを指定すると、0からn個の連結された「#」文字からなるマークダウンヘッダープレフィックス文字列を決定します。"
291
292 msgid "a dictionary containing the text span information. This is the same dictionary as returned by `page.get_text(\"dict\")`."
293 msgstr "テキストスパン情報を含む辞書です。これは ``page.get_text("dict")`` によって返される辞書と同じものです。"
294
295 msgid "the owning page object. This can be used when additional information needs to be extracted."
296 msgstr "所有するページオブジェクトです。追加情報を抽出する必要がある場合に使用できます。"
297
298 msgid "a string of \"#\" characters followed by a space."
299 msgstr "「#」文字列とそれに続くスペースです。"
300
301 msgid "A dictionary mapping (integer) font sizes to Markdown header strings like ``{14: '# ', 12: '## '}``. The dictionary is created by the :class:`IdentifyHeaders` constructor. The keys are the font sizes of the text spans in the document. The values are the respective header strings."
302 msgstr "整数のフォントサイズを ``{14: '# ', 12: '## '}`` のようなマークダウンヘッダー文字列にマッピングする辞書です。この辞書は :class:`IdentifyHeaders` コンストラクタによって作成されます。キーはドキュメント内のテキストスパンのフォントサイズです。値はそれぞれのヘッダー文字列です。"
303
304 msgid "An integer value indicating the font size limit for body text. This is computed as ``min(header_id.keys()) - 1``. In the above example, body_limit would be 11."
305 msgstr "本文テキストのフォントサイズ下限を示す整数値です。これは ``min(header_id.keys()) - 1`` として計算されます。上記の例では、body_limitは11になります。"
306
307 msgid "**How to limit header levels (example)**"
308 msgstr "**ヘッダーレベルを制限する方法(例)**"
309
310 msgid "Limit the generated header levels to 3::"
311 msgstr "生成されるヘッダーレベルを3に制限します::"
312
313 msgid "**How to provide your own header logic (example 1)**"
314 msgstr "**独自のヘッダーロジックを提供する方法(例1)**"
315
316 msgid "Provide your own function which uses pre-determined, fixed font sizes::"
317 msgstr "事前に決定された固定のフォントサイズを使用する独自の関数を提供します::"
318
319 msgid "**How to provide your own header logic (example 2)**"
320 msgstr "**独自のヘッダーロジックを提供する方法(例2)**"
321
322 msgid "This user function uses the document's Table of Contents -- under the assumption that the bookmark text is also present as a header line on the page (which certainly need not be the case!)::"
323 msgstr "このユーザー関数はドキュメントの目次を使用します。ブックマークテキストがヘッダー行としてページ上にも存在することを前提としています(これは必ずしもそうであるとは限りません!)::"
324
325 msgid "Create an object which uses the document's Table of Contents (TOC) to determine header levels. Upon object creation, the table of contents is read via the `Document.get_toc()` method. The TOC data is then used to determine header levels in the `to_markdown()` method."
326 msgstr "ドキュメントの目次(TOC)を使用してヘッダーレベルを決定するオブジェクトを作成します。オブジェクト作成時に、``Document.get_toc()`` メソッドを介して目次が読み取られます。その後、TOCデータは ``to_markdown()`` メソッドでヘッダーレベルを決定するために使用されます。"
327
328 msgid "This is an alternative to :class:`IdentifyHeaders`. Instead of running through the full document to identify font sizes, it uses the document's Table Of Contents (TOC) to identify headers on pages. Like :class:`IdentifyHeaders`, this also is no guarantee to find headers, but for well-built Table of Contents, there is a good chance for more correctly identifying header lines on document pages than the font-size-based approach."
329 msgstr "これは :class:`IdentifyHeaders` の代替手段です。フォントサイズを識別するためにドキュメント全体を実行する代わりに、ドキュメントの目次(TOC)を使用してページ上のヘッダーを識別します。:class:`IdentifyHeaders` と同様に、これもヘッダーを見つけることを保証するものではありませんが、適切に構築された目次の場合、フォントサイズベースのアプローチよりもドキュメントページ上のヘッダー行をより正確に識別できる可能性が高くなります。"
330
331 msgid "It also has the advantage of being much faster than the font-size-based approach, as it does not execute a full document scan or even access any of the document pages."
332 msgstr "また、ドキュメント全体のスキャンを実行したり、ドキュメントページにアクセスしたりしないため、フォントサイズベースのアプローチよりもはるかに高速であるという利点もあります。"
333
334 msgid "Examples where this approach works very well are the Adobe's files on PDF documentation."
335 msgstr "このアプローチが非常にうまく機能する例としては、AdobeのPDFドキュメントに関するファイルがあります。"
336
337 msgid "Please note that this feature **does not read document pages** where the table of contents may exist as normal standard text. It only accesses data as provided by the `Document.get_toc()` method. It will not identify any headers for documents where the table of contents is not available as a collection of bookmarks."
338 msgstr "この機能は、目次が通常の標準テキストとして存在する可能性のある **ドキュメントページを読み取りません**。``Document.get_toc()`` メソッドによって提供されるデータにのみアクセスします。目次がブックマークのコレクションとして利用できないドキュメントの場合、ヘッダーを識別しません。"
339
340 msgid "Return appropriate markdown header prefix. This is either an empty string or a string of \"#\" characters followed by a space."
341 msgstr "適切なマークダウンヘッダープレフィックスを返します。これは空文字列、または「#」文字列とそれに続くスペースのいずれかです。"
342
343 msgid "Given a text span from a \"dict\" extraction variant, determine the markdown header prefix string of 0 to n concatenated \"#\" characters."
344 msgstr "「dict」抽出バリアントからのテキストスパンを指定すると、0からn個の連結された「#」文字からなるマークダウンヘッダープレフィックス文字列を決定します。"
345
346 msgid "a dictionary containing the text span information. This is the same dictionary as returned by `page.get_text(\"dict\")`."
347 msgstr "テキストスパン情報を含む辞書です。これは ``page.get_text("dict")`` によって返される辞書と同じものです。"
348
349 msgid "the owning page object. This can be used when additional information needs to be extracted."
350 msgstr "テキストスパン情報を含む辞書です。これは ``page.get_text("dict")`` によって返される辞書と同じものです。"
351
352 msgid "a string of \"#\" characters followed by a space."
353 msgstr "「#」文字列とそれに続くスペースです。"
354
355 msgid "**How to use class TocHeaders**"
356 msgstr "**TocHeaders クラスの使用方法**"
357
358 msgid "This is a version of previous **example 2** that uses :class:`TocHeaders` for header identification::"
359 msgstr "これは、ヘッダー識別に :class:`TocHeaders` を使用する以前の **例2** のバージョンです"
360
361 msgid "This is the only method of the markdown reader you should currently use to extract markdown data. Please in any case ignore methods `aload_data()` and `lazy_load_data()`. Other methods like `use_doc_meta()` may or may not make sense. For more information, please consult the LlamaIndex documentation [#f1]_."
362 msgstr "これは、マークダウンデータを抽出するために現在使用すべきマークダウンリーダーの唯一のメソッドです。いかなる場合でも、``aload_data()`` および ``lazy_load_data()`` メソッドは無視してください。``use_doc_meta()`` などの他のメソッドは、意味がある場合とない場合があります。詳細については、LlamaIndexのドキュメント [#f1]_ を参照してください。"
363
364 msgid "Under the hood the method will execute `to_markdown()`."
365 msgstr "内部的には、このメソッドは ``to_markdown()`` を実行します。"
366
367 msgid "a list of `LlamaIndexDocument` documents - one for each page."
368 msgstr "``LlamaIndexDocument`` ドキュメントのリストです。ページごとに1つです。"
369
370 msgid "For a list of changes, please see file `CHANGES.md <https://github.com/pymupdf/RAG/blob/main/CHANGES.md>`_."
371 msgstr "変更点の一覧については、ファイル `CHANGES.md <https://github.com/pymupdf/RAG/blob/main/CHANGES.md>`_ を参照してください。"
372
373 msgid "`LlamaIndex documentation <https://docs.llamaindex.ai/en/stable/>`_"
374 msgstr "`LlamaIndexドキュメント <https://docs.llamaindex.ai/en/stable/>`_"
375
376 msgid "When using PyMuPDF-Pro, supported office documents are converted internally into a PDF-like format. Therefore, they **will have fixed page dimensions** and be no longer "reflowable". Consequently, the page width and page height specifications will be ignored as well in these cases."
377 msgstr "PyMuPDF-Proを使用する場合、サポートされているオフィスドキュメントは内部的にPDF形式に変換されます。したがって、これらは **固定のページサイズを持ち**、「リフロー可能」ではなくなります。その結果、これらの場合はページ幅とページ高さの指定も無視されます。"
378
379 msgid "Footnotes"
380 msgstr "脚注"
381