SlideShare a Scribd company logo
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 7 219 – 222
_______________________________________________________________________________________________
219
IJRITCC | July 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
Natural Language Processing Semantical and Syntactical Analysis for English
Gayatri P Patil1
Department of Computer Science
Rani Channamma University,
Belagavi-591156, India
E-mail: gayatripatil865@gmail.com
Suman P Gouda3
Department of Computer Science
Rani Channamma University
Belagavi-591156, India
E-mail: sumangouda123@gmail.com
Mallamma V Reddy2
Department of Computer Science
Rani Channamma University,
Belagavi-591156, India
E-mail: mallammantreddy@gmail.com
Nishali R Nandarage4
Department of Computer Science
Rani Channamma University,
Belagavi-591156, India
E-mail: nishalinandarge@gmail.com
Abstract—Natural language is to facilitate the user to exchange the ideas among people. These ideas converge to form the "meaning" of an
utterance or text in the form of a series of sentences. The meaning of sentences describes as semantics. The input/output of a NLP can be a
written text or a speech. There are two major components of natural language processing, namely: natural language understanding which
describes mapping of given input in the natural language into a useful representation and the other is natural language generation which produce
natural language as output on basis of input data as text. This paper deals with natural language understanding mainly on semantics
Keywords- compound words, Morphology, NLP, pragmatics, Semantics, syntactic
__________________________________________________*****_________________________________________________
I. INTRODUCTION
The semantical study of any language is comprises of syntax,
semantics and pragmatics [1], morphology. The term syntax is
a part of grammar which tells the rules that governs the
structure of sentences. It also concerns with how words
grouped and connected to each other in sentence. Semantics it
is a branch of linguistics, which aims to study the meaning of
a language. It covers most complex tasks like: finding
synonyms, word sense disambiguation, translating from one
natural language to another. To solve any semantical problem
morphological and syntactical analysis must be done.
Grammatical (syntactically valid) form of English is
―SUBJECT VERB OBJECT‖ and for natural language like
Kannada is ―SUBJECT OBJECT VERB‖ does not imply
sensible (semantically valid). The grammatical sentence are
shown in example 1 and 2,
Example 1:
―Dog eats Cat‖ } –statement 1
―Cat eats Dog‖ } - statement 2
Both are syntactically valid that is it contains subject object
verb but the statement 2 is semantically wrong that the general
knowledge about the world, which each language user must
know about the other‘s beliefs and goals. Hence here the
general knowledge is ―dog eats cat‖ but ―cat does not eat dog‖
and the other example is
Example 2:
―You have a red light‖
[Kempu battiyannu urisi]
The sentence in example 2 is grammatically ok (subject verb
object) in English and (subject object verb) in Kannada, but
makes no sense. The sentences are used in different situations
and how that affects the interpretation of sentence is described
by pragmatics [2]. The sentence ―You have a red light‖ is
ambiguous. Without knowing the background, the identity of
the speaker, and his or her intention, it is difficult to
understand the meaning with confidence. For example the
sentence ―You have a red light‖, it could mean that:
 You have red ambient light.
 You have red light while driving your car.
 You cannot go ahead with your project.
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 7 219 – 222
_______________________________________________________________________________________________
220
IJRITCC | July 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
Figure 1 System Architecture for semantic analysis
The system accepts input in form of character, word or
sentence. If the input is character it will check for valid ASCII
alphabets, numerals and special characters then verifies its
semantics. If the input is root word it matches to the database
means it‘s semantically right or if the input is compound word
morphing will be applied to get a root word for its semantic
Correctness for example- working where the root word is
‗work‘ and ‗ing‘ is suffix. If the input is a sentence we have to
check for character, word semantic and sentence semantic
which should be in the form of Subject Verb Object for
English sentence which exist in world discourse knowledge. If
root word is not present in the database then search the word
in Wikipedia and display the appropriate result.
II. SEMANTICAL ANALYSIS
Semantical analysis is the part of natural language
processing, Semantical analysis includes the following
terminologies
A. Syntax
It is the study of structural relationship between the words.
[3]
For example: Man threw ball.
The given above example is in English language, which
consist of Subject + Verb + Object.
I.e. Man (Subject) + threw (Verb) + ball (Object).
B. Semantics
It is a branch of linguistics which deals with understanding
the meaning of language.
For example 1: Some see the glass half empty and others see
the glass half full.
It has the real world knowledge hence it is semantically
correct sentence.
Words without Meanings where Advertisers use certain
words, some without any real meaning at all, to convey
certain impressions
For example 2: Do you have tired blood? [4]
C. Compound word
It is the word which is followed by either suffix or a prefix.
For example: playing, where the root word is ‗play‘ and suffix
is ‗ing‘.
D.  Morphology
It is the branch of linguistics, which deals with study of
word structure. How they are formed and their relationship to
other words in the sentence. It is the process of analyzing the
structure and parts of words, such as stems, root words,
suffixes and prefixes [5].
For example – singing, this is a compound word where root
word is ‗sing‘ and suffix is ‗ing‘.
E. Pragmatics
It is the study of different aspects of language use in
particular situations, which deals with the ways in which
speaker and listener use and interprets words and utterances
[6].
For example: she is taking turns in conversations
III. METHODOLOGY
Natural Language Processing is a system which takes input
as string of words and produce structured representation as
output by capturing the meaning of those strings. This paper
carries Semantical analysis for the Natural Language such as
English which is a global language. The algorithm 1.1 is
designed to produce an experimental system in Semantical
analysis for English by providing input as characters, words
and sentences. The output of the system checks the Semantical
correctness of the given input (character, word or sentence).
Input: English word or sentence
Output: semantically analyzed result
Algorithm 1.1
Step 1: Read the input
Step 2: Check whether the entered input is character, or a
word, or a sentence.
Step 3: If the input is a character then check for its valid
ASCII alphabets, numbers and special character. Go
to step 6
Else
Step 4: If the input is a word then check the Semantical
availability of the word in database.
a. If the word is found in the database, go to step 6.
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 7 219 – 222
_______________________________________________________________________________________________
221
IJRITCC | July 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
Else
b. If the word is compound word then separate the
suffix from the root by applying morphological rule.
Then re-initialize the word without suffix.
c. If the input word is not found in the database, check
the Semantical availability of the word in Wikipedia.
d. Repeat step 4 until the database finds the root word.
Step 5: If the input is a sentence split the sentence by
a. A character then goes to step 3
b. Word semantic then go to step 4
Then verify the sentence for semantic which is in the form of
Subject Verb Object. Go to step 6
Step 6: Display the entered input is semantically right.
Else
Step 7: Display the entered input is semantically wrong
IV. IMPLEMENTATION RESULTS
The Semantical analysis for English language is built by
using HTML [7] as front end and WAMP server [8/] for
database. The system is implemented for characters which
includes the numbers, characters and special characters and
compound words where morphological rules are applied to get
root word and then checks it for Semantical correctness. The
sample results are shown in Figure 2 to 6
Figure 2 Semantical analysis for character
Figure 3 Semantical analysis for Number
Figure 4 Semantical analysis for Special characte
Figure 5 Semantical analysis for Compound Words
Figure 6 Semantical analysis for non existing word
V. CONCLUSION AND FUTURE WORK
This paper presents an approach of semantical analysis for
English language which applies on characters and compound
words; it is useful in finding synonyms, word sense
disambiguation, translating from one natural language to
another and populating base knowledge. The work will be
continued for checking the semantical correctness of sentences
and further same will be applied for natural languages.
REFERENCES
[1] http://www.nutramed.com/language/syntax_semantics.htm
[2] http://www.jguru.com/faq/view.jsp?EID=81.
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 7 219 – 222
_______________________________________________________________________________________________
222
IJRITCC | July 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
[3] https://www.thoughtco.com/subject-verb-object-1692011
[4] http://examples.yourdictionary.com/examples-of-semantics.html
[5] https://www.cs.bham.ac.uk/~pjh/sem1a5/pt2/pt2_intro_morphol
ogy.html]
[6] http://study.com/academy/lesson/what-is-pragmatics-definition-
examples.html
[7] https://www.w3schools.com/html/html_intro.asp:
[8] http://www.wampserver.com/en/.

