Merge branch 'RED-9149' into 'release/0.78.x'
RED-9149 - Remove header detection & bump lombok See merge request fforesight/layout-parser!156
This commit is contained in:
commit
b1a054267b
@ -1,6 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("com.knecon.fforesight.java-conventions")
|
id("com.knecon.fforesight.java-conventions")
|
||||||
id("io.freefair.lombok") version "8.2.2"
|
id("io.freefair.lombok") version "8.6"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "layoutparser-service-internal-api"
|
description = "layoutparser-service-internal-api"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("com.knecon.fforesight.java-conventions")
|
id("com.knecon.fforesight.java-conventions")
|
||||||
id("io.freefair.lombok") version "8.2.2"
|
id("io.freefair.lombok") version "8.6"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "layoutparser-service-processor"
|
description = "layoutparser-service-processor"
|
||||||
|
|||||||
@ -71,8 +71,7 @@ public class DocuMineClassificationService {
|
|||||||
== null
|
== null
|
||||||
|| textBlock.getHighestFontSize()
|
|| textBlock.getHighestFontSize()
|
||||||
<= document.getFontSizeCounter()
|
<= document.getFontSizeCounter()
|
||||||
.getMostPopular()))
|
.getMostPopular()))) {
|
||||||
|| HeaderFooterDetection.isLikelyHeader(textBlock, document, page)) {
|
|
||||||
textBlock.setClassification(PageBlockType.HEADER);
|
textBlock.setClassification(PageBlockType.HEADER);
|
||||||
|
|
||||||
} else if (MarkedContentUtils.intersects(textBlock, page.getMarkedContentBboxPerType(), MarkedContentUtils.FOOTER)
|
} else if (MarkedContentUtils.intersects(textBlock, page.getMarkedContentBboxPerType(), MarkedContentUtils.FOOTER)
|
||||||
|
|||||||
@ -6,7 +6,7 @@ plugins {
|
|||||||
id("org.springframework.boot") version "3.1.3"
|
id("org.springframework.boot") version "3.1.3"
|
||||||
id("io.spring.dependency-management") version "1.1.3"
|
id("io.spring.dependency-management") version "1.1.3"
|
||||||
id("org.sonarqube") version "4.3.0.3225"
|
id("org.sonarqube") version "4.3.0.3225"
|
||||||
id("io.freefair.lombok") version "8.2.2"
|
id("io.freefair.lombok") version "8.6"
|
||||||
// id("org.graalvm.buildtools.native") version "0.9.23"
|
// id("org.graalvm.buildtools.native") version "0.9.23"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user