Working copy of the HL parser (HL training as well as HL decoding)