Samuel Depardieu

Results 7 comments of Samuel Depardieu

Good time to try Python 3.8 `cprofile as a context manager`? https://docs.python.org/3/whatsnew/3.8.html#cprofile

So it's working okay for smaller searches. "fireworks" has ~95 docs and is working

Also probably good to note that the "small" csv for ~95 docs is 64M big

True, that may be an issue. I implemented it with `text.find(start_title.text):text.find(end_title.text)`, so text based only. Some way you caould bypass this is by also checking the font size, but that...

Yeah, this code was meant to be a starting point, the plan was to swap it for a much more efficient machine learning model

Good catch, we're also quite unlikely to have that data as it's not even in the policy-docs list

@aoifespenge The only way I can fix this is by replacing that image by a pre-faded one. At the moment, a fade effect is applied on the image by the...