Kilian Schuettler f8fe88dc3c RED-6093: Prototype document structure
*refactored File Structure
*started refactor of original rules
2023-04-21 09:50:33 +02: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