Can I do a "string contains X" with a percentage accuracy in python?
I need to do some OCR on a large chunk of text and check if it contains a certain string but due to the inaccuracy of the OCR I need it to check if it contains something like a ~85% match for the string.

For example I may OCR a chunk of text to make sure it doesn't contain `no information available` but the OCR might see `n0 inf0rmation available` or misinterpret an number of characters.

Is there an easy way to do this in Python?
Can I do a "string contains X" with a percentage accuracy in python?
===

I need to do some OCR on a large chunk of text and check if it contains a certain string but due to the inaccuracy of the OCR I need it to check if it contains something like a ~85% match for the string.

For example I may OCR a chunk of text to make sure it doesn't contain `no information available` but the OCR might see `n0 inf0rmation available` or misinterpret an number of characters.

Is there an easy way to do this in Python?