681 Commits

Author SHA1 Message Date
Kilian Schuettler
0c61ce3c43 RED-6369: Rules Refactor
* fix pmd errors
2023-04-17 18:44:16 +02:00
Kilian Schuettler
6d2e72bcd3 RED-6369: Rules Refactor
* fixed builkd by disabling failing tests
2023-04-17 18:17:01 +02:00
Kilian Schuettler
9ca73bc54f RED-6369: Rules Refactor
*removed manualredaction handling for further analysis of how it actually works
2023-04-17 16:34:08 +02:00
Kilian Schuettler
4f3305ecba RED-6369: Rules Refactor
* marked entities as resized if a resizeRedaction with same id exists
2023-04-17 13:25:45 +02:00
Kilian Schuettler
a2776f24cd RED-6369: Rules Refactor
* refactored documentGraph.tableOfContents to include document as root
2023-04-17 12:54:17 +02:00
Kilian Schuettler
545eba4a53 RED-6369: Rules Refactor
* fixed AnnotationService with new Coordinates
* fixed bug in split boundary function
2023-04-05 18:03:07 +02:00
Kilian Schuettler
6b7990cd6e RED-6369: Rules Refactor
* refactored DocumentData to 4 different jsons to make reading only text possible
* wip integration of new rules into workflow
2023-04-05 15:54:20 +02:00
Kilian Schuettler
3beadca77e RED-6369: Rules Refactor
*added betweenStrings to entityCreationService
2023-04-03 14:13:01 +02:00
Kilian Schuettler
31f59884d6 RED-6369: Rules Refactor
*some refactors
*some comment cleanup
2023-04-03 11:52:32 +02:00
Kilian Schuettler
81e2d4ee39 RED-6369: Rules Refactor
*fixed DocumentData Mapping
2023-03-23 15:05:07 +01:00
Kilian Schuettler
74d89ea867 RED-6369: Rules Refactor
*added some new Rules and Methods to support them
*integrated local dictionary searches into ruleflow using agenda-groups
*Generalized methods to be able to execute on any SemanticNode
*made Documentgraph implement SemanticNode
2023-03-22 19:05:33 +01:00
Kilian Schuettler
8f38576d10 RED-6368: Include Tables and Images into Prototype Document Structure
*started Implementation of new rules
2023-03-21 16:36:30 +01:00
Kilian Schuettler
f73b8fe64e RED-6368: Include Tables and Images into Prototype Document Structure
*rebased to master and included tenant capabilities
*added separator validation to entity search
*added EntityPosition class to bridge the gap to the redactionLogEntry
2023-03-21 16:35:34 +01:00
Kilian Schuettler
20db81cfef RED-6368: Include Tables and Images into Prototype Document Structure
*added some starting rules
2023-03-20 10:58:11 +01:00
Kilian Schuettler
1b3b85d6a6 RED-6368: Include Tables and Images into Prototype Document Structure
*added Tables And TableCell
*added BoundingBox calculation function
*added images to structure without restructuring them, some images are still added twice
2023-03-20 10:58:11 +01:00
Kilian Schuettler
741290a687 RED-6093: Prototype document structure
*refactored File Structure
*started refactor of original rules
2023-03-20 10:58:11 +01:00
Kilian Schuettler
7879bcd909 RED-6093: Prototype document structure
*refactored Nodes
*added some tests
*wip
2023-03-20 10:58:11 +01:00
deiflaender
7aeae506d9 RED-6093: Prototype document structurewip dependency upgrade 2023-03-20 10:58:11 +01:00
Kilian Schuettler
08f16d352e RED-6093: Prototype document structure
wip
2023-03-20 10:58:11 +01:00
Kilian Schuettler
c10ea6d937 RED-6093: Prototype find entities in rules
*added improved string to text position mapping
2023-03-20 10:58:11 +01:00
Kilian Schuettler
40fb6a42d7 RED-6093: Prototype find entities in rules
*added a prototype paragraph rule
2023-03-20 10:58:11 +01:00
deiflaender
cd4d06b036 RED-6093: Prototype find entities in rules 2023-03-20 10:58:11 +01:00
deiflaender
339833e2d6 RED-6224: Fixed pr findings 2023-03-17 16:07:20 +01:00
deiflaender
ec0de5b6a2 RED-6224: Made dictionary cache multitenancy ready 2023-03-17 13:54:22 +01:00
Viktor Seifert
fe5121b1ed RED-6250: Switched to new metrics-commons version to not have to instantiate a factory (reduces code duplication) 2023-03-15 18:16:53 +01:00
Viktor Seifert
519bb9cb52 RED-6250: Changed function-timer metric to use code from metric commons 2023-03-15 16:40:04 +01:00
Timo Bejan
6c0886e2c4 Pull request #522: RED-6162 - bumped version
Merge in RED/redaction-service from RED-6162 to master

* commit '9f396cccdf4b6762904c12923c6ba278398869ca':
  RED-6162 - bumped version
2023-03-10 21:44:17 +01:00
deiflaender
c13d148ae7 RED-4645: Multitenancy for storage 2023-03-10 16:21:54 +01:00
Timo Bejan
9f396cccdf RED-6162 - bumped version 2023-03-10 15:58:29 +02:00
Timo Bejan
56f98549e4 RED-6182 - version bump 2023-03-10 08:46:34 +02:00
Timo Bejan
5ca2e5af23 RED-6182 - version bump 2023-03-10 08:46:34 +02:00
Timo Bejan
99b25a4ccb RED-6162 - persistence update - reverse dependency cleanup 2023-03-10 08:46:34 +02:00
Timo Bejan
4c153fc5f8 RED-6162 - persistence update 2023-03-10 08:46:34 +02:00
Viktor Seifert
f9d61a57c1 RED-6264: Corrected metric name and added clarifying comment 2023-03-02 14:42:14 +01:00
Viktor Seifert
c6837d41af RED-6264: Implemented metric to show analyze time correlated with pages 2023-03-01 16:39:22 +01:00
Viktor Seifert
6e73cac99c RED-6204: Added annotation to suppress a false-positive warning in SonarQube 2023-02-24 17:19:52 +01:00
Viktor Seifert
dcf040b000 RED-6204: Corrected typo in comment 2023-02-24 15:18:00 +01:00
Viktor Seifert
196cd5934b RED-6204: Simplified conversion of File to Path 2023-02-24 14:01:57 +01:00
Viktor Seifert
6ae4d16bb7 RED-6204: Corrected temp file deletion in PdfSegmentationService.
Previously files were not deleted correctly, because the code tried to delete the file while a file-stream was still open.
2023-02-24 13:32:27 +01:00
Viktor Seifert
4b21418163 RED-6204: Upgraded to newest platform-dependency and migrated tests to Junit5 2023-02-24 12:13:43 +01:00
Viktor Seifert
3fad6381ce RED-6204: Removed redundant parenthesis 2023-02-23 16:57:58 +01:00
Viktor Seifert
3804acf3c1 RED-6204: Removed redundant variable assignment (sonar issue) & simplified code 2023-02-23 16:49:21 +01:00
Viktor Seifert
8ed976b0f7 RED-6204: Remove unused import (sonar issue) 2023-02-23 16:36:17 +01:00
Viktor Seifert
8fac22b8ab RED-6204: Moved code to its own class for metrics.
Moved a private method to find sections to its own class, so that it can produce a separate metric value.
2023-02-23 11:57:36 +01:00
Viktor Seifert
00ef0eb677 RED-6204: Moved code to its own class for metrics.
Moved a private method to find entities to its own class, so that it can produce a separate metric value.
2023-02-22 17:45:30 +01:00
Viktor Seifert
f9b7ad4e3e RED-6204: Remove AspectJ mode setting, since it would require a couple of AspectJ dependencies for a very limited use case 2023-02-22 16:33:04 +01:00
Viktor Seifert
d65ff273a6 RED-6204: Switched to AspectJ to enable proxies on private methods 2023-02-22 12:39:47 +01:00
deiflaender
0cf867b97c RED-6164: Fixed calculation of image is ocr on scanned pages with cv analysis found tables 2023-02-17 12:13:39 +01:00
deiflaender
1fca62f578 RED-5664: Enabled to redact words that start or end with seperator, needed for japan documents 2023-02-13 10:33:22 +01:00
Timo Bejan
e23432096c RED-4609 - adjusted some metrics, added tests for metrics 2023-02-08 19:12:47 +02:00