This function removes spaces only between separate characters (words of length 1) in the string read from the property input. The transformation is used to remove redundant spaces which occur in the middle of names.
<step id='alg' className='cz.adastra.cif.tasks.clean.EraseSpacesInNamesAlgorithm'> <in>name</in> <out>clean_name</out> <properties> <minNameLength>4</minNameLength> <onlyUpperCase>true</onlyUpperCase> <scorer explanationColumn='explanation'> <scoringEntries> <scoringEntry key='ESN_CHANGED' score='10' explain='true' /> </scoringEntries> </scorer> </properties> </step>
iWay Software |