Github sentence analyzer in Python