Linespacing claryfind
This commit is contained in:
parent
d6e3d6fe22
commit
dfc23955d7
@ -293,7 +293,7 @@ public class LayoutParsingPipeline {
|
|||||||
if (layoutParsingType == LayoutParsingType.REDACT_MANAGER) {
|
if (layoutParsingType == LayoutParsingType.REDACT_MANAGER) {
|
||||||
docstrumBlockificationService.combineBlocks(classificationPage);
|
docstrumBlockificationService.combineBlocks(classificationPage);
|
||||||
} else if (layoutParsingType == LayoutParsingType.CLARIFYND) {
|
} else if (layoutParsingType == LayoutParsingType.CLARIFYND) {
|
||||||
docstrumBlockificationService.mergeIntersectingBlocks(classificationPage.getTextBlocks(), 0, 10);
|
docstrumBlockificationService.mergeIntersectingBlocks(classificationPage.getTextBlocks(), 0, 6.5f);
|
||||||
}
|
}
|
||||||
|
|
||||||
buildPageStatistics(classificationPage);
|
buildPageStatistics(classificationPage);
|
||||||
|
|||||||
@ -27,7 +27,7 @@ public class ViewerDocumentTest extends BuildDocumentTest {
|
|||||||
@SneakyThrows
|
@SneakyThrows
|
||||||
public void testViewerDocument() {
|
public void testViewerDocument() {
|
||||||
|
|
||||||
String fileName = "files/bdr/Drucksache_19_9865.pdf";
|
String fileName = "files/bdr/notMergedParagraphs.pdf";
|
||||||
String tmpFileName = "/tmp/" + Path.of(fileName).getFileName() + "_VIEWER.pdf";
|
String tmpFileName = "/tmp/" + Path.of(fileName).getFileName() + "_VIEWER.pdf";
|
||||||
|
|
||||||
var documentFile = new ClassPathResource(fileName).getFile();
|
var documentFile = new ClassPathResource(fileName).getFile();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user