Skip to content

Add number extraction method and line skipping functionality#652

Open
avonbuttlar wants to merge 1 commit intoinvoice-x:masterfrom
avonbuttlar:master
Open

Add number extraction method and line skipping functionality#652
avonbuttlar wants to merge 1 commit intoinvoice-x:masterfrom
avonbuttlar:master

Conversation

@avonbuttlar
Copy link

  • 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.

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.

- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants