Python API is now working for Lex/Yacc based lattice parser.