More Related Content

PDF
Ay34306312
PPTX
Parsing
PDF
English to punjabi machine translation system using hybrid approach of word s
PDF
PDF
S URVEY O N M ACHINE T RANSLITERATION A ND M ACHINE L EARNING M ODELS
PDF
Customizable Segmentation of
PDF
ANNOTATED GUIDELINES AND BUILDING REFERENCE CORPUS FOR MYANMAR-ENGLISH WORD A...
PDF
Ijarcet vol-3-issue-3-623-625 (1)
Ay34306312
Parsing
English to punjabi machine translation system using hybrid approach of word s
S URVEY O N M ACHINE T RANSLITERATION A ND M ACHINE L EARNING M ODELS
Customizable Segmentation of
ANNOTATED GUIDELINES AND BUILDING REFERENCE CORPUS FOR MYANMAR-ENGLISH WORD A...
Ijarcet vol-3-issue-3-623-625 (1)

What's hot (20)

PDF
Usage of regular expressions in nlp
PDF
Usage of regular expressions in nlp
PDF
Robust extended tokenization framework for romanian by semantic parallel text...
PDF
SENTENCE-LEVEL DIALECTS IDENTIFICATION IN THE GREATER CHINA REGION
PDF
Ijartes v1-i1-002
PPTX
Machine Translation System: Chhattisgarhi to Hindi
PDF
Cross lingual similarity discrimination with translation characteristics
PDF
08年5月bec高级考试报告
PDF
A ROBUST THREE-STAGE HYBRID FRAMEWORK FOR ENGLISH TO BANGLA TRANSLITERATION
PDF
MORPHOLOGICAL ANALYZER USING THE BILSTM MODEL ONLY FOR JAPANESE HIRAGANA SENT...
PDF
ISSUES AND CHALLENGES IN MARATHI NAMED ENTITY RECOGNITION
PDF
3248 w13 ms_1
PDF
EXTRACTING LINGUISTIC SPEECH PATTERNS OF JAPANESE FICTIONAL CHARACTERS USING ...
PDF
PDFTextProcessing
PDF
INTEGRATION OF PHONOTACTIC FEATURES FOR LANGUAGE IDENTIFICATION ON CODE-SWITC...
PDF
Language Identification from a Tri-lingual Printed Document: A Simple Approach
PPTX
Language translation english to hindi
PDF
Ny3424442448
PDF
Turkish Natural Language Processing Studies
Usage of regular expressions in nlp
Usage of regular expressions in nlp
Robust extended tokenization framework for romanian by semantic parallel text...
SENTENCE-LEVEL DIALECTS IDENTIFICATION IN THE GREATER CHINA REGION
Ijartes v1-i1-002
Machine Translation System: Chhattisgarhi to Hindi
Cross lingual similarity discrimination with translation characteristics
08年5月bec高级考试报告
A ROBUST THREE-STAGE HYBRID FRAMEWORK FOR ENGLISH TO BANGLA TRANSLITERATION
MORPHOLOGICAL ANALYZER USING THE BILSTM MODEL ONLY FOR JAPANESE HIRAGANA SENT...
ISSUES AND CHALLENGES IN MARATHI NAMED ENTITY RECOGNITION
3248 w13 ms_1
EXTRACTING LINGUISTIC SPEECH PATTERNS OF JAPANESE FICTIONAL CHARACTERS USING ...
PDFTextProcessing
INTEGRATION OF PHONOTACTIC FEATURES FOR LANGUAGE IDENTIFICATION ON CODE-SWITC...
Language Identification from a Tri-lingual Printed Document: A Simple Approach
Language translation english to hindi
Ny3424442448
Turkish Natural Language Processing Studies
Ad

