Simple Introduction to Natural Language Processing (NLP)

Chathurangi Jayawardana
2 min readOct 28, 2020
Photo by Wrightstudio | Dreamstime.com

Hi everyone,

We can simply define Natural language processing (NLP) is the relationship between computers and human language. More specifically, natural language processing is the computer understanding, analysis, manipulation, and/or generation of natural language. I will discuss about what is NLP and its components, steps and advantages in here.

What is Natural Language Processing?

Natural Language Processing (NLP) is a field of computer science that aims to understand or generate human languages, either in text or speech form. Computers are programmed to identify written and spoken words. But to really communicate with people, they need to understand context.

Components in NLP

There are two components in NLP.

  1. Natural Language Understanding(NLU) -
  2. Natural Language Generation(NLG)

Steps in NLP

These are general steps in NLP.

Morphological Analysis: Deals with understanding distinct words according to their morphemes ( the smallest units of meanings) . It is defined as grammatical analysis of how words are formed by using morphemes, which are the minimum unit of meaning. A word can be broken down into morphemes such as prefix, stem, and suffix.

Lexical Analysis - It involves identifying and analyzing the structure of words. Lexicon of a language means the collection of words and phrases in a language. Lexical analysis is dividing the whole chunk of txt into paragraphs, sentences, and words.

Syntactic Analysis - It involves analysis of words in the sentence for grammar and arranging words in a manner that shows the relationship among the words.

Semantic Analysis - It draws the exact meaning or the dictionary meaning from the text. The text is checked for meaningfulness. It is done by mapping syntactic structures and objects in the task domain.

Discourse Integration - The meaning of any sentence depends upon the meaning of the sentence just before it. In addition, it also brings about the meaning of immediately succeeding sentence.

Pragmatic Analysis - During this, what was said is re-interpreted on what it actually meant. It involves deriving those aspects of language which require real world knowledge.

Advantages of NLP

  • Large-scale analysis - Natural Language Processing helps machines automatically understand and analyze huge amounts of unstructured text data like social media comments, customer support tickets, online reviews, news reports, and more.
  • Automated processes in real-time - Natural language processing tools can help machines learn to sort and route information with little to no human interaction quickly, efficiently, accurately, and around the clock.
  • Tailored to your industry - Natural language processing algorithms can be tailored to your needs and criteria, like complex, industry-specific language even sarcasm and misused words.

Thank you!

--

--

Chathurangi Jayawardana

Software Engineer | Technical Writer | University of Moratuwa, Sri Lanka.