# PyMuPDF Japanese documentation # Copyright (C) 2015-2023, Artifex # This file is distributed under the same license as the PyMuPDF package. # Jamie Lemon , 2023. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PyMuPDF 1.23.0rc1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2025-04-17 15:00+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Suzan Sanver \n" "Language: ja\n" "Language-Team: ja \n" "Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.10.3\n" #: ../../header.rst:-1 a244f13b9c764d21b6a4e35ef573b3fc msgid "Artifex" msgstr "" #: ../../header.rst:-1 9bd00aa1c6e2464c98edbdfe23c4f225 msgid "" "PyMuPDF is a high-performance Python library for data extraction, " "analysis, conversion & manipulation of PDF (and other) documents." msgstr "PyMuPDF は、PDF (およびその他の)ドキュメントのデータ抽出、分析、変換、操作のための高性能な Python ライブラリです。" #: ../../header.rst:-1 0bb8ce2fa7b8439cb16f9ec725fae345 msgid "" "PDF Text Extraction, PDF Image Extraction, PDF Conversion, PDF Tables, " "PDF Splitting, PDF Creation, Pyodide, PyScript" msgstr "PDFテキスト抽出、PDFイメージ抽出、PDF変換、PDFテーブル、PDF分割、PDF作成, Pyodide, PyScript" #: ../../algebra.rst:6 a46fc8868909429d85fea1440fd28881 msgid "Operator Algebra for Geometry Objects" msgstr "幾何学オブジェクトのためのオペレーター代数" #: ../../algebra.rst:10 f2868bfbb77d48739b417240e859be75 msgid "" "Instances of classes :ref:`Point`, :ref:`IRect`, :ref:`Rect`, :ref:`Quad`" " and :ref:`Matrix` are collectively also called \"geometry\" objects." msgstr "" "クラス :ref:`Point` 、 :ref:`IRect` 、 :ref:`Rect` 、 :ref:`Quad` 、および " ":ref:`Matrix` のインスタンスは、集合的に「幾何学オブジェクト」とも呼ばれます。" #: ../../algebra.rst:12 7c7e99aaa08449cc9a3e4a9c1891053e msgid "" "They all are special cases of Python sequences, see :ref:`SequenceTypes` " "for more background." msgstr "これらはすべてPythonシーケンスの特殊なケースであり、詳細については、PyMuPDFでのPythonシーケンスを引数として使用するを参照してください。" #: ../../algebra.rst:14 b6a45b1271a0423d9097d983f99dac54 msgid "" "We have defined operators for these classes that allow dealing with them " "(almost) like ordinary numbers in terms of addition, subtraction, " "multiplication, division, and some others." msgstr "これらのクラスには、加算、減算、乗算、除算など、通常の数値とほぼ同じように取り扱うための演算子が定義されています。" #: ../../algebra.rst:16 b84d121c948844b78d31027bcf1cc8bb msgid "This chapter is a synopsis of what is possible." msgstr "この章では、可能な操作の要約を説明します。" #: ../../algebra.rst:19 8da4401664bf45689416d5a624615e21 msgid "General Remarks" msgstr "一般的な注意事項" #: ../../algebra.rst:20 b27e0413604140b6a4e3d9dd5604397e msgid "" "Operators can be either **binary** (i.e. involving two objects) or " "**unary**." msgstr "演算子は2つのオブジェクトを含むバイナリ演算子または単項演算子になります。" #: ../../algebra.rst:22 ff83ad4ef4924a928f7fe7c91f007de7 msgid "" "The resulting type of **binary** operations is either a **new object of " "the left operand's class,** a bool or (for dot products) a float." msgstr "バイナリ演算の結果の型は、左オペランドのクラスの新しいオブジェクトまたはbool型です。" #: ../../algebra.rst:24 b6935b28e0494757bdefacd86e1f3a36 msgid "" "The result of **unary** operations is either a **new object** of the same" " class, a bool or a float." msgstr "単項演算の結果は、同じクラスの新しいオブジェクト、bool型、またはfloat型のいずれかです。" #: ../../algebra.rst:26 a1336f1afec74044ada260ccd870436a msgid "" "The binary operators `+, -, *, /` are defined for all classes. They " "*roughly* do what you would expect -- **except, that the second operand " "...**" msgstr "" "バイナリ演算子 ``+`` 、``-`` 、``*`` 、 ``/`` " "はすべてのクラスで定義されています。これらはおおよその期待通りの動作をしますが、2番目のオペランドは...(省略されました)。" #: ../../algebra.rst:28 e18cb846582247cb975a9ddc6340a73e msgid "" "may always be a number which then performs the operation on every " "component of the first one," msgstr "第2のオペランドは常に数値であり、それにより最初のオペランドのすべての要素に対して操作を行います。" #: ../../algebra.rst:29 e60ed0a7fa554df0a16910687c2c88be msgid "" "may always be a numeric sequence of the same length (2, 4 or 6) -- we " "call such sequences :data:`point_like`, :data:`rect_like`, " ":data:`quad_like` or :data:`matrix_like`, respectively." msgstr "" "第2のオペランドは常に同じ長さの数値のシーケンスであることができます(2つ、4つ、または6つ) - それぞれ :data:`point_like`" " 、 :data:`rect_like` 、 :data:`quad_like` 、または :data:`matrix_like` と呼びます。" #: ../../algebra.rst:31 d93daa3887f04faead0f46a53b4c2a9a msgid "" "Rectangles support **additional binary** operations: **intersection** " "(operator `\"&\"`), **union** (operator `\"|\"`) and **containment** " "checking." msgstr "矩形は追加のバイナリ演算をサポートしています:交差(演算子“&”)、結合(演算子“|”)、および包含チェック。" #: ../../algebra.rst:33 03d276c145154e428f81b4e854a12723 msgid "" "Binary operators fully support in-place operations. So if \"°\" is a " "binary operator then the expression `a °= b` is always valid and the same" " as `a = a ° b`. Therefore, be careful and do **not** do `p1 *= p2` for " "two points, because thereafter \"p1\" is a **float**." msgstr "バイナリ演算子は「インプレース演算」を完全にサポートしています。つまり、"°"がバイナリ演算子である場合、式 ``a °= b`` は常に有効であり、 ``a = a ° b`` と同じです。したがって、2つの点に対して ``p1 *= p2`` を行わないように注意してください。なぜなら、その後「p1」は浮動小数点数になってしまうからです。" #: ../../algebra.rst:37 b197551ac91841fba96a5406efd0e076 msgid "Unary Operations" msgstr "単項演算" #: ../../algebra.rst:40 ../../algebra.rst:59 299776843ce14340b3ffec69dbf18e83 #: 9ef10cc27f674df49def7dbf4b132848 msgid "Oper." msgstr "演算" #: ../../algebra.rst:40 ../../algebra.rst:59 0723d28bc56b478c85107cedb40b5793 #: 7bff453d3e3548e4910efaf0d7e280d4 msgid "Result" msgstr "結果" #: ../../algebra.rst:42 d7ac030d071642528ff3bf57fcc11bd3 msgid "bool(OBJ)" msgstr "" #: ../../algebra.rst:42 0d27ce4c315a43758b0c7f988ac2baca msgid "is false exactly if all components of OBJ are zero" msgstr "OBJのすべての成分がゼロの場合にのみfalse" #: ../../algebra.rst:43 3a98a962f2cb4317ad6986bbdec24e65 msgid "abs(OBJ)" msgstr "" #: ../../algebra.rst:43 6c1997e211ee4d939dd044c813508abb msgid "the rectangle area -- equal to norm(OBJ) for the other types" msgstr "他のタイプに対してnorm(OBJ)と等しい長方形の面積" #: ../../algebra.rst:44 94bcec1a0e3d4e96be8a96074d02378d msgid "norm(OBJ)" msgstr "" #: ../../algebra.rst:44 e0b98f2206cf4032b715abe02f8be8cd msgid "square root of the component squares (Euclidean norm)" msgstr "成分の二乗の平方根(ユークリッドノルム)" #: ../../algebra.rst:45 00744445072349b8b253bc092cc7bb87 msgid "+OBJ" msgstr "" #: ../../algebra.rst:45 0b56037ce3e04d528042a1a6098bb2f9 msgid "new copy of OBJ" msgstr "OBJの新しいコピー" #: ../../algebra.rst:46 0c1dfe4fe3344199b8b76d70f4f7d7f3 msgid "-OBJ" msgstr "" #: ../../algebra.rst:46 ef82c60af2dc4d238eba6b421e3047d9 msgid "new copy of OBJ with negated components" msgstr "成分が反転されたOBJの新しいコピー" #: ../../algebra.rst:47 ee6061816bb3437fa7e09c6d431dc788 msgid "~m" msgstr "" #: ../../algebra.rst:47 1e8a0c10344348238fc0f64c83edd642 msgid "inverse of matrix \"m\", or the null matrix if not invertible" msgstr "行列 \"m\" の逆行列、または逆行列が存在しない場合は零行列" #: ../../algebra.rst:52 398158a768f84b89a520021ea6d0a25f msgid "Binary Operations" msgstr "二項演算" #: ../../algebra.rst:53 01209ef26eeb4f6284e42a5165ad12aa msgid "" "These are expressions like `a ° b` where \"°\" is any of the operators " "`+, -, *, /`. Also binary operations are expressions of the form `a == b`" " and `b in a`." msgstr "これらは ``a ° b`` のような式であり、ここで「°」は ``+``, ``-``, ``*``, ``/`` などの演算子のいずれかです。また、バイナリ演算には ``a == b`` や ``b in a`` のような形式の式も含まれます。" #: ../../algebra.rst:55 347337c08b6e49ba8133b876c65de703 msgid "" "If \"b\" is a number, then the respective operation is executed for each " "component of \"a\". Otherwise, if \"b\" is **not a number,** then the " "following happens:" msgstr "もし「b」が数値である場合、それぞれの演算は「a」の各コンポーネントに対して実行されます。一方、「b」が数値ではない場合、以下のことが起こります:" #: ../../algebra.rst:61 882647f50a3548ada51850492e59336c msgid "a+b, a-b" msgstr "" #: ../../algebra.rst:61 529c2b3a1c8f440f8afd4fba9ce0396e msgid "component-wise execution, \"b\" must be \"a-like\"." msgstr "成分ごとの実行。\"b\" は \"a\" と同様の要素数である必要があります。" #: ../../algebra.rst:62 2606cc3b045c4835abe58d011464d50a msgid "a*m, a/m" msgstr "" #: ../../algebra.rst:62 7d3849829e3b4508827663e012314f30 msgid "" "\"a\" can be a point, rectangle or matrix and \"m\" is a " ":data:`matrix_like`. *\"a/m\"* is treated as *\"a*~m\"* (see note below " "for non-invertible matrices). If \"a\" is a **point** or a **rectangle**," " then *\"a.transform(m)\"* is executed. If \"a\" is a matrix, then matrix" " concatenation takes place." msgstr "" "\"a\" はポイント、矩形、または行列になりますが、\"m\" は :data:`matrix_like` でなければなりません。\"a/m\"" " は \"a*〜m\" として処理されます(非逆行列の場合は以下の注記を参照)。\"a\" " "がポイントまたは矩形の場合、\"a.transform(m)\" が実行されます。\"a\" が行列の場合、行列の連結が行われます。" #: ../../algebra.rst:67 b98d2bd8c76145a093239f6b2583ff78 msgid "a*b" msgstr "" #: ../../algebra.rst:67 55f9b0922451482484ef7fe2110fefb7 msgid "returns the **vector dot product** for a point \"a\" and point-like \"b\"." msgstr "点「a」と点のような「b」に対して、ベクトルの内積を返します。" #: ../../algebra.rst:68 2c02e64b04dd47a89a57341e5557c6f4 msgid "a&b" msgstr "" #: ../../algebra.rst:68 b1ebf38a599942378b28ecc93be28dbc msgid "" "**intersection rectangle:** \"a\" must be a rectangle and \"b\" " ":data:`rect_like`. Delivers the **largest rectangle** contained in both " "operands." msgstr "" "共通の長方形: \"a\" は長方形であり、\"b\" は :data:`rect_like` " "形式である必要があります。両方のオペランドに含まれる最大の長方形を返します。" #: ../../algebra.rst:71 6b94ffc704eb47269f5a3961a01cc914 msgid "a|b" msgstr "" #: ../../algebra.rst:71 f10408473ce74344941deb9adedaea81 msgid "" "**union rectangle:** \"a\" must be a rectangle, and \"b\" may be " ":data:`point_like` or :data:`rect_like`. Delivers the **smallest " "rectangle** containing both operands." msgstr "" "合併した長方形: \"a\" は長方形であり、\"b\" は 点のような :data:`point_like` :data:`rect_like`" " 形式である必要があります。両方のオペランドを含む最小の長方形を返します。" #: ../../algebra.rst:74 68ba14dfcb0944fb8f12d32ccd74acfc msgid "b in a" msgstr "" #: ../../algebra.rst:74 20c6156b787d407bba8ac0eb66d0003f msgid "" "if \"b\" is a number, then `b in tuple(a)` is returned. If \"b\" is " ":data:`point_like`, :data:`rect_like` or :data:`quad_like`, then \"a\" " "must be a rectangle, and `a.contains(b)` is returned." msgstr "" "もし \"b\" が数値である場合、 `b in tuple(a)` が返されます。もし \"b\" が :data:`point_like` " "形式、 :data:`rect_like` 形式、または :data:`quad_like` 形式である場合、\"a\" " "は長方形である必要があり、`a.contains(b)` が返されます。" #: ../../algebra.rst:77 14c642acfd6a4cc09dd70b7edfc9479d msgid "a == b" msgstr "" #: ../../algebra.rst:77 b5f52a2ccb364df6aafabfc00b804bfd msgid "``True`` if *bool(a-b)* is ``False`` (\"b\" may be \"a-like\")." msgstr "bool(a-b) が `False` であれば `True` を返します(\"b\"は\"a-like\"である可能性があります)。" #: ../../algebra.rst:81 91cf0864d56a40f89a084004444ece8e msgid "Please note an important difference to usual arithmetic:" msgstr "以下は通常の算術との重要な違いに注意してください:" #: ../../algebra.rst:83 c2257dafe2e54f93bdf6e878a27abb1e msgid "" "Matrix multiplication is **not commutative**, i.e. in general we have " "`m*n != n*m` for two matrices. Also, there are non-zero matrices which " "have no inverse, for example `m = Matrix(1, 0, 1, 0, 1, 0)`. If you try " "to divide by any of these, you will receive a `ZeroDivisionError` " "exception using operator *\"/\"*, e.g. for the expression " "`pymupdf.Identity / m`. But if you formulate `pymupdf.Identity * ~m`, the" " result will be `pymupdf.Matrix()` (the null matrix)." msgstr "" "行列の乗算は可換ではありません。つまり、一般に2つの行列に対して `m*n != n*m` " "が成り立ちます。また、逆行列を持たないゼロでない行列も存在します。例えば、`m = Matrix(1, 0, 1, 0, 1, 0)` " "のような行列があります。これらの行列で除算しようとすると、演算子 *\"/\"* を使用して `pymupdf.Identity / m` " "のような式で `ZeroDivisionError` 例外が発生します。しかし、`pymupdf.Identity * ~m` " "のように記述すると、結果は `pymupdf.Matrix()` (零行列)となります。" #: ../../algebra.rst:85 0e187d91aa3543128b18a63bdf168871 msgid "" "Admittedly, this represents an inconsistency, and we are considering to " "remove it. For the time being, you can choose to avoid an exception and " "check whether ~m is the null matrix, or accept a potential " "*ZeroDivisionError* by using `pymupdf.Identity / m`." msgstr "" "認めるところがあるかもしれませんが、これは矛盾を示しており、私たちはこれを取り除くことを検討しています。当面の間は、例外を回避し、`~m` " "が零行列であるかどうかをチェックするか、`pymupdf.Identity / m` を使用して `ZeroDivisionError` " "の可能性を受け入れることができます。" #: ../../algebra.rst:89 de603159545946e8bdc68fe78cd85024 msgid "" "With these conventions, all the usual algebra rules apply. For example, " "arbitrarily using brackets **(among objects of the same class!)** is " "possible: if r1, r2 are rectangles and m1, m2 are matrices, you can do " "this `(r1 + r2) * m1 * m2`." msgstr "" "これらの規則に従うと、すべての通常の代数のルールが適用されます。例えば、任意の括弧を使うことができます(同じクラスのオブジェクトの間で!):もし " "`r1`, `r2` が長方形であり、`m1`, `m2` が行列であれば、次のようにできます: `(r1 + r2) * m1 * m2` 。" #: ../../algebra.rst:90 2e9035f1be214ad5993be5461f301e62 msgid "" "For all objects of the same class, `a + b + c == (a + b) + c == a + (b + " "c)` is true." msgstr "同じクラスのオブジェクトに対して、 `a + b + c == (a + b) + c == a + (b + c)` が成り立ちます。" #: ../../algebra.rst:91 695f00e56afc43e8bbde8536925b9ffc msgid "" "For matrices in addition the following is true: `(m1 + m2) * m3 == m1 * " "m3 + m2 * m3` (distributivity property)." msgstr "行列の加法については、次のような性質が成り立ちます: `(m1 + m2) * m3 == m1 * m3 + m2 * m3` (分配律)。" #: ../../algebra.rst:92 85174e316c684b489921150e95d1aed3 msgid "" "**But the sequence of applying matrices is important:** If r is a " "rectangle and m1, m2 are matrices, then -- **caution!:**" msgstr "ただし、行列の適用順序が重要です:もし `r` が長方形であり、 `m1` , `m2` が行列である場合、注意してください!次のような場合:" #: ../../algebra.rst:93 8db6b272b39a4051b95fd6474751c244 msgid "`r * m1 * m2 == (r * m1) * m2 != r * (m1 * m2)`" msgstr "" #: ../../algebra.rst:96 5a5c13a7f2b542b59628658c7a3217f1 msgid "Some Examples" msgstr "いくつかの例" #: ../../algebra.rst:99 b685ff344b354dd6b03324c45389e661 msgid "Manipulation with numbers" msgstr "数値の操作" #: ../../algebra.rst:100 92463489f90f4556b3d5a7b306e1e7ac msgid "" "For the usual arithmetic operations, numbers are always allowed as second" " operand. In addition, you can formulate `\"x in OBJ\"`, where x is a " "number. It is implemented as `\"x in tuple(OBJ)\"`::" msgstr "" "通常の算術演算では、数値は常に第二オペランドとして使用できます。さらに、`\"x in OBJ\"` " "のように式を記述することもできます。ここで、xは数値です。これは `\"x in tuple(OBJ)\"` として実装されています::" #: ../../algebra.rst:108 d3192c1a63bb460ba17fe04f2de5b3ff msgid "" "The following will create the upper left quarter of a document page " "rectangle::" msgstr "以下は、ドキュメントページの四角形の左上の四分の一を作成します::" #: ../../algebra.rst:116 9f9d44b5091a4a65844a451e8d7c92c4 msgid "" "The following will deliver the **middle point of a line** that connects " "two points **p1** and **p2**::" msgstr "以下は、点 `p1` と点 `p2` を結ぶ直線の中点を求めます::" #: ../../algebra.rst:125 2908e3f62351463a817217bed9ee7101 msgid "" "Compute the **vector dot product** of two points. You can compute the " "**cosine of angles** and check orthogonality." msgstr "2つの点のベクトル内積を計算します。これにより、角度のコサインを計算したり、直交性を確認したりすることができます。" #: ../../algebra.rst:149 05936628739f4f5392d49359e0f8860d msgid "Manipulation with \"like\" Objects" msgstr "「Like」オブジェクトを用いた操作" #: ../../algebra.rst:151 64ff208b10184910a7052e2d2fde5560 msgid "" "The second operand of a binary operation can always be \"like\" the left " "operand. \"Like\" in this context means \"a sequence of numbers of the " "same length\". With the above examples::" msgstr "2項演算の第2オペランドは常に左オペランドと「like」することができます。「Like」とは、この文脈では「同じ長さの数列」という意味です。上記の例を用いて説明します。" #: ../../algebra.rst:162 7626451d4f89418ea6f21c0194766c1e msgid "To shift a rectangle for 5 pixels to the right, do this::" msgstr "長方形を右に5ピクセルシフトさせるには、次のようにします::" #: ../../algebra.rst:168 ffbacdbea5aa4828ab455e4e9da44bf2 msgid "" "Points, rectangles and matrices can be *transformed* with matrices. In " "PyMuPDF, we treat this like a **\"multiplication\"** (or resp. " "**\"division\"**), where the second operand may be \"like\" a matrix. " "Division in this context means \"multiplication with the inverted " "matrix\"::" msgstr "点、長方形、および行列は行列で変換できます。PyMuPDFでは、これを「乗算」(または「除算」とも)として扱います。ここで、第2オペランドは行列と「like」することができます。「除算」とは、この文脈では「逆行列との乗算」を意味します。" #: ../../algebra.rst:208 f6063ded1f794fdfa330d05aab12b59a msgid "As a specialty, rectangles support additional binary operations:" msgstr "特に、長方形は追加の2項演算をサポートしています:" #: ../../algebra.rst:210 8ddb30b3a1e6414cb4ab801649852302 msgid "**intersection** -- the common area of rectangle-likes, operator *\"&\"*" msgstr "**交差** -- 長方形や類似の長方形の共通領域を示す演算子 *\"&\"*" #: ../../algebra.rst:211 44b3d1c0634a46f1ae3506fe5d9c9046 msgid "" "**inclusion** -- enlarge to include a point-like or rect-like, operator " "*\"|\"*" msgstr "**含有** -- 点状または長方形状を含むように拡大する演算子 *\"|\"*" #: ../../algebra.rst:212 462847c9ff494bef9387ce0aff093bfd msgid "**containment** check -- whether a point-like or rect-like is inside" msgstr "**含有確認** 点状または長方形状が内部にあるかどうかを確認します" #: ../../algebra.rst:214 8733fac916f74438a2cecf7b54a9c218 msgid "" "Here is an example for creating the smallest rectangle enclosing given " "points::" msgstr "以下は、与えられた点を囲む最小の長方形を作成する例です::" #: ../../footer.rst:60 1533c6c3a8344ce0b45e9762c0145328 msgid "This documentation covers all versions up to |version|." msgstr "このドキュメントは |version| までのすべてのバージョンを対象としています。" #~ msgid "PyMuPDF は、PDF (およびその他の)ドキュメントのデータ抽出、分析、変換、操作のための高性能な Python ライブラリです。" #~ msgstr "" #~ msgid "PDFテキスト抽出、PDFイメージ抽出、PDF変換、PDFテーブル、PDF分割、PDF作成, Pyodide, PyScript" #~ msgstr "" #~ msgid "" #~ "Binary operators fully support in-place" #~ " operations, so expressions like `a " #~ "/= b` are valid if b is " #~ "numeric or \"a_like\"." #~ msgstr "" #~ "バイナリ演算子は、すべての場所で完全にサポートされているため、``b`` が数値または「a_like」の場合、 " #~ "``a /= b`` のような式が有効です" #~ msgid "" #~ "For every geometry object \"a\" and " #~ "every number \"b\", the operations \"a" #~ " ° b\" and \"a °= b\" are " #~ "always defined for the operators *+, " #~ "-, *, /*. The respective operation " #~ "is simply executed for each component" #~ " of \"a\". If the **second operand" #~ " is not a number**, then the " #~ "following is defined:" #~ msgstr "" #~ "あらゆるジオメトリオブジェクト\"a\"とあらゆる数値 \"b\" に対して、演算子 ``+``," #~ " ``-`` , ``*`` , ``/`` については常に " #~ "\"a ° b\" と \"a °= b\" " #~ "の操作が定義されています。それぞれの操作は、\"a\" " #~ "の各成分に対して単純に実行されます。もし第二オペランドが数値でない場合、次のように定義されます:" #~ msgid "Discord logo" #~ msgstr ""