Package | Description |
---|---|
de.l3s.boilerpipe.conditions | |
de.l3s.boilerpipe.document |
The classes in this package represent the simple Boilerpipe document model.
|
de.l3s.boilerpipe.filters.english |
The BoilerpipeFilters in this package have only been tested on English text.
|
de.l3s.boilerpipe.labels | |
de.l3s.boilerpipe.sax |
Classes related to parsing and producing HTML from/to Boilerpipe TextDocuments.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TextBlockCondition.meetsCondition(TextBlock tb)
Returns
true iff the given TextBlock tb meets the defined condition. |
Modifier and Type | Field and Description |
---|---|
static TextBlock |
TextBlock.EMPTY_END |
static TextBlock |
TextBlock.EMPTY_START |
Modifier and Type | Method and Description |
---|---|
java.util.List<TextBlock> |
TextDocument.getTextBlocks()
Returns the
TextBlock s of this document. |
Modifier and Type | Method and Description |
---|---|
void |
TextBlock.mergeNext(TextBlock other) |
Constructor and Description |
---|
TextDocument(java.util.List<TextBlock> textBlocks)
Creates a new
TextDocument with given TextBlock s, and no
title. |
TextDocument(java.lang.String title,
java.util.List<TextBlock> textBlocks)
Creates a new
TextDocument with given TextBlock s and
given title. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DensityRulesClassifier.classify(TextBlock prev,
TextBlock curr,
TextBlock next) |
protected boolean |
NumWordsRulesClassifier.classify(TextBlock prev,
TextBlock curr,
TextBlock next) |
Modifier and Type | Method and Description |
---|---|
protected void |
LabelAction.addLabelsTo(TextBlock tb) |
void |
ConditionalLabelAction.addTo(TextBlock tb) |
void |
LabelAction.addTo(TextBlock tb) |
Modifier and Type | Method and Description |
---|---|
protected void |
BoilerpipeHTMLContentHandler.addTextBlock(TextBlock tb) |