Merge branch 'RED-6929' into 'master'
RED-6929: Fix Acceptance Tests/Rules Closes RED-6929 See merge request redactmanager/redaction-service!28
This commit is contained in:
commit
cc41838b11
@ -130,7 +130,7 @@ rule "CBI.1.1: Redact CBI Address (Vertebrate Study)"
|
||||
// Rule unit: CBI.2
|
||||
rule "CBI.2.0: Don't redact genitive CBI_author"
|
||||
when
|
||||
$entity: RedactionEntity(type == "CBI_author", anyMatch(textAfter, "['’’'ʼˈ´`‘′ʻ’']s"), getIsApplied())
|
||||
$entity: RedactionEntity(type == "CBI_author", anyMatch(textAfter, "['’’'ʼˈ´`‘′ʻ’']s"), isApplied())
|
||||
then
|
||||
RedactionEntity falsePositive = entityCreationService.byBoundary($entity.getBoundary(), "CBI_author", EntityType.FALSE_POSITIVE, document);
|
||||
falsePositive.skip("CBI.2.0", "Genitive Author found");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user