Similar to Natural Language Processing Semantical and Syntactical Analysis for English (20)

PDF
Ijetcas14 458
PDF
Domain Specific Terminology Extraction (ICICT 2006)
PPTX
Natural Language Processing
PDF
Semantic analyzer for marathi text
PDF
Semantic analyzer for marathi text
PPT
An Intuitive Natural Language Understanding System
PPTX
PDF
AI Lesson 41
PDF
Lesson 41
PPT
Lec 15,16,17 NLP.machine translation
PDF
Text Analytics for Security
PPTX
Natural language processing.pptx
PPT
Lecture Number 2 of Natural Language Processing
PPT
Natural Language Processing
PDF
NL Context Understanding 23(6)
PPTX
AI UNIT-3 FINAL (1).pptx
PPTX
Artificial Intelligence_NLP
PDF
Natural Language Processing Course in AI
Ijetcas14 458
Domain Specific Terminology Extraction (ICICT 2006)
Natural Language Processing
Semantic analyzer for marathi text
Semantic analyzer for marathi text
An Intuitive Natural Language Understanding System
AI Lesson 41
Lesson 41
Lec 15,16,17 NLP.machine translation
Text Analytics for Security
Natural language processing.pptx
Lecture Number 2 of Natural Language Processing
Natural Language Processing
NL Context Understanding 23(6)
AI UNIT-3 FINAL (1).pptx
Artificial Intelligence_NLP
Natural Language Processing Course in AI
Ad

