Simple NLP using PHP