Repository navigation
Expand file tree
/
Copy pathcompression.zstd.po
More file actions
1454 lines (1279 loc) · 67.2 KB
/
Copy pathcompression.zstd.po
File metadata and controls
1454 lines (1279 loc) · 67.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
# Inada Naoki <songofacandy@gmail.com>, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-10-25 17:19+0000\n"
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
"ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
msgid ""
":mod:`!compression.zstd` --- Compression compatible with the Zstandard format"
msgstr ":mod:`!compression.zstd` --- Zstandard 形式に対応した圧縮"
msgid "**Source code:** :source:`Lib/compression/zstd/__init__.py`"
msgstr "**ソースコード:** :source:`Lib/compression/zstd/__init__.py`"
msgid ""
"This module provides classes and functions for compressing and decompressing "
"data using the Zstandard (or *zstd*) compression algorithm. The `zstd manual "
"<https://facebook.github.io/zstd/doc/api_manual_latest.html>`__ describes "
"Zstandard as \"a fast lossless compression algorithm, targeting real-time "
"compression scenarios at zlib-level and better compression ratios.\" Also "
"included is a file interface that supports reading and writing the contents "
"of ``.zst`` files created by the :program:`zstd` utility, as well as raw "
"zstd compressed streams."
msgstr ""
"このモジュールは、Zstandard (または *zstd*) 圧縮アルゴリズムを使ってデータを"
"圧縮・展開するクラスと関数を提供します。\n"
"`zstd マニュアル <https://facebook.github.io/zstd/doc/"
"api_manual_latest.html>`__ では、Zstandard を「zlib と同等以上の圧縮率で、リ"
"アルタイム圧縮を対象とした高速な可逆圧縮アルゴリズム」と説明しています。\n"
":program:`zstd` ユーティリティで作成した ``.zst`` ファイルの内容や、生の "
"zstd 圧縮ストリームの読み書きをサポートするファイルインターフェースも含まれて"
"います。"
msgid "The :mod:`!compression.zstd` module contains:"
msgstr ":mod:`!compression.zstd` モジュールには次のものが含まれています:"
msgid ""
"The :func:`.open` function and :class:`ZstdFile` class for reading and "
"writing compressed files."
msgstr ""
"圧縮ファイルを読み書きする :func:`.open` 関数と :class:`ZstdFile` クラス。"
msgid ""
"The :class:`ZstdCompressor` and :class:`ZstdDecompressor` classes for "
"incremental (de)compression."
msgstr ""
"インクリメンタルに圧縮・展開を行う :class:`ZstdCompressor` クラス"
"と :class:`ZstdDecompressor` クラス。"
#: ../../library/compression.zstd.rst:29
msgid ""
"The :func:`compress` and :func:`decompress` functions for one-shot "
"(de)compression."
msgstr ""
"一度に圧縮・展開を行う :func:`compress` および :func:`decompress` 関数。"
msgid ""
"The :func:`train_dict` and :func:`finalize_dict` functions and "
"the :class:`ZstdDict` class to train and manage Zstandard dictionaries."
msgstr ""
"Zstandard 辞書を学習・管理する :func:`train_dict` 関"
"数、:func:`finalize_dict` 関数、:class:`ZstdDict` クラス。"
msgid ""
"The :class:`CompressionParameter`, :class:`DecompressionParameter`, "
"and :class:`Strategy` classes for setting advanced (de)compression "
"parameters."
msgstr ""
"圧縮・展開の高度なパラメータを設定する :class:`CompressionParameter` クラ"
"ス、:class:`DecompressionParameter` クラス、:class:`Strategy` クラス。"
msgid ""
"This is an :term:`optional module`. If it is missing from your copy of "
"CPython, look for documentation from your distributor (that is, whoever "
"provided Python to you). If you are the distributor, see :ref:`optional-"
"module-requirements`."
msgstr ""
"これは :term:`オプションのモジュール <optional module>` です。\n"
"お使いの CPython に含まれていない場合は、配布元 (Python を提供した組織や人) "
"のドキュメントを確認してください。\n"
"配布する側の方は、:ref:`optional-module-requirements` を参照してください。"
#: ../../library/compression.zstd.rst:40
msgid "Exceptions"
msgstr "例外"
msgid ""
"This exception is raised when an error occurs during compression or "
"decompression, or while initializing the (de)compressor state."
msgstr ""
"圧縮・展開中、または圧縮・展開オブジェクトの状態の初期化中にエラーが発生する"
"と送出される例外です。"
#: ../../library/compression.zstd.rst:49
msgid "Reading and writing compressed files"
msgstr "圧縮ファイルへの読み書き"
msgid ""
"Open a Zstandard-compressed file in binary or text mode, returning "
"a :term:`file object`."
msgstr ""
"Zstandard で圧縮されたファイルをバイナリモードまたはテキストモードで開"
"き、:term:`ファイルオブジェクト <file object>` を返します。"
msgid ""
"The *file* argument can be either a file name (given as "
"a :class:`str`, :class:`bytes` or :term:`path-like <path-like object>` "
"object), in which case the named file is opened, or it can be an existing "
"file object to read from or write to."
msgstr ""
"*file* 引数には、ファイル名 (:class:`str`、:class:`bytes`、または :term:`パス"
"状オブジェクト <path-like object>`) を指定でき、その場合はその名前のファイル"
"を開きます。\n"
"また、読み書きする既存のファイルオブジェクトも指定できます。"
msgid ""
"The mode argument can be either ``'rb'`` for reading (default), ``'wb'`` for "
"overwriting, ``'ab'`` for appending, or ``'xb'`` for exclusive creation. "
"These can equivalently be given as ``'r'``, ``'w'``, ``'a'``, and ``'x'`` "
"respectively. You may also open in text mode with ``'rt'``, ``'wt'``, "
"``'at'``, and ``'xt'`` respectively."
msgstr ""
"``mode`` 引数には、読み込み用 (デフォルト) の ``'rb'``、上書き用の ``'wb'``、"
"追記用の ``'ab'``、排他的な作成用の ``'xb'`` のいずれかを指定できます。\n"
"それぞれ ``'r'``、``'w'``、``'a'``、``'x'`` と指定しても同じです。\n"
"それぞれ ``'rt'``、``'wt'``、``'at'``、``'xt'`` を指定してテキストモードで開"
"くこともできます。"
msgid ""
"When reading, the *options* argument can be a dictionary providing advanced "
"decompression parameters; see :class:`DecompressionParameter` for detailed "
"information about supported parameters. The *zstd_dict* argument is "
"a :class:`ZstdDict` instance to be used during decompression. When reading, "
"if the *level* argument is not None, a :exc:`!TypeError` will be raised."
msgstr ""
"読み込み時には、展開の高度なパラメータを指定する辞書を *options* 引数に渡せま"
"す。\n"
"サポートされるパラメータの詳細は :class:`DecompressionParameter` を参照してく"
"ださい。\n"
"*zstd_dict* 引数は、展開時に使う :class:`ZstdDict` インスタンスです。\n"
"読み込み時に *level* 引数が ``None`` でない場合は :exc:`!TypeError` を送出し"
"ます。"
msgid ""
"When writing, the *options* argument can be a dictionary providing advanced "
"compression parameters; see :class:`CompressionParameter` for detailed "
"information about supported parameters. The *level* argument is the "
"compression level to use when writing compressed data. Only one of *level* "
"or *options* may be non-None. The *zstd_dict* argument is "
"a :class:`ZstdDict` instance to be used during compression."
msgstr ""
"書き込み時には、圧縮の高度なパラメータを指定する辞書を *options* 引数に渡せま"
"す。\n"
"サポートされるパラメータの詳細は :class:`CompressionParameter` を参照してくだ"
"さい。\n"
"*level* 引数は、圧縮データを書き込む際の圧縮レベルです。\n"
"*level* と *options* のうち、``None`` 以外にできるのは一方だけです。\n"
"*zstd_dict* 引数は、圧縮時に使う :class:`ZstdDict` インスタンスです。"
msgid ""
"In binary mode, this function is equivalent to the :class:`ZstdFile` "
"constructor: ``ZstdFile(file, mode, ...)``. In this case, the *encoding*, "
"*errors*, and *newline* parameters must not be provided."
msgstr ""
"バイナリモードでは、この関数は :class:`ZstdFile` コンストラクタ "
"``ZstdFile(file, mode, ...)`` と等価です。\n"
"この場合、*encoding*、*errors*、*newline* パラメータを指定してはいけません。"
msgid ""
"In text mode, a :class:`ZstdFile` object is created, and wrapped in "
"an :class:`io.TextIOWrapper` instance with the specified encoding, error "
"handling behavior, and line endings."
msgstr ""
"テキストモードでは、:class:`ZstdFile` オブジェクトを作成し、指定されたエン"
"コーディング、エラー処理、改行文字で :class:`io.TextIOWrapper` インスタンスに"
"ラップします。"
msgid "Open a Zstandard-compressed file in binary mode."
msgstr "Zstandard で圧縮されたファイルをバイナリモードで開きます。"
msgid ""
"A :class:`ZstdFile` can wrap an already-open :term:`file object`, or operate "
"directly on a named file. The *file* argument specifies either the file "
"object to wrap, or the name of the file to open (as "
"a :class:`str`, :class:`bytes` or :term:`path-like <path-like object>` "
"object). If wrapping an existing file object, the wrapped file will not be "
"closed when the :class:`ZstdFile` is closed."
msgstr ""
":class:`ZstdFile` は、すでに開かれた :term:`ファイルオブジェクト <file "
"object>` をラップすることも、名前で指定したファイルを直接操作することもできま"
"す。\n"
"*file* 引数には、ラップするファイルオブジェクトか、開くファイルの名前 "
"(:class:`str`、:class:`bytes`、または :term:`パス状オブジェクト <path-like "
"object>`) を指定します。\n"
"既存のファイルオブジェクトをラップした場合、:class:`ZstdFile` を閉じても、"
"ラップされたファイルは閉じられません。"
msgid ""
"The *mode* argument can be either ``'rb'`` for reading (default), ``'wb'`` "
"for overwriting, ``'xb'`` for exclusive creation, or ``'ab'`` for appending. "
"These can equivalently be given as ``'r'``, ``'w'``, ``'x'`` and ``'a'`` "
"respectively."
msgstr ""
"*mode* 引数には、読み込み用 (デフォルト) の ``'rb'``、上書き用の ``'wb'``、排"
"他的な作成用の ``'xb'``、追記用の ``'ab'`` のいずれかを指定できます。\n"
"それぞれ ``'r'``、``'w'``、``'x'``、``'a'`` と指定しても同じです。"
msgid ""
"If *file* is a file object (rather than an actual file name), a mode of "
"``'w'`` does not truncate the file, and is instead equivalent to ``'a'``."
msgstr ""
"*file* が実際のファイル名ではなくファイルオブジェクトの場合、モード ``'w'`` "
"はファイルを切り詰めず、``'a'`` と等価になります。"
msgid ""
"When writing, the *options* argument can be a dictionary providing advanced "
"compression parameters; see :class:`CompressionParameter` for detailed "
"information about supported parameters. The *level* argument is the "
"compression level to use when writing compressed data. Only one of *level* "
"or *options* may be passed. The *zstd_dict* argument is a :class:`ZstdDict` "
"instance to be used during compression."
msgstr ""
"書き込み時には、圧縮の高度なパラメータを指定する辞書を *options* 引数に渡せま"
"す。\n"
"サポートされるパラメータの詳細は :class:`CompressionParameter` を参照してくだ"
"さい。\n"
"*level* 引数は、圧縮データを書き込む際の圧縮レベルです。\n"
"*level* と *options* は、一方しか渡せません。\n"
"*zstd_dict* 引数は、圧縮時に使う :class:`ZstdDict` インスタンスです。"
msgid ""
":class:`!ZstdFile` supports all the members specified "
"by :class:`io.BufferedIOBase`, except for :meth:`~io.BufferedIOBase.detach` "
"and :meth:`~io.IOBase.truncate`. Iteration and the :keyword:`with` statement "
"are supported."
msgstr ""
":class:`!ZstdFile` は、:meth:`~io.BufferedIOBase.detach` "
"と :meth:`~io.IOBase.truncate` を除き、:class:`io.BufferedIOBase` で規定され"
"たすべてのメンバーをサポートします。\n"
"反復処理と :keyword:`with` 文もサポートします。"
#: ../../library/compression.zstd.rst:132
msgid "The following method and attributes are also provided:"
msgstr "以下のメソッドと属性も提供されています:"
#: ../../library/compression.zstd.rst:136
msgid ""
"Return buffered data without advancing the file position. At least one byte "
"of data will be returned, unless EOF has been reached. The exact number of "
"bytes returned is unspecified (the *size* argument is ignored)."
msgstr ""
"ファイル上の現在位置を変更せずにバッファのデータを返します。EOF に達しない限"
"り、少なくとも 1 バイトが返されます。返される正確なバイト数は規定されていませ"
"ん (引数 *size* は無視されます)。"
msgid ""
"While calling :meth:`peek` does not change the file position of "
"the :class:`ZstdFile`, it may change the position of the underlying file "
"object (for example, if the :class:`ZstdFile` was constructed by passing a "
"file object for *file*)."
msgstr ""
":meth:`peek` を呼び出しても :class:`ZstdFile` のファイル位置は変わりません"
"が、基となるファイルオブジェクトの位置は変わる場合があります (例えば、*file* "
"にファイルオブジェクトを渡して :class:`ZstdFile` を構築した場合)。"
#: ../../library/compression.zstd.rst:147
msgid "``'rb'`` for reading and ``'wb'`` for writing."
msgstr "``'rb'`` は読み込み用、 ``'wb'`` は書き込み用です。"
msgid ""
"The name of the Zstandard file. Equivalent to the :attr:`~io.FileIO.name` "
"attribute of the underlying :term:`file object`."
msgstr ""
"Zstandard ファイルの名前です。\n"
"基となる :term:`ファイルオブジェクト <file object>` "
"の :attr:`~io.FileIO.name` 属性と等価です。"
#: ../../library/compression.zstd.rst:156
msgid "Compressing and decompressing data in memory"
msgstr "メモリ上での圧縮と展開"
msgid ""
"Compress *data* (a :term:`bytes-like object`), returning the compressed data "
"as a :class:`bytes` object."
msgstr ""
"*data* (:term:`バイト列状オブジェクト <bytes-like object>`) を圧縮し、圧縮"
"データを :class:`bytes` オブジェクトとして返します。"
msgid ""
"The *level* argument is an integer controlling the level of compression. "
"*level* is an alternative to "
"setting :attr:`CompressionParameter.compression_level` in *options*. "
"Use :meth:`~CompressionParameter.bounds` "
"on :attr:`~CompressionParameter.compression_level` to get the values that "
"can be passed for *level*. If advanced compression options are needed, the "
"*level* argument must be omitted and in the *options* dictionary the :attr:`!"
"CompressionParameter.compression_level` parameter should be set."
msgstr ""
"*level* 引数は、圧縮レベルを制御する整数です。\n"
"*level* は、*options* に :attr:`CompressionParameter.compression_level` を設"
"定する代わりに使えます。\n"
"*level* に渡せる値を取得するに"
"は、:attr:`~CompressionParameter.compression_level` "
"の :meth:`~CompressionParameter.bounds` を使ってください。\n"
"高度な圧縮オプションが必要な場合は *level* 引数を省略し、*options* 辞書"
"に :attr:`!CompressionParameter.compression_level` パラメータを設定してくださ"
"い。"
msgid ""
"The *options* argument is a Python dictionary containing advanced "
"compression parameters. The valid keys and values for compression parameters "
"are documented as part of the :class:`CompressionParameter` documentation."
msgstr ""
"*options* 引数は、高度な圧縮パラメータを含む Python の辞書です。\n"
"圧縮パラメータの有効なキーと値は、:class:`CompressionParameter` のドキュメン"
"トに記載されています。"
msgid ""
"The *zstd_dict* argument is an instance of :class:`ZstdDict` containing "
"trained data to improve compression efficiency. The "
"function :func:`train_dict` can be used to generate a Zstandard dictionary."
msgstr ""
"*zstd_dict* 引数は、圧縮効率を改善するための学習済みデータを含"
"む :class:`ZstdDict` インスタンスです。\n"
"Zstandard 辞書を生成するには :func:`train_dict` 関数を使えます。"
msgid ""
"Decompress *data* (a :term:`bytes-like object`), returning the uncompressed "
"data as a :class:`bytes` object."
msgstr ""
"*data* (:term:`バイト列状オブジェクト <bytes-like object>`) を展開し、展開し"
"たデータを :class:`bytes` オブジェクトとして返します。"
msgid ""
"The *options* argument is a Python dictionary containing advanced "
"decompression parameters. The valid keys and values for compression "
"parameters are documented as part of the :class:`DecompressionParameter` "
"documentation."
msgstr ""
"*options* 引数は、高度な展開パラメータを含む Python の辞書です。\n"
"パラメータの有効なキーと値は、:class:`DecompressionParameter` のドキュメント"
"に記載されています。"
msgid ""
"The *zstd_dict* argument is an instance of :class:`ZstdDict` containing "
"trained data used during compression. This must be the same Zstandard "
"dictionary used during compression."
msgstr ""
"*zstd_dict* 引数は、圧縮時に使った学習済みデータを含む :class:`ZstdDict` イン"
"スタンスです。\n"
"圧縮時に使ったものと同じ Zstandard 辞書でなければなりません。"
msgid ""
"If *data* is the concatenation of multiple distinct compressed frames, "
"decompress all of these frames, and return the concatenation of the results."
msgstr ""
"*data* が複数の独立した圧縮フレームを連結したものである場合、すべてのフレーム"
"を展開し、その結果を連結して返します。"
#: ../../library/compression.zstd.rst:201
msgid ""
"Create a compressor object, which can be used to compress data incrementally."
msgstr "データをインクリメンタルに圧縮する圧縮オブジェクトを作成します。"
msgid ""
"For a more convenient way of compressing a single chunk of data, see the "
"module-level function :func:`compress`."
msgstr ""
"単一のデータチャンクをより手軽に圧縮する方法については、モジュールレベル"
"の :func:`compress` 関数を参照してください。"
msgid ""
"The *zstd_dict* argument is an optional instance of :class:`ZstdDict` "
"containing trained data to improve compression efficiency. The "
"function :func:`train_dict` can be used to generate a Zstandard dictionary."
msgstr ""
"*zstd_dict* 引数は省略可能で、圧縮効率を改善するための学習済みデータを含"
"む :class:`ZstdDict` インスタンスを指定します。\n"
"Zstandard 辞書を生成するには :func:`train_dict` 関数を使えます。"
msgid ""
"Compress *data* (a :term:`bytes-like object`), returning a :class:`bytes` "
"object with compressed data if possible, or otherwise an empty :class:`!"
"bytes` object. Some of *data* may be buffered internally, for use in later "
"calls to :meth:`!compress` and :meth:`~.flush`. The returned data should be "
"concatenated with the output of any previous calls to :meth:`~.compress`."
msgstr ""
"*data* (:term:`バイト列状オブジェクト <bytes-like object>`) を圧縮し、可能で"
"あれば圧縮データを含む :class:`bytes` オブジェクトを返し、それ以外の場合は空"
"の :class:`!bytes` オブジェクトを返します。\n"
"*data* の一部は内部にバッファリングされ、後続の :meth:`!compress` "
"や :meth:`~.flush` の呼び出しで使われる場合があります。\n"
"返されたデータは、それ以前の :meth:`~.compress` の呼び出しによる出力と連結し"
"てください。"
msgid ""
"The *mode* argument is a :class:`ZstdCompressor` attribute, "
"either :attr:`~.CONTINUE`, :attr:`~.FLUSH_BLOCK`, or :attr:`~.FLUSH_FRAME`."
msgstr ""
"*mode* 引数は :class:`ZstdCompressor` の属性であ"
"る :attr:`~.CONTINUE`、:attr:`~.FLUSH_BLOCK`、:attr:`~.FLUSH_FRAME` のいずれ"
"かです。"
msgid ""
"When all data has been provided to the compressor, call the :meth:`~.flush` "
"method to finish the compression process. If :meth:`~.compress` is called "
"with *mode* set to :attr:`~.FLUSH_FRAME`, :meth:`~.flush` should not be "
"called, as it would write out a new empty frame."
msgstr ""
"すべてのデータを圧縮オブジェクトに渡したら、:meth:`~.flush` メソッドを呼び出"
"して圧縮処理を完了してください。\n"
"*mode* を :attr:`~.FLUSH_FRAME` にして :meth:`~.compress` を呼び出した場合"
"は、:meth:`~.flush` を呼び出さないでください。\n"
"呼び出すと、新しい空のフレームが書き出されます。"
#: ../../library/compression.zstd.rst:246
msgid ""
"Finish the compression process, returning a :class:`bytes` object containing "
"any data stored in the compressor's internal buffers."
msgstr ""
"圧縮処理を終了し、コンプレッサの内部バッファにあるあらゆるデータを格納す"
"る :class:`bytes` オブジェクトを返します。"
msgid ""
"The *mode* argument is a :class:`ZstdCompressor` attribute, "
"either :attr:`~.FLUSH_BLOCK`, or :attr:`~.FLUSH_FRAME`."
msgstr ""
"*mode* 引数は :class:`ZstdCompressor` の属性であ"
"る :attr:`~.FLUSH_BLOCK`、:attr:`~.FLUSH_FRAME` のいずれかです。"
msgid ""
"Specify the amount of uncompressed data *size* that will be provided for the "
"next frame. *size* will be written into the frame header of the next frame "
"unless :attr:`CompressionParameter.content_size_flag` is ``False`` or ``0``. "
"A size of ``0`` means that the frame is empty. If *size* is ``None``, the "
"frame header will omit the frame size. Frames that include the uncompressed "
"data size require less memory to decompress, especially at higher "
"compression levels."
msgstr ""
"次のフレームに渡す非圧縮データの量 *size* を指定します。\n"
":attr:`CompressionParameter.content_size_flag` が ``False`` または ``0`` でな"
"い限り、*size* は次のフレームのヘッダーに書き込まれます。\n"
"サイズが ``0`` の場合、そのフレームは空であることを意味します。\n"
"*size* が ``None`` の場合、フレームヘッダーからフレームサイズが省略されま"
"す。\n"
"非圧縮データのサイズを含むフレームは、特に圧縮レベルが高い場合、展開に必要な"
"メモリが少なくなります。"
msgid ""
"If :attr:`last_mode` is not :attr:`FLUSH_FRAME`, a :exc:`ValueError` is "
"raised as the compressor is not at the start of a frame. If the pledged size "
"does not match the actual size of data provided to :meth:`.compress`, future "
"calls to :meth:`!compress` or :meth:`flush` may raise :exc:`ZstdError` and "
"the last chunk of data may be lost."
msgstr ""
":attr:`last_mode` が :attr:`FLUSH_FRAME` でない場合、圧縮オブジェクトがフレー"
"ムの開始位置にないため、:exc:`ValueError` を送出します。\n"
"宣言したサイズが :meth:`.compress` に渡したデータの実際のサイズと一致しない場"
"合、その後の :meth:`!compress` や :meth:`flush` の呼び出し"
"で :exc:`ZstdError` が送出され、最後のデータチャンクが失われる可能性がありま"
"す。"
msgid ""
"After :meth:`flush` or :meth:`.compress` are called with "
"mode :attr:`FLUSH_FRAME`, the next frame will not include the frame size "
"into the header unless :meth:`!set_pledged_input_size` is called again."
msgstr ""
"``mode`` を :attr:`FLUSH_FRAME` にして :meth:`flush` また"
"は :meth:`.compress` を呼び出した後は、:meth:`!set_pledged_input_size` を再度"
"呼び出さない限り、次のフレームのヘッダーにフレームサイズは含まれません。"
msgid ""
"Collect more data for compression, which may or may not generate output "
"immediately. This mode optimizes the compression ratio by maximizing the "
"amount of data per block and frame."
msgstr ""
"圧縮するデータをさらに集めます。\n"
"すぐに出力が生成される場合も、されない場合もあります。\n"
"このモードはブロックとフレームあたりのデータ量を最大化することで圧縮率を最適"
"化します。"
msgid ""
"Complete and write a block to the data stream. The data returned so far can "
"be immediately decompressed. Past data can still be referenced in future "
"blocks generated by calls to :meth:`~.compress`, improving compression."
msgstr ""
"ブロックを完了し、データストリームに書き込みます。\n"
"それまでに返されたデータはすぐに展開できます。\n"
"その後の :meth:`~.compress` の呼び出しで生成するブロックからも過去のデータを"
"参照でき、圧縮率が向上します。"
msgid ""
"Complete and write out a frame. Future data provided to :meth:`~.compress` "
"will be written into a new frame and *cannot* reference past data."
msgstr ""
"フレームを完了して書き出します。\n"
"その後 :meth:`~.compress` に渡すデータは新しいフレームに書き込まれ、過去の"
"データを参照することは *できません*。"
msgid ""
"The last mode passed to either :meth:`~.compress` or :meth:`~.flush`. The "
"value can be one of :attr:`~.CONTINUE`, :attr:`~.FLUSH_BLOCK`, "
"or :attr:`~.FLUSH_FRAME`. The initial value is :attr:`~.FLUSH_FRAME`, "
"signifying that the compressor is at the start of a new frame."
msgstr ""
":meth:`~.compress` または :meth:`~.flush` に最後に渡されたモードです。\n"
"値は :attr:`~.CONTINUE`、:attr:`~.FLUSH_BLOCK`、:attr:`~.FLUSH_FRAME` のいず"
"れかです。\n"
"初期値は :attr:`~.FLUSH_FRAME` で、圧縮オブジェクトが新しいフレームの開始位置"
"にあることを表します。"
#: ../../library/compression.zstd.rst:302
msgid ""
"Create a decompressor object, which can be used to decompress data "
"incrementally."
msgstr ""
"データをインクリメンタルに展開するために使用できる展開オブジェクトを作成しま"
"す。"
msgid ""
"For a more convenient way of decompressing an entire compressed stream at "
"once, see the module-level function :func:`decompress`."
msgstr ""
"圧縮ストリーム全体を一度に展開する、より手軽な方法については、モジュールレベ"
"ルの :func:`decompress` 関数を参照してください。"
msgid ""
"This class does not transparently handle inputs containing multiple "
"compressed frames, unlike the :func:`decompress` function "
"and :class:`ZstdFile` class. To decompress a multi-frame input, you should "
"use :func:`decompress`, :class:`ZstdFile` if working with a :term:`file "
"object`, or multiple :class:`!ZstdDecompressor` instances."
msgstr ""
"このクラスは、:func:`decompress` 関数や :class:`ZstdFile` クラスとは異なり、"
"複数の圧縮フレームを含む入力を自動的には処理しません。\n"
"複数フレームの入力を展開するには、:func:`decompress`、:term:`ファイルオブジェ"
"クト <file object>` を扱う場合は :class:`ZstdFile`、または複数の :class:`!"
"ZstdDecompressor` インスタンスを使ってください。"
msgid ""
"Decompress *data* (a :term:`bytes-like object`), returning uncompressed data "
"as bytes. Some of *data* may be buffered internally, for use in later calls "
"to :meth:`!decompress`. The returned data should be concatenated with the "
"output of any previous calls to :meth:`!decompress`."
msgstr ""
"*data* (:term:`バイト列状オブジェクト <bytes-like object>`) を展開し、展開し"
"たデータをバイト列として返します。\n"
"*data* の一部は内部にバッファリングされ、後続の :meth:`!decompress` の呼び出"
"しで使われる場合があります。\n"
"返されたデータは、それ以前の :meth:`!decompress` の呼び出しによる出力と連結し"
"てください。"
msgid ""
"If *max_length* is non-negative, the method returns at most *max_length* "
"bytes of decompressed data. If this limit is reached and further output can "
"be produced (or EOF is reached), the :attr:`~.needs_input` attribute will be "
"set to ``False``. In this case, the next call to :meth:`~.decompress` may "
"provide *data* as ``b''`` to obtain more of the output. The full content can "
"thus be read like::"
msgstr ""
"*max_length* が非負の場合、このメソッドは展開したデータを最大 *max_length* バ"
"イト返します。\n"
"この上限に達し、さらに出力を生成できる場合 (または EOF に達した場"
"合)、:attr:`~.needs_input` 属性は ``False`` に設定されます。\n"
"この場合、次の :meth:`~.decompress` の呼び出しでは *data* に ``b''`` を渡し"
"て、さらに出力を取得できます。\n"
"そのため、内容全体は次のように読み取れます。 ::"
msgid ""
"process_output(d.decompress(data, max_length))\n"
"while not d.eof and not d.needs_input:\n"
" process_output(d.decompress(b\"\", max_length))"
msgstr ""
"process_output(d.decompress(data, max_length))\n"
"while not d.eof and not d.needs_input:\n"
" process_output(d.decompress(b\"\", max_length))"
msgid ""
"If all of the input data was decompressed and returned (either because this "
"was less than *max_length* bytes, or because *max_length* was negative), "
"the :attr:`~.needs_input` attribute will be set to ``True``."
msgstr ""
"入力データの全てが展開され返された (*max_length* バイトより少ないためか "
"*max_length* が負のため) 場合、\n"
":attr:`~.needs_input` 属性は ``True`` になります。"
msgid ""
"Attempting to decompress data after the end of a frame will raise "
"a :exc:`EOFError`. Any data found after the end of the frame is ignored and "
"saved in the :attr:`~.unused_data` attribute."
msgstr ""
"フレームの終端に達した後でデータを展開しようとすると、:exc:`EOFError` を送出"
"します。\n"
"フレームの終端より後にあるデータは無視され、:attr:`~.unused_data` 属性に保存"
"されます。"
#: ../../library/compression.zstd.rst:354
msgid "``True`` if the end-of-stream marker has been reached."
msgstr "ストリーム終端記号に到達した場合 ``True`` を返します。"
#: ../../library/compression.zstd.rst:358
msgid "Data found after the end of the compressed stream."
msgstr "圧縮ストリームの末尾以降に存在したデータを表します。"
msgid "Before the end of the stream is reached, this will be ``b''``."
msgstr "ストリームの終端に達するまでは ``b''`` です。"
msgid ""
"``False`` if the :meth:`.decompress` method can provide more decompressed "
"data before requiring new compressed input."
msgstr ""
":meth:`.decompress` メソッドが新たな圧縮入力を必要とせずに、さらに展開データ"
"を提供できる場合は ``False`` です。"
msgid "Zstandard dictionaries"
msgstr "Zstandard 辞書"
msgid ""
"Train a Zstandard dictionary, returning a :class:`ZstdDict` instance. "
"Zstandard dictionaries enable more efficient compression of smaller sizes of "
"data, which is traditionally difficult to compress due to less repetition. "
"If you are compressing multiple similar groups of data (such as similar "
"files), Zstandard dictionaries can improve compression ratios and speed "
"significantly."
msgstr ""
"Zstandard 辞書を学習し、:class:`ZstdDict` インスタンスを返します。\n"
"Zstandard 辞書を使うと、繰り返しが少ないため従来は圧縮が難しかった小さなデー"
"タを、より効率よく圧縮できます。\n"
"複数の似たデータ群 (似たファイルなど) を圧縮する場合、Zstandard 辞書によって"
"圧縮率と速度を大きく改善できます。"
msgid ""
"The *samples* argument (an iterable of :class:`bytes` objects), is the "
"population of samples used to train the Zstandard dictionary."
msgstr ""
"*samples* 引数 (:class:`bytes` オブジェクトのイテラブル) は、Zstandard 辞書の"
"学習に使うサンプルの集まりです。"
msgid ""
"The *dict_size* argument, an integer, is the maximum size (in bytes) the "
"Zstandard dictionary should be. The Zstandard documentation suggests an "
"absolute maximum of no more than 100 KB, but the maximum can often be "
"smaller depending on the data. Larger dictionaries generally slow down "
"compression, but improve compression ratios. Smaller dictionaries lead to "
"faster compression, but reduce the compression ratio."
msgstr ""
"整数の *dict_size* 引数は、Zstandard 辞書の最大サイズをバイト単位で指定しま"
"す。\n"
"Zstandard のドキュメントでは最大でも 100 KB 以下にすることを勧めていますが、"
"データによってはさらに小さな最大値で十分な場合があります。\n"
"一般に、辞書が大きいと圧縮は遅くなるものの圧縮率が向上します。\n"
"辞書が小さいと圧縮は速くなるものの圧縮率が低下します。"
msgid ""
"An advanced function for converting a \"raw content\" Zstandard dictionary "
"into a regular Zstandard dictionary. \"Raw content\" dictionaries are a "
"sequence of bytes that do not need to follow the structure of a normal "
"Zstandard dictionary."
msgstr ""
"「生の内容」の Zstandard 辞書を通常の Zstandard 辞書に変換する高度な関数で"
"す。\n"
"「生の内容」の辞書は、通常の Zstandard 辞書の構造に従う必要のないバイト列で"
"す。"
msgid ""
"The *zstd_dict* argument is a :class:`ZstdDict` instance with "
"the :attr:`~ZstdDict.dict_content` containing the raw dictionary contents."
msgstr ""
"*zstd_dict* 引数は、:attr:`~ZstdDict.dict_content` に生の辞書の内容を格納し"
"た :class:`ZstdDict` インスタンスです。"
msgid ""
"The *samples* argument (an iterable of :class:`bytes` objects), contains "
"sample data for generating the Zstandard dictionary."
msgstr ""
"*samples* 引数 (:class:`bytes` オブジェクトのイテラブル) は、Zstandard 辞書を"
"生成するためのサンプルデータを含みます。"
msgid ""
"The *dict_size* argument, an integer, is the maximum size (in bytes) the "
"Zstandard dictionary should be. See :func:`train_dict` for suggestions on "
"the maximum dictionary size."
msgstr ""
"整数の *dict_size* 引数は、Zstandard 辞書の最大サイズをバイト単位で指定しま"
"す。\n"
"辞書の最大サイズについての推奨は :func:`train_dict` を参照してください。"
msgid ""
"The *level* argument (an integer) is the compression level expected to be "
"passed to the compressors using this dictionary. The dictionary information "
"varies for each compression level, so tuning for the proper compression "
"level can make compression more efficient."
msgstr ""
"*level* 引数 (整数) は、この辞書を使う圧縮オブジェクトに渡す予定の圧縮レベル"
"です。\n"
"辞書の情報は圧縮レベルごとに異なるため、適切な圧縮レベルに調整すると圧縮効率"
"を改善できます。"
msgid ""
"A wrapper around Zstandard dictionaries. Dictionaries can be used to improve "
"the compression of many small chunks of data. Use :func:`train_dict` if you "
"need to train a new dictionary from sample data."
msgstr ""
"Zstandard 辞書のラッパです。\n"
"辞書を使うと、多数の小さなデータチャンクの圧縮を改善できます。\n"
"サンプルデータから新しい辞書を学習する必要がある場合は、:func:`train_dict` を"
"使ってください。"
msgid ""
"The *dict_content* argument (a :term:`bytes-like object`), is the already "
"trained dictionary information."
msgstr ""
"*dict_content* 引数 (:term:`バイト列状オブジェクト <bytes-like object>`) は、"
"学習済みの辞書情報です。"
msgid ""
"The *is_raw* argument, a boolean, is an advanced parameter controlling the "
"meaning of *dict_content*. ``True`` means *dict_content* is a \"raw "
"content\" dictionary, without any format restrictions. ``False`` means "
"*dict_content* is an ordinary Zstandard dictionary, created from Zstandard "
"functions, for example, :func:`train_dict` or the external :program:`zstd` "
"CLI."
msgstr ""
"真偽値の *is_raw* 引数は、*dict_content* の意味を制御する高度なパラメータで"
"す。\n"
"``True`` の場合、*dict_content* は形式の制約がない「生の内容」の辞書です。\n"
"``False`` の場合、*dict_content* は :func:`train_dict` などの Zstandard の関"
"数や外部の :program:`zstd` CLI で作成された通常の Zstandard 辞書です。"
msgid ""
"When passing a :class:`!ZstdDict` to a function, the :attr:`!"
"as_digested_dict` and :attr:`!as_undigested_dict` attributes can control how "
"the dictionary is loaded by passing them as the ``zstd_dict`` argument, for "
"example, ``compress(data, zstd_dict=zd.as_digested_dict)``. Digesting a "
"dictionary is a costly operation that occurs when loading a Zstandard "
"dictionary. When making multiple calls to compression or decompression, "
"passing a digested dictionary will reduce the overhead of loading the "
"dictionary."
msgstr ""
":class:`!ZstdDict` を関数に渡す際、:attr:`!as_digested_dict` または :attr:`!"
"as_undigested_dict` 属性を ``zstd_dict`` 引数として渡すと、辞書の読み込み方法"
"を制御できます。\n"
"例えば、``compress(data, zstd_dict=zd.as_digested_dict)`` とします。\n"
"辞書の前処理 (digest) は、Zstandard 辞書の読み込み時に行われるコストの高い処"
"理です。\n"
"圧縮や展開を複数回呼び出す場合、前処理済みの辞書を渡すと、辞書の読み込みにか"
"かるオーバーヘッドを減らせます。"
msgid "Difference for compression"
msgstr "圧縮時の違い"
msgid "Digested dictionary"
msgstr "前処理済みの辞書"
msgid "Undigested dictionary"
msgstr "前処理していない辞書"
msgid ""
"Advanced parameters of the compressor which may be overridden by the "
"dictionary's parameters"
msgstr ""
"辞書のパラメータによって上書きされる可能性がある圧縮オブジェクトの高度なパラ"
"メータ"
msgid ""
"``window_log``, ``hash_log``, ``chain_log``, ``search_log``, ``min_match``, "
"``target_length``, ``strategy``, ``enable_long_distance_matching``, "
"``ldm_hash_log``, ``ldm_min_match``, ``ldm_bucket_size_log``, "
"``ldm_hash_rate_log``, and some non-public parameters."
msgstr ""
"``window_log``、``hash_log``、``chain_log``、``search_log``、``min_match``、"
"``target_length``、``strategy``、``enable_long_distance_matching``、"
"``ldm_hash_log``、``ldm_min_match``、``ldm_bucket_size_log``、"
"``ldm_hash_rate_log``、および一部の非公開パラメータ。"
#: ../../library/compression.zstd.rst:453
msgid "None"
msgstr "None"
msgid ":class:`!ZstdDict` internally caches the dictionary"
msgstr ":class:`!ZstdDict` が辞書を内部でキャッシュするか"
msgid ""
"Yes. It's faster when loading a digested dictionary again with the same "
"compression level."
msgstr ""
"はい。\n"
"同じ圧縮レベルで前処理済みの辞書を再び読み込む場合に高速になります。"
msgid ""
"No. If you wish to load an undigested dictionary multiple times, consider "
"reusing a compressor object."
msgstr ""
"いいえ。\n"
"前処理していない辞書を複数回読み込む場合は、圧縮オブジェクトの再利用を検討し"
"てください。"
msgid ""
"If passing a :class:`!ZstdDict` without any attribute, an undigested "
"dictionary is passed by default when compressing and a digested dictionary "
"is generated if necessary and passed by default when decompressing."
msgstr ""
"属性を使わずに :class:`!ZstdDict` を渡した場合、圧縮時にはデフォルトで前処理"
"していない辞書が渡されます。\n"
"展開時には、必要に応じて前処理済みの辞書が生成され、デフォルトで渡されます。"
msgid ""
"The content of the Zstandard dictionary, a ``bytes`` object. It's the same "
"as the *dict_content* argument in the ``__init__`` method. It can be used "
"with other programs, such as the ``zstd`` CLI program."
msgstr ""
"Zstandard 辞書の内容を表す ``bytes`` オブジェクトです。\n"
"``__init__`` メソッドの *dict_content* 引数と同じものです。\n"
"``zstd`` CLI プログラムなど、他のプログラムで使うこともできます。"
msgid "Identifier of the Zstandard dictionary, a non-negative int value."
msgstr "Zstandard 辞書の識別子を表す非負の整数値です。"
msgid ""
"Non-zero means the dictionary is ordinary, created by Zstandard functions "
"and following the Zstandard format."
msgstr ""
"0 以外の場合、Zstandard の関数で作成され、Zstandard 形式に従う通常の辞書であ"
"ることを意味します。"
msgid ""
"``0`` means a \"raw content\" dictionary, free of any format restriction, "
"used for advanced users."
msgstr ""
"``0`` は、上級ユーザー向けの、形式の制約がない「生の内容」の辞書を意味しま"
"す。"
msgid ""
"The meaning of ``0`` for :attr:`!ZstdDict.dict_id` is different from the "
"``dictionary_id`` attribute to the :func:`get_frame_info` function."
msgstr ""
":attr:`!ZstdDict.dict_id` における ``0`` の意味は、:func:`get_frame_info` 関"
"数が返すオブジェクトの ``dictionary_id`` 属性における意味とは異なります。"
msgid "Load as a digested dictionary."
msgstr "前処理済みの辞書として読み込みます。"
msgid "Load as an undigested dictionary."
msgstr "前処理していない辞書として読み込みます。"
msgid "Advanced parameter control"
msgstr "高度なパラメータの制御"
msgid ""
"An :class:`~enum.IntEnum` containing the advanced compression parameter keys "
"that can be used when compressing data."
msgstr ""
"データの圧縮時に使える高度な圧縮パラメータのキーを含"
"む :class:`~enum.IntEnum` です。"
msgid ""
"The :meth:`~.bounds` method can be used on any attribute to get the valid "
"values for that parameter."
msgstr ""
"各属性で :meth:`~.bounds` メソッドを使うと、そのパラメータの有効な値を取得で"
"きます。"
msgid ""
"Parameters are optional; any omitted parameter will have its value selected "
"automatically."
msgstr ""
"パラメータは省略可能です。\n"
"省略したパラメータの値は自動的に選択されます。"
msgid ""
"Example getting the lower and upper bound of :attr:`~.compression_level`::"
msgstr ":attr:`~.compression_level` の下限と上限を取得する例。 ::"
msgid "lower, upper = CompressionParameter.compression_level.bounds()"
msgstr "lower, upper = CompressionParameter.compression_level.bounds()"
msgid "Example setting the :attr:`~.window_log` to the maximum size::"
msgstr ":attr:`~.window_log` を最大サイズに設定する例。 ::"
msgid ""
"_lower, upper = CompressionParameter.window_log.bounds()\n"
"options = {CompressionParameter.window_log: upper}\n"
"compress(b'venezuelan beaver cheese', options=options)"
msgstr ""
"_lower, upper = CompressionParameter.window_log.bounds()\n"
"options = {CompressionParameter.window_log: upper}\n"
"compress(b'venezuelan beaver cheese', options=options)"
msgid ""
"Return the tuple of int bounds, ``(lower, upper)``, of a compression "
"parameter. This method should be called on the attribute you wish to "
"retrieve the bounds of. For example, to get the valid values "
"for :attr:`~.compression_level`, one may check the result of "
"``CompressionParameter.compression_level.bounds()``."
msgstr ""
"圧縮パラメータの整数の範囲を、タプル ``(lower, upper)`` として返します。\n"
"このメソッドは、範囲を取得したい属性に対して呼び出してください。\n"
"例えば、:attr:`~.compression_level` の有効な値を取得するには、"
"``CompressionParameter.compression_level.bounds()`` の結果を調べます。"
msgid "Both the lower and upper bounds are inclusive."
msgstr "下限と上限は、どちらも範囲に含まれます。"
msgid ""
"A high-level means of setting other compression parameters that affect the "
"speed and ratio of compressing data."
msgstr ""
"データの圧縮速度や圧縮率に影響する他の圧縮パラメータを設定する、高水準の手段"
"です。"
msgid ""
"Regular compression levels are greater than ``0``. Values greater than "
"``20`` are considered \"ultra\" compression and require more memory than "
"other levels. Negative values can be used to trade off faster compression "
"for worse compression ratios."
msgstr ""
"通常の圧縮レベルは ``0`` より大きい値です。\n"
"``20`` より大きい値は「ultra」圧縮とみなされ、他のレベルより多くのメモリを必"
"要とします。\n"
"負の値を使うと、圧縮率を下げる代わりに圧縮を高速化できます。"
msgid "Setting the level to zero uses :attr:`COMPRESSION_LEVEL_DEFAULT`."
msgstr ""
"レベルを 0 に設定すると :attr:`COMPRESSION_LEVEL_DEFAULT` が使われます。"
msgid ""
"Maximum allowed back-reference distance the compressor can use when "
"compressing data, expressed as power of two, ``1 << window_log`` bytes. This "
"parameter greatly influences the memory usage of compression. Higher values "
"require more memory but gain better compression values."
msgstr ""
"圧縮時に使用できる後方参照の最大距離を 2 のべき乗で表したものです。\n"
"距離は ``1 << window_log`` バイトになります。\n"
"このパラメータは圧縮時のメモリ使用量に大きく影響します。\n"
"値が大きいほど多くのメモリを必要としますが、圧縮率が向上します。"
msgid "A value of zero causes the value to be selected automatically."
msgstr "値を 0 にすると、自動的に値が選択されます。"
msgid ""
"Size of the initial probe table, as a power of two. The resulting memory "
"usage is ``1 << (hash_log+2)`` bytes. Larger tables improve compression "
"ratio of strategies <= :attr:`~Strategy.dfast`, and improve compression "
"speed of strategies > :attr:`~Strategy.dfast`."
msgstr ""
"最初の探索テーブルのサイズを 2 のべき乗で表したものです。\n"
"メモリ使用量は ``1 << (hash_log+2)`` バイトになります。\n"
"テーブルが大きいほど、ストラテジーが :attr:`~Strategy.dfast` 以下の場合は圧縮"
"率が向上し、:attr:`~Strategy.dfast` より大きい場合は圧縮速度が向上します。"
msgid ""
"Size of the multi-probe search table, as a power of two. The resulting "
"memory usage is ``1 << (chain_log+2)`` bytes. Larger tables result in better "
"and slower compression. This parameter has no effect for "
"the :attr:`~Strategy.fast` strategy. It's still useful when "
"using :attr:`~Strategy.dfast` strategy, in which case it defines a secondary "
"probe table."
msgstr ""
"複数回の探索に使うテーブルのサイズを 2 のべき乗で表したものです。\n"
"メモリ使用量は ``1 << (chain_log+2)`` バイトになります。\n"
"テーブルが大きいほど圧縮率が向上しますが、圧縮は遅くなります。\n"
"このパラメータは :attr:`~Strategy.fast` ストラテジーでは効果がありません。\n"
":attr:`~Strategy.dfast` ストラテジーでは、二つ目の探索テーブルを定義するため"
"有効です。"
msgid ""
"Number of search attempts, as a power of two. More attempts result in better "
"and slower compression. This parameter is useless for :attr:`~Strategy.fast` "
"and :attr:`~Strategy.dfast` strategies."
msgstr ""
"探索を試みる回数を 2 のべき乗で表したものです。\n"
"回数が多いほど圧縮率が向上しますが、圧縮は遅くなります。\n"
"このパラメータは :attr:`~Strategy.fast` と :attr:`~Strategy.dfast` ストラテ"
"ジーでは役に立ちません。"
msgid ""
"Minimum size of searched matches. Larger values increase compression and "
"decompression speed, but decrease ratio. Note that Zstandard can still find "
"matches of smaller size, it just tweaks its search algorithm to look for "
"this size and larger. For all strategies < :attr:`~Strategy.btopt`, the "
"effective minimum is ``4``; for all strategies > :attr:`~Strategy.fast`, the "
"effective maximum is ``6``."