Detailed Description of Experimental Exclude Spaces

This step separates the input into words and then tries to merge them into strings by excluding spaces between them, but only if the result can be found in a dictionary specified by the databaseFile property. The result, including any unmerged words, is sent to the output.


Top of page

Example: Example
<step id='exclude' className='cz.adastra.cif.tasks.experimental.ExperimentalExcludeSpacesAlgorithm'>
        <in>name</in>
        <out>new_name</out>
        <properties>
                <scorer scoreColumn='score' explanationColumn='expl'>
                        <scoringEntries>
                                <scoringEntry key='IC_SPACE_EXCLUDED' score='1' explain='true' />
                        </scoringEntries>
                </scorer>
                <databaseFile>jmena.cif</databaseFile>
        </properties>
</step>

iWay Software