Documentation of 'smile.nlp.normalizer.SimpleNormalizer' Java class
SimpleNormalizer
smile.nlp.normalizer

Class SimpleNormalizer

  • All Implemented Interfaces:
    Normalizer


    public class SimpleNormalizer
    extends java.lang.Object
    implements Normalizer
    A baseline normalizer for processing Unicode text:
    • Apply Unicode normalization form NFKC.
    • Strip, trim, normalize, and compress whitespace.
    • Remove control and formatting characters.
    • Normalize dash, double and single quotes.
    • Method Detail

      • getInstance

        public static SimpleNormalizer getInstance()
        Returns the singleton instance.
      • normalize

        public java.lang.String normalize(java.lang.String text)
        Description copied from interface: Normalizer
        Normalize the given string.
        Specified by:
        normalize in interface Normalizer

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.