RED-6009 - Document Tree Structure
* minor rule fix
This commit is contained in:
parent
6d4326fb04
commit
f891e02935
@ -362,7 +362,7 @@ rule "17: Redact line after contact information keywords"
|
||||
"Email:",
|
||||
"e-mail:",
|
||||
"E-mail address:")
|
||||
$section: SectionNode(excludesTables, containsString($contactKeyword))
|
||||
$section: SectionNode(containsString($contactKeyword))
|
||||
then
|
||||
entityCreationService.lineAfterString($contactKeyword, "PII", EntityType.ENTITY, $section)
|
||||
.forEach(contactEntity -> {
|
||||
@ -627,7 +627,7 @@ rule "remove Entity of type RECOMMENDATION when contained by FALSE_RECOMMENDATIO
|
||||
end
|
||||
|
||||
rule "remove Entity of type RECOMMENDATION when contained by ENTITY"
|
||||
salience 64
|
||||
salience 256
|
||||
when
|
||||
$entity: RedactionEntity($type: type, entityType == EntityType.ENTITY)
|
||||
$recommendation: RedactionEntity(containedBy($entity), type == $type, entityType == EntityType.RECOMMENDATION, !resized, !skipRemoveEntitiesContainedInLarger)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user