Kilian Schuettler 741290a687 RED-6093: Prototype document structure
*refactored File Structure
*started refactor of original rules
2023-03-20 10:58:11 +01:00

13 lines
284 B
Plaintext

package drools
import com.iqser.red.service.redaction.v1.server.redaction.model.Section
global Section section
rule "1: Find headlines"
when
Section(text.length() > 1)
then
section.redactHeadline("headline", 1, "Headline found", "n-a.",dictionary);
end