Natural Language Processing with Azure
Understand NLP capabilities Γ’β¬β sentiment analysis, entity recognition, key phrase extraction, PII detection, summarisation Γ’β¬β and how to use Azure Language in Foundry Tools.
βNatural Language Processing is the branch of AI that deals with human language. It enables computers to read, understand, and generate text and speech in ways that are useful to people. NLP is everywhere: when your email provider filters spam, when a support system categorises tickets, when a document is automatically summarised, when your bank flags suspicious transaction descriptions. The ability to process language at scale Γ’β¬β across thousands or millions of documents Γ’β¬β is transformative for every organisation that communicates with language, which is all of them.β
βAzure Language provides a comprehensive set of NLP capabilities. Language Detection automatically identifies which language a text is written in Γ’β¬β essential for multilingual applications. Text Classification categorises text into predefined groups. Sentiment Analysis determines whether a piece of text expresses positive, negative, or neutral sentiment Γ’β¬β invaluable for processing customer reviews at scale. Key Phrase Extraction surfaces the most important topics and terms. Named Entity Recognition identifies structured entities within unstructured text Γ’β¬β names, locations, organisations, dates. PII Detection finds sensitive personal information that must be protected. Summarisation condenses long documents into concise summaries.β
βBefore modern deep learning, NLP relied on classical text processing techniques. Text Normalisation converts all text to a consistent format Γ’β¬β lowercase, remove punctuation. Stop Word Removal eliminates common words like 'the', 'a', 'is' that carry little meaning. Stemming reduces words to their base form so 'powered', 'powerful', and 'power' are treated as the same concept. n-grams analyse sequences of words together Γ’β¬β 'machine learning' as a bigram is more meaningful than the words separately. Frequency Analysis identifies the most common terms. These techniques are still used in preprocessing pipelines even when deep learning handles the main analysis.β
βIn Microsoft Foundry you have two ways to do text analysis. The first is using a general-purpose AI model like GPT-4o Γ’β¬β write a prompt like 'Extract the key phrases from this review' and the model returns the results. This is flexible and handles custom or complex analysis but consumes tokens for each call. The second approach is Azure Language in Foundry Tools Γ’β¬β a purpose-built service with pre-trained models for standard NLP tasks. It is faster, cheaper per call, and returns structured output ideal for integration. The rule of thumb: use Language service for standard NLP tasks like sentiment and entities; use LLMs for custom analysis that doesn't fit a predefined category.β
βLet us map real-world scenarios to NLP solutions. When you need to process thousands of reviews and determine whether customers are happy, that is Sentiment Analysis. When you need to surface the main topics discussed in support tickets, use Key Phrase Extraction. When you need to identify which companies and executives are mentioned in news articles, use Entity Recognition. When a document contains personal data that must be protected under GDPR or HIPAA, use PII Detection. These mappings are exactly the kind of knowledge tested in the AI-901 exam Γ’β¬β recognise the scenario and select the right NLP technique.β
βNatural Language Processing is one of the most widely used AI capabilities in enterprise. Azure gives you two routes: purpose-built Language service for standard NLP tasks, and LLMs for custom analysis. Know the capabilities Γ’β¬β sentiment, entities, key phrases, PII, summarisation Γ’β¬β and practice mapping scenarios to solutions. That knowledge is core to the AI-901 exam and to building real NLP applications. Next we explore Azure Speech Γ’β¬β converting between spoken audio and text.β
- 1Open Azure Language in Foundry Tools
- 2Run sentiment analysis on customer reviews
- 3Run entity recognition on a news article
- 4Use TextAnalyticsClient in Python
- 5Compare general LLM vs purpose-built Language API