Add number extraction method and line skipping functionality#652
Add number extraction method and line skipping functionality#652avonbuttlar wants to merge 1 commit into
Conversation
- Implemented `extract_number_from_text` to extract numeric values from strings with text. - Updated `coerce_type` to utilize the new extraction method for converting strings to int/float. - Added support for skipping lines based on provided patterns in the `parse_block` function.
|
Thanks for the PR @avonbuttlar, and welcome — nice first contribution! 🎉 The The pattern
So even the Suggestions:
This is feature-sized, so it would land in a future minor release rather than the current maintenance line. Happy to help get it over the finish line — thanks again! |
extract_number_from_textto extract numeric values from strings with text.coerce_typeto utilize the new extraction method for converting strings to int/float.parse_blockfunction.Since i dont get the tests to run (i do not have tesseract), i hope someone can help :).
Since this is my first pr to a public repo ever, please give feedback. Ik i need to do some documentation still, but i tought i first add the functionalltiy.