More from rahulmonikasharma (20)

PDF
Data Mining Concepts - A survey paper
PDF
A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...
PDF
Considering Two Sides of One Review Using Stanford NLP Framework
PDF
A New Detection and Decoding Technique for (2×N_r ) MIMO Communication Systems
PDF
Broadcasting Scenario under Different Protocols in MANET: A Survey
PDF
Sybil Attack Analysis and Detection Techniques in MANET
PDF
A Landmark Based Shortest Path Detection by Using A* and Haversine Formula
PDF
Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...
PDF
Quality Determination and Grading of Tomatoes using Raspberry Pi
PDF
Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...
PDF
DC Conductivity Study of Cadmium Sulfide Nanoparticles
PDF
A Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDM
PDF
IOT Based Home Appliance Control System, Location Tracking and Energy Monitoring
PDF
Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...
PDF
Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...
PDF
Alamouti-STBC based Channel Estimation Technique over MIMO OFDM System
PDF
Empirical Mode Decomposition Based Signal Analysis of Gear Fault Diagnosis
PDF
Short Term Load Forecasting Using ARIMA Technique
PDF
Impact of Coupling Coefficient on Coupled Line Coupler
PDF
Design Evaluation and Temperature Rise Test of Flameproof Induction Motor
Data Mining Concepts - A survey paper
A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...
Considering Two Sides of One Review Using Stanford NLP Framework
A New Detection and Decoding Technique for (2×N_r ) MIMO Communication Systems
Broadcasting Scenario under Different Protocols in MANET: A Survey
Sybil Attack Analysis and Detection Techniques in MANET
A Landmark Based Shortest Path Detection by Using A* and Haversine Formula
Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...
Quality Determination and Grading of Tomatoes using Raspberry Pi
Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...
DC Conductivity Study of Cadmium Sulfide Nanoparticles
A Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDM
IOT Based Home Appliance Control System, Location Tracking and Energy Monitoring
Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...
Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...
Alamouti-STBC based Channel Estimation Technique over MIMO OFDM System
Empirical Mode Decomposition Based Signal Analysis of Gear Fault Diagnosis
Short Term Load Forecasting Using ARIMA Technique
Impact of Coupling Coefficient on Coupled Line Coupler
Design Evaluation and Temperature Rise Test of Flameproof Induction Motor

Recently uploaded (20)

PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PDF
Soil Improvement Techniques Note - Rabbi
PPTX
Management Information system : MIS-e-Business Systems.pptx
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PPTX
Module 8- Technological and Communication Skills.pptx
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
Design Guidelines and solutions for Plastics parts
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPT
Total quality management ppt for engineering students
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
"Array and Linked List in Data Structures with Types, Operations, Implementat...
Soil Improvement Techniques Note - Rabbi
Management Information system : MIS-e-Business Systems.pptx
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Exploratory_Data_Analysis_Fundamentals.pdf
Module 8- Technological and Communication Skills.pptx
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Design Guidelines and solutions for Plastics parts
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
Nature of X-rays, X- Ray Equipment, Fluoroscopy
Safety Seminar civil to be ensured for safe working.
Automation-in-Manufacturing-Chapter-Introduction.pdf
Categorization of Factors Affecting Classification Algorithms Selection
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Total quality management ppt for engineering students
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf

