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