Pull request #360: RED-3568: Do not ignore textblocks if only rotated pages are in the document
Merge in RED/redaction-service from RED-3568 to master * commit 'ae3e4570c15dbc2c46373ce68d55cec760e7da6b': RED-3568: Do not ignore textblocks if only rotated pages are in the document
This commit is contained in:
commit
02d9ebc24c
@ -52,7 +52,7 @@ public class ClassificationService {
|
||||
List<Float> headlineFontSizes) {
|
||||
|
||||
if (document.getFontSizeCounter().getMostPopular() == null) {
|
||||
// TODO Figure out why this happens.
|
||||
textBlock.setClassification("Other");
|
||||
return;
|
||||
}
|
||||
if (PositionUtils.isOverBodyTextFrame(bodyTextFrame, textBlock, page.isRotated()) && (document.getFontSizeCounter()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user