Documentation of 'cc.mallet.pipe.CharSequenceReplace' Java class
CharSequenceReplace
cc.mallet.pipe

Class CharSequenceReplace

  • All Implemented Interfaces:
    AlphabetCarrying, java.io.Serializable


    public class CharSequenceReplace
    extends Pipe
    implements java.io.Serializable
    Given a string, repeatedly look for matches of the regex, and replace the entire match with the given replacement string.
    See Also:
    Serialized Form
    • Field Detail

      • SKIP_SGML

        public static final java.util.regex.Pattern SKIP_SGML
      • SKIP_HEADER

        public static final java.util.regex.Pattern SKIP_HEADER
    • Constructor Detail

      • CharSequenceReplace

        public CharSequenceReplace(java.util.regex.Pattern regex,
                                   java.lang.String replacement)
    • Method Detail

      • pipe

        public Instance pipe(Instance carrier)
        Description copied from class: Pipe
        Really this should be 'protected', but isn't for historical reasons.
        Overrides:
        pipe in class Pipe

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.