Classification and Named Entity Recognition of Short Texts