Natural Language Processing Semantical and Syntactical Analysis for English

  • 1. International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169 Volume: 5 Issue: 7 219 – 222 _______________________________________________________________________________________________ 219 IJRITCC | July 2017, Available @ http://www.ijritcc.org _______________________________________________________________________________________ Natural Language Processing Semantical and Syntactical Analysis for English Gayatri P Patil1 Department of Computer Science Rani Channamma University, Belagavi-591156, India E-mail: gayatripatil865@gmail.com Suman P Gouda3 Department of Computer Science Rani Channamma University Belagavi-591156, India E-mail: sumangouda123@gmail.com Mallamma V Reddy2 Department of Computer Science Rani Channamma University, Belagavi-591156, India E-mail: mallammantreddy@gmail.com Nishali R Nandarage4 Department of Computer Science Rani Channamma University, Belagavi-591156, India E-mail: nishalinandarge@gmail.com Abstract—Natural language is to facilitate the user to exchange the ideas among people. These ideas converge to form the "meaning" of an utterance or text in the form of a series of sentences. The meaning of sentences describes as semantics. The input/output of a NLP can be a written text or a speech. There are two major components of natural language processing, namely: natural language understanding which describes mapping of given input in the natural language into a useful representation and the other is natural language generation which produce natural language as output on basis of input data as text. This paper deals with natural language understanding mainly on semantics Keywords- compound words, Morphology, NLP, pragmatics, Semantics, syntactic __________________________________________________*****_________________________________________________ I. INTRODUCTION The semantical study of any language is comprises of syntax, semantics and pragmatics [1], morphology. The term syntax is a part of grammar which tells the rules that governs the structure of sentences. It also concerns with how words grouped and connected to each other in sentence. Semantics it is a branch of linguistics, which aims to study the meaning of a language. It covers most complex tasks like: finding synonyms, word sense disambiguation, translating from one natural language to another. To solve any semantical problem morphological and syntactical analysis must be done. Grammatical (syntactically valid) form of English is ―SUBJECT VERB OBJECT‖ and for natural language like Kannada is ―SUBJECT OBJECT VERB‖ does not imply sensible (semantically valid). The grammatical sentence are shown in example 1 and 2, Example 1: ―Dog eats Cat‖ } –statement 1 ―Cat eats Dog‖ } - statement 2 Both are syntactically valid that is it contains subject object verb but the statement 2 is semantically wrong that the general knowledge about the world, which each language user must know about the other‘s beliefs and goals. Hence here the general knowledge is ―dog eats cat‖ but ―cat does not eat dog‖ and the other example is Example 2: ―You have a red light‖ [Kempu battiyannu urisi] The sentence in example 2 is grammatically ok (subject verb object) in English and (subject object verb) in Kannada, but makes no sense. The sentences are used in different situations and how that affects the interpretation of sentence is described by pragmatics [2]. The sentence ―You have a red light‖ is ambiguous. Without knowing the background, the identity of the speaker, and his or her intention, it is difficult to understand the meaning with confidence. For example the sentence ―You have a red light‖, it could mean that:  You have red ambient light.  You have red light while driving your car.  You cannot go ahead with your project.
  • 2. International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169 Volume: 5 Issue: 7 219 – 222 _______________________________________________________________________________________________ 220 IJRITCC | July 2017, Available @ http://www.ijritcc.org _______________________________________________________________________________________ Figure 1 System Architecture for semantic analysis The system accepts input in form of character, word or sentence. If the input is character it will check for valid ASCII alphabets, numerals and special characters then verifies its semantics. If the input is root word it matches to the database means it‘s semantically right or if the input is compound word morphing will be applied to get a root word for its semantic Correctness for example- working where the root word is ‗work‘ and ‗ing‘ is suffix. If the input is a sentence we have to check for character, word semantic and sentence semantic which should be in the form of Subject Verb Object for English sentence which exist in world discourse knowledge. If root word is not present in the database then search the word in Wikipedia and display the appropriate result. II. SEMANTICAL ANALYSIS Semantical analysis is the part of natural language processing, Semantical analysis includes the following terminologies A. Syntax It is the study of structural relationship between the words. [3] For example: Man threw ball. The given above example is in English language, which consist of Subject + Verb + Object. I.e. Man (Subject) + threw (Verb) + ball (Object). B. Semantics It is a branch of linguistics which deals with understanding the meaning of language. For example 1: Some see the glass half empty and others see the glass half full. It has the real world knowledge hence it is semantically correct sentence. Words without Meanings where Advertisers use certain words, some without any real meaning at all, to convey certain impressions For example 2: Do you have tired blood? [4] C. Compound word It is the word which is followed by either suffix or a prefix. For example: playing, where the root word is ‗play‘ and suffix is ‗ing‘. D. Morphology It is the branch of linguistics, which deals with study of word structure. How they are formed and their relationship to other words in the sentence. It is the process of analyzing the structure and parts of words, such as stems, root words, suffixes and prefixes [5]. For example – singing, this is a compound word where root word is ‗sing‘ and suffix is ‗ing‘. E. Pragmatics It is the study of different aspects of language use in particular situations, which deals with the ways in which speaker and listener use and interprets words and utterances [6]. For example: she is taking turns in conversations III. METHODOLOGY Natural Language Processing is a system which takes input as string of words and produce structured representation as output by capturing the meaning of those strings. This paper carries Semantical analysis for the Natural Language such as English which is a global language. The algorithm 1.1 is designed to produce an experimental system in Semantical analysis for English by providing input as characters, words and sentences. The output of the system checks the Semantical correctness of the given input (character, word or sentence). Input: English word or sentence Output: semantically analyzed result Algorithm 1.1 Step 1: Read the input Step 2: Check whether the entered input is character, or a word, or a sentence. Step 3: If the input is a character then check for its valid ASCII alphabets, numbers and special character. Go to step 6 Else Step 4: If the input is a word then check the Semantical availability of the word in database. a. If the word is found in the database, go to step 6.
  • 3. International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169 Volume: 5 Issue: 7 219 – 222 _______________________________________________________________________________________________ 221 IJRITCC | July 2017, Available @ http://www.ijritcc.org _______________________________________________________________________________________ Else b. If the word is compound word then separate the suffix from the root by applying morphological rule. Then re-initialize the word without suffix. c. If the input word is not found in the database, check the Semantical availability of the word in Wikipedia. d. Repeat step 4 until the database finds the root word. Step 5: If the input is a sentence split the sentence by a. A character then goes to step 3 b. Word semantic then go to step 4 Then verify the sentence for semantic which is in the form of Subject Verb Object. Go to step 6 Step 6: Display the entered input is semantically right. Else Step 7: Display the entered input is semantically wrong IV. IMPLEMENTATION RESULTS The Semantical analysis for English language is built by using HTML [7] as front end and WAMP server [8/] for database. The system is implemented for characters which includes the numbers, characters and special characters and compound words where morphological rules are applied to get root word and then checks it for Semantical correctness. The sample results are shown in Figure 2 to 6 Figure 2 Semantical analysis for character Figure 3 Semantical analysis for Number Figure 4 Semantical analysis for Special characte Figure 5 Semantical analysis for Compound Words Figure 6 Semantical analysis for non existing word V. CONCLUSION AND FUTURE WORK This paper presents an approach of semantical analysis for English language which applies on characters and compound words; it is useful in finding synonyms, word sense disambiguation, translating from one natural language to another and populating base knowledge. The work will be continued for checking the semantical correctness of sentences and further same will be applied for natural languages. REFERENCES [1] http://www.nutramed.com/language/syntax_semantics.htm [2] http://www.jguru.com/faq/view.jsp?EID=81.
  • 4. International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169 Volume: 5 Issue: 7 219 – 222 _______________________________________________________________________________________________ 222 IJRITCC | July 2017, Available @ http://www.ijritcc.org _______________________________________________________________________________________ [3] https://www.thoughtco.com/subject-verb-object-1692011 [4] http://examples.yourdictionary.com/examples-of-semantics.html [5] https://www.cs.bham.ac.uk/~pjh/sem1a5/pt2/pt2_intro_morphol ogy.html] [6] http://study.com/academy/lesson/what-is-pragmatics-definition- examples.html [7] https://www.w3schools.com/html/html_intro.asp: [8] http://www.wampserver.com/en/.