Simplest way to build a semantic analyzer
Is there any simpler approach?


Very unlikely, semantic similarity is a very complex problem related to Natural Language Understanding (NLU). You could look at the techniques used for textual entailment, Question Answering and summarization.

Simple methods like the baseline system proposed in the github link, but they don't really try to analyze the semantics.