def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.global_char_abs_diff = {}
     self.number_of_wrong_chars_per_document = {}
     self.output_dir = Path(get_output_dir(),
                            "test-text-extract-text-expect-ground-truth")
     self.diff_file = Path(self.output_dir, "differences.json")
示例#2
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.input_file = Path("/home/joris/Code/pdf-corpus/0203.pdf")
     self.output_file = Path(
         get_output_dir(),
         "test-add-polyline-annotation-using-line-art-factory/output.pdf",
     )
示例#3
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-write-empty-document")
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(
         get_output_dir(),
         "test-write-paragraph-justified-center-with-padding-and-border",
     )
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(),
                            "test-write-paragraph-justified-right")
示例#6
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.size_tuples: typing.Dictionary[str, typing.Tuple[int, int]] = {}
     self.output_dir = Path(get_output_dir(),
                            "test-copy-document-compare-size")
示例#7
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(
         get_output_dir(),
         "test-write-paragraphs-using-multi-column-layout")
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-write-100-star-shapes")
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(),
                            "test-write-table-of-barcodes")
示例#10
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(),
                            "test-write-simple-table-accents")
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-write-silhouette-maze")
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(),
                            "test-extract-regular-expression")
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-write-table-with-image")
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-write-paragraphs-with-headings")
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.input_file = Path("/home/joris/Code/pdf-corpus/0203.pdf")
     self.output_file = Path(get_output_dir(),
                             "test-append-embedded-file/output.pdf")
示例#16
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-export-to-jpg")
示例#17
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(),
                            "test-write-reverse-the-words-code-puzzle")
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-write-3d-surface-chart")
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(
         get_output_dir(),
         "test-write-complete-the-picture-horizontally-puzzle")
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-concat-documents-2")
     self.input_file_b = self.input_dir / "0118.pdf"
示例#21
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(),
                            "test-write-simple-ordered-list")
示例#22
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-text-render-event-position")
     self.max_distance = 2
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(
         get_output_dir(), "test-write-alphabet-number-code-puzzle"
     )
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(),
                            "test-write-paragraph-force-split")
示例#25
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(),
                            "test-write-paragraph-with-background")
示例#26
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-write-find-the-odd-one")
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-write-you-and-me")
示例#28
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.input_file = Path("/home/joris/Code/pdf-corpus/0203.pdf")
     self.output_file = Path(get_output_dir(),
                             "test-add-rubber-stamp-annotation/output.pdf")
示例#29
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(
         get_output_dir(),
         "test-add-square-annotation-around-regular-expression")
示例#30
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(),
                            "test-write-chunk-of-text-e-aigu")