Property | Type | Description | |
---|---|---|---|
EMPTY_END | NBoilerpipe.Document.TextBlock | ||
EMPTY_START | NBoilerpipe.Document.TextBlock |
Method | Description | |
---|---|---|
AddLabel ( string label ) : void |
Adds an arbitrary String label to this
|
|
AddLabels ( ) : void |
Adds a set of labels to this
|
|
AddLabels ( ICollection |
Adds a set of labels to this
|
|
Clone ( ) : Object | ||
GetContainedTextElements ( ) : |
Returns the containedTextElements BitSet, or Returns the containedTextElements BitSet, or |
|
GetLabels ( ) : ICollection |
Returns the labels associated to this TextBlock, or Returns the labels associated to this TextBlock, or |
|
GetLinkDensity ( ) : float | ||
GetNumWords ( ) : int | ||
GetNumWordsInAnchorText ( ) : int | ||
GetOffsetBlocksEnd ( ) : int | ||
GetOffsetBlocksStart ( ) : int | ||
GetTagLevel ( ) : int | ||
GetText ( ) : string | ||
GetTextDensity ( ) : float | ||
HasLabel ( string label ) : bool |
Checks whether this TextBlock has the given label. Checks whether this TextBlock has the given label. |
|
IsContent ( ) : bool | ||
MergeNext ( NBoilerpipe other ) : void | ||
RemoveLabel ( string label ) : bool | ||
SetIsContent ( bool isContent ) : bool | ||
SetTagLevel ( int tagLevel ) : void | ||
TextBlock ( string text ) : System | ||
TextBlock ( string text, |
||
ToString ( ) : string |
Method | Description | |
---|---|---|
InitDensities ( ) : void |
public AddLabels ( ICollection |
||
l | ICollection |
The labels to be added. |
return | void |
public GetContainedTextElements ( ) : |
||
return |
public MergeNext ( NBoilerpipe other ) : void | ||
other | NBoilerpipe | |
return | void |
public SetIsContent ( bool isContent ) : bool | ||
isContent | bool | |
return | bool |
public TextBlock ( string text, |
||
text | string | |
containedTextElements | ||
numWords | int | |
numWordsInAnchorText | int | |
numWordsInWrappedLines | int | |
numWrappedLines | int | |
offsetBlocks | int | |
return | System |
public static NBoilerpipe.Document.TextBlock EMPTY_END | ||
return | NBoilerpipe.Document.TextBlock |