public class TextBlockRankEstimator extends Object
Constructor and Description |
---|
TextBlockRankEstimator() |
Modifier and Type | Method and Description |
---|---|
void |
addBlock(TextBlock block,
PreTextBlock preTextBlock) |
double |
getRelativeFontSize(TextBlock block)
Returns the relativ font size of this block in relation to the whole page.
|
public void addBlock(TextBlock block, PreTextBlock preTextBlock)
public double getRelativeFontSize(TextBlock block)
block
- Copyright (C) 2013, 2014 Raphael Dickfelder, Jan Göpfert, Benjamin Paassen, Andreas Stöckel, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/scie