File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
api/src/main/java/ml/anon/recognition/rulebased/api/model Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1010import lombok .Builder ;
1111import lombok .Data ;
1212import lombok .Singular ;
13- import ml .anon .anonymization .model .Anonymization ;
14- import ml .anon .anonymization .model .Label ;
15- import ml .anon .anonymization .model .Producer ;
13+ import ml .anon .anonymization .model .*;
1614import ml .anon .documentmanagement .model .Document ;
17- import ml .anon .anonymization .model .Replacement ;
1815import ml .anon .documentmanagement .resource .ReplacementResource ;
1916import ml .anon .model .BaseEntity ;
2017import ml .anon .recognition .rulebased .api .constraints .Constraint ;
@@ -59,7 +56,7 @@ public List<Anonymization> apply(Document doc, ReplacementResource repl) throws
5956 regExpResults .add (Anonymization .builder ()
6057 .data (
6158 repl .create (Replacement .builder ().label (label ).original (matcher .group (0 )).build ()))
62- .producer (Producer .RULE ).build ());
59+ .producer (Producer .RULE ).status ( Status . PROCESSING ). build ());
6360 }
6461 return applyConstrains (regExpResults );
6562 }
You can’t perform that action at this time.
0 commit comments