corrected typo in function name

Fixed the typo in the parser.py