Class UrlCharSequenceNormalizer
java.lang.Object
opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- All Implemented Interfaces:
Serializable, opennlp.tools.util.normalizer.CharSequenceNormalizer
public class UrlCharSequenceNormalizer
extends Object
implements opennlp.tools.util.normalizer.CharSequenceNormalizer
A
UrlCharSequenceNormalizer implementation that normalizes text
in terms of URls and email addresses. Every encounter will be replaced by a whitespace.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UrlCharSequenceNormalizer
public UrlCharSequenceNormalizer()
-
-
Method Details
-
getInstance
-
normalize
- Specified by:
normalizein interfaceopennlp.tools.util.normalizer.CharSequenceNormalizer
-