scrapinghub / number-parser

Parse numbers written in natural language
BSD 3-Clause "New" or "Revised" License
104 stars 23 forks source link

Refactor parsing logic #45

Closed noviluni closed 3 years ago

noviluni commented 3 years ago

I know that this PR is hard to review, but as we are in an early stage and the tests are passing, I will merge it.

It doesn't include changes in the logic/behavior, I have refactored the code, changed some expressions to more efficient ones, and made it easier to read.