python-documentai-toolbox
python-documentai-toolbox copied to clipboard
feat: added confidence score and detected languages to `Page` classes
- Introduced
confidenceproperty to represent the confidence score of Token detection. - Added
detected_languagesproperty to provide a list of detected languages for each Token. - Updated unit tests to validate the new properties.
Fixes #375 @sarath-mec 🦕
hi @holtskinner, I've moved it to the _BasePageElement, thanks for your prompt review!
hi @holtskinner , Ive removed the test samples as reviewed and other changes as well. Let me know if there's anything else
hi @holtskinner , all done thanks for reviewing!