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")
Ejemplo n.º 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",
     )
Ejemplo n.º 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")
Ejemplo n.º 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")
Ejemplo n.º 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")
Ejemplo n.º 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")
Ejemplo n.º 12
0
 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")
Ejemplo n.º 16
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-export-to-jpg")
Ejemplo n.º 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"
Ejemplo n.º 21
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(),
                            "test-write-simple-ordered-list")
Ejemplo n.º 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")
Ejemplo n.º 25
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(),
                            "test-write-paragraph-with-background")
Ejemplo n.º 26
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-write-find-the-odd-one")
Ejemplo n.º 27
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(), "test-write-you-and-me")
Ejemplo n.º 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")
Ejemplo n.º 29
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(
         get_output_dir(),
         "test-add-square-annotation-around-regular-expression")
Ejemplo n.º 30
0
 def __init__(self, methodName="runTest"):
     super().__init__(methodName)
     self.output_dir = Path(get_output_dir(),
                            "test-write-chunk-of-text-e-aigu")