Package org.mycore.mods.merger
Class MCRHyphenNormalizer
java.lang.Object
org.mycore.mods.merger.MCRHyphenNormalizer
Normalizes the different variants of hyphens in a given input text to the given character; defaults
to a simple "minus".
- Author:
- Frank Lützenkirchen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionNormalizes the different variants of hyphens in a given input text to a simple "minus" character.static String
normalizeHyphen
(String input) Normalizes the different variants of hyphens in a given input text to a simple "minus" character.static String
normalizeHyphen
(String input, char replacement) Normalizes the different variants of hyphens in a given input text to the given character.
-
Constructor Details
-
MCRHyphenNormalizer
public MCRHyphenNormalizer()
-
-
Method Details
-
normalize
Normalizes the different variants of hyphens in a given input text to a simple "minus" character. -
normalizeHyphen
Normalizes the different variants of hyphens in a given input text to a simple "minus" character. -
normalizeHyphen
Normalizes the different variants of hyphens in a given input text to the given character.
-