Tail Trashing Scoring

Key

Description

TT_CHANGED

A scoring flag indicating that a suffix has been removed. Information about which suffixes have been removed by which rules cannot be determined by this step.



Example: Example
<step id='alg' className='cz.adastra.cif.tasks.clean.TailTrashingAlgorithm'>
        <properties>
                <column>city_part</column>
                <simpleSuffixes>
                        <suffix>(part)</suffix>
                        <suffix>x)</suffix>
                        <suffix>1)</suffix>
                </simpleSuffixes>
                <regExpSuffixes>
                        <suffix>\(city part\)|\*\)</suffix>
                        <suffix>\(part .*\)</suffix>
                </regExpSuffixes>
                <scorer explanationColumn='expl' scoreColumn="score">
                        <scoringEntries>
                                <scoringEntry key='TT_CHANGED' score='300' explain='true' explainAs="__CHANGED__" />
                        </scoringEntries>
                </scorer>
        </properties>
</step>

iWay Software