python-documentai-toolbox icon indicating copy to clipboard operation
python-documentai-toolbox copied to clipboard

feat: added confidence score and detected languages to `Page` classes

Open Shifat7 opened this issue 8 months ago • 3 comments

  • Introduced confidence property to represent the confidence score of Token detection.
  • Added detected_languages property to provide a list of detected languages for each Token.
  • Updated unit tests to validate the new properties.

Fixes #375 @sarath-mec 🦕

Shifat7 avatar Apr 29 '25 14:04 Shifat7

hi @holtskinner, I've moved it to the _BasePageElement, thanks for your prompt review!

Shifat7 avatar Apr 29 '25 16:04 Shifat7

hi @holtskinner , Ive removed the test samples as reviewed and other changes as well. Let me know if there's anything else

Shifat7 avatar Apr 30 '25 01:04 Shifat7

hi @holtskinner , all done thanks for reviewing!

Shifat7 avatar May 04 '25 14:05 Shifat7