Analyzes text based on vocabulary