Page 335 - AI Computer 10
P. 335
AI Activity
AI Activity
Natural Language Processing
Akinator
Akinator is a web game based on the Natural Language
Processing domain of AI.
In this game, Akinator will ask the user questions
until it guesses who or what the user has thought of.
This is a version of the “20 questions game”, where one
player can ask the other player up to 20 questions to
guess what they thought of. These questions will help
you to build important skills such as communication,
critical thinking, etc.
Let us understand with the help of few questions:
● Are you a reptile? ● Do you live in water?
● Do you have feathers? ● Do you eat meat?
In this game, Akinator will try to determine what the character, object or an animal is on the basis of
answers. To play this game online, visit the link: https://en.akinator.com/ and follow further instructions.
After playing this game, answer the following questions:
1. Were you able to guess the character? _______________________________
2. If yes, in how many questions were you able to guess it? _______________________________
3. If no, how many times did you try to play this game? _______________________________
4. What strategy must one follow to win this game? _______________________________
STAGES IN NLP PROJECT
Natural Language Processing (NLP) involves several stages that help in transforming human language into a format
that a machine can understand and manipulate.
The various stages in a NLP project are:
(a) Lexical Analysis (d) Discourse Integration
(b) Syntactical Analysis (e) Pragmatic Analysis
(c) Semantic Analysis
Lexical Syntactic Semantic
Analysis Analysis Analysis
Pragmatic Disclosure
Analysis Integration
u Lexical Analysis: NLP begins with recognising the structure of the input words. This involves breaking down
a large block of text into organised components such as paragraphs, sentences, and individual words. This
makes up the lexicon of the text under context. Lexicon refers to a comprehensive collection of words and
phrases that are utilised within a language or a given text.
201
201