Python CCG analyzer