Editing
Semantics and Pragmatics
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Applying</span> == '''Modeling Gricean Implicature:''' <syntaxhighlight lang="python"> def decode_meaning(literal_text, context_relevance): """ Demonstrates the difference between semantics and pragmatics. """ # Literal Semantic Meaning semantic_meaning = literal_text # Pragmatic Interpretation if literal_text == "Can you pass the salt?" and context_relevance == "at_dinner": pragmatic_meaning = "Request: Give me the salt." elif literal_text == "It's cold in here" and context_relevance == "near_window": pragmatic_meaning = "Request: Please close the window." else: pragmatic_meaning = semantic_meaning return { "Literal (Semantics)": semantic_meaning, "Intended (Pragmatics)": pragmatic_meaning } print(decode_meaning("Can you pass the salt?", "at_dinner")) # A computer without pragmatics would just answer 'Yes, I am capable.' </syntaxhighlight> ; Communication Failures : '''Semantic Ambiguity''' β "He saw the man with the binoculars" (Who has them?). : '''Pragmatic Failure''' β Failing to understand sarcasm or social cues (common in AI and some neurodivergent conditions). : '''Cross-Cultural Pragmatics''' β Different cultures have different rules for politeness, directness, and "small talk," leading to misunderstanding. : '''Presupposition Failure''' β "The King of France is bald" (but there is no King of France). </div> <div style="background-color: #8B4500; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information