Partly perfect parser