This PR fixes a bug likely introduced in #11, where if a sentence has no results a keyerror is thrown. In addition, this PR makes the frame detect handling more robust so if the model doesn't get the capitalization 100% correct on the identified frame this will still register the frame match rather than returning None.
This PR fixes a bug likely introduced in #11, where if a sentence has no results a keyerror is thrown. In addition, this PR makes the frame detect handling more robust so if the model doesn't get the capitalization 100% correct on the identified frame this will still register the frame match rather than returning
None
.fixes #12