public class TextDistanceAndMergeStrategy
extends java.lang.Object
Constructor and Description |
---|
TextDistanceAndMergeStrategy(PreSectionedPage psp)
Creates a new merge strategy that can be used to analyze a page and generate
word row and section boxes.
|
Modifier and Type | Method and Description |
---|---|
PostSectionedPage |
analyzeAndSetSections()
Generates, merges and sorts sections for a pre-sectioned page based off the word boxes this strategy
was constructed with.
|
public TextDistanceAndMergeStrategy(PreSectionedPage psp)
psp
- The pre-sectioned page containing word boxes to use to generate, merge and sort the sections for.public PostSectionedPage analyzeAndSetSections()