From Text to Meaning: How Natural Language Processing Algorithms Work