cc.mallet.pipe
Class CharSequenceRemoveHTML
- java.lang.Object
-
- cc.mallet.pipe.Pipe
-
- cc.mallet.pipe.CharSequenceRemoveHTML
-
- All Implemented Interfaces:
- AlphabetCarrying, java.io.Serializable
public class CharSequenceRemoveHTML extends Pipe
This pipe removes HTML from a CharSequence. The HTML is actually parsed here, so we should have less HTML slipping through... but it is almost certainly much slower than a regular expression, and could fail on broken HTML.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description CharSequenceRemoveHTML()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static voidmain(java.lang.String[] args)Instancepipe(Instance carrier)Really this should be 'protected', but isn't for historical reasons.-
Methods inherited from class cc.mallet.pipe.Pipe
alphabetsMatch, getAlphabet, getAlphabets, getDataAlphabet, getInstanceId, getTargetAlphabet, instanceFrom, instancesFrom, instancesFrom, isDataAlphabetSet, isTargetProcessing, newIteratorFrom, precondition, readResolve, setDataAlphabet, setOrCheckDataAlphabet, setOrCheckTargetAlphabet, setTargetAlphabet, setTargetProcessing
-
-
DataMelt 3.0 © DataMelt by jWork.ORG