Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2a47f66ae | ||
|
|
3835d03036 | ||
|
|
b867deb9f9 | ||
|
|
8648ed0952 |
+1
-1
@@ -63,7 +63,7 @@ public class DocstrumBlockificationService {
|
||||
}
|
||||
|
||||
if (layoutParsingType == LayoutParsingType.CLARIFYND) {
|
||||
mergeIntersectingBlocks(classificationPage, usedRulings, 0, 6.5f);
|
||||
mergeIntersectingBlocks(classificationPage, usedRulings, 0, 0);
|
||||
}
|
||||
|
||||
return classificationPage;
|
||||
|
||||
+1
-2
@@ -71,8 +71,7 @@ public class DocuMineClassificationService {
|
||||
== null
|
||||
|| textBlock.getHighestFontSize()
|
||||
<= document.getFontSizeCounter()
|
||||
.getMostPopular()))
|
||||
|| HeaderFooterDetection.isLikelyHeader(textBlock, document, page)) {
|
||||
.getMostPopular()))) {
|
||||
textBlock.setClassification(PageBlockType.HEADER);
|
||||
|
||||
} else if (MarkedContentUtils.intersects(textBlock, page.getMarkedContentBboxPerType(), MarkedContentUtils.FOOTER)
|
||||
|
||||
Reference in New Issue
Block a user