What is natural language processing (NLP)?

Natural language processing (NLP) is the field of AI and linguistics that enables computers to read, understand, classify, summarise and generate human language.

It differs from a large language model in level: NLP is a field, while an LLM is one type of model used to carry out its tasks. The field did not start with LLMs; it developed over decades through rule-based and statistical methods.

Topic
Natural language processing and Turkish
Also known as
NLP

How natural language processing (NLP) works

  1. Raw text is normalised and split into tokens; in agglutinative languages such as Turkish, suffixes make this step harder.
  2. Tokens are turned into numeric vectors (embeddings) that carry meaning and context.
  3. Transformer models learn general language in pre-training and are adapted to tasks mostly through fine-tuning for encoder models and through prompting or fine-tuning for large language models.
  4. Typical tasks are text classification, named entity recognition, summarisation, machine translation and question answering, each measured with task-specific metrics.

In more detail

Historical development: from rules to large language models

The field of NLP traces back to the 1950s, notably Alan Turing's 1950 test, the 1954 Georgetown-IBM machine translation experiment and Chomsky's formal grammars, before shifting to statistical corpora in the 1990s and neural/Transformer architectures in the 2010s. Providing this timeline clarifies why many foundational pipelines, such as tokenisation, morphological analysis and BM25 lexical matching, still coexist with modern LLMs.

Tokeniser efficiency and context cost in Turkish

In Turkish NLP, 'tokeniser fertility', the average number of tokens needed per word, is a critical efficiency metric. Because English-dominated tokenisers split Turkish roots and agglutinative suffixes into many short fragments, a Turkish document can consume noticeably more tokens than its English equivalent, increasing latency and reducing effective context length.

Evaluation metrics by task

NLP tasks are evaluated very differently depending on their type: classification uses F1 and confusion matrices, NER uses exact span F1, retrieval uses nDCG or Recall@k and text generation uses semantic similarity, LLM-as-a-judge or human evaluation alongside classic n-gram metrics like BLEU and ROUGE. Using the wrong metric, such as BLEU for open-ended reasoning, gives misleading quality signals.

Commonly confused terms

TermHow it differs
Computational linguisticsComputational linguistics studies human language formally and theoretically using computational models, whereas NLP focuses on engineering practical software systems to process, retrieve and generate language.
Natural language understanding and generationNatural Language Understanding (NLU) is the comprehension-focused subfield of NLP (intent, entities, sentiment), while Natural Language Generation (NLG) focuses on producing coherent text from structured data or prompts.
Information retrievalInformation Retrieval (IR) ranks and fetches relevant documents for a query (lexical or semantic search), whereas NLP analyses and transforms language content within or across documents.

Why natural language processing (NLP) matters for on-premises AI

Sensitive text such as contracts, petitions and customer correspondence stays inside when it is processed in-house. Not every task needs a large model: narrow, high-volume work such as entity recognition, classification or masking personal data can run on small models on a CPU or a single GPU with much lower latency. For Turkish text, models are chosen by measuring Turkish accuracy and how many tokens the same text needs.

ON-PREMISES EXAMPLE

A municipality classifies citizens' petitions by topic and urgency automatically; the text is processed on the municipality's own servers.

Common questions

Why is Turkish harder for NLP than English?

Turkish is agglutinative: suffixes on one root produce many word forms. With English-centric tokenisers the same content can need more tokens, which fills the context window faster.

Have large language models made classic NLP models obsolete?

No. For narrow, high-volume tasks such as classification, entity recognition or masking personal data, small models offer lower latency and hardware cost.

Sources

In the glossary: Glossary, M to Q

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.