Lexing vs Parsing

Parsing: Recognize sentence structure

Lexers: Recognize words

Example:

SentenceParserLexer
I eat foodCorrectCorrect
food eat IWrongCorrect