Editing
Rhetoric Argumentation
(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 'Logical Fallacy' Detection:''' <syntaxhighlight lang="python"> def identify_fallacy(statement): """ A simple logic checker for common rhetorical flaws. """ fallacies = { "everyone is doing it": "Bandwagon Fallacy: Popularity doesn't equal truth.", "you're just an idiot": "Ad Hominem: Attacking the person, not the argument.", "if we do X, then disaster Y will follow": "Slippery Slope: Unproven chain of events.", "since A happened before B, A caused B": "Post Hoc: Correlation is not causation." } for trigger, explanation in fallacies.items(): if trigger.lower() in statement.lower(): return f"ALERT: {explanation}" return "No obvious fallacy detected. Evaluate the evidence!" # Testing a politician's statement msg = "We shouldn't listen to him, everyone is doing it anyway." print(identify_fallacy(msg)) # Identifying fallacies is the first step in critical thinking. </syntaxhighlight> ; Rhetorical Tools : '''The Rule of Three''' β Ideas presented in threes (e.g., "Life, Liberty, and the Pursuit of Happiness") are more memorable. : '''Rhetorical Question''' β A question asked for effect rather than to get an answer. : '''Metaphor''' β Describing something as if it were something else to create a vivid mental image. : '''Anaphora''' β Repeating a word or phrase at the beginning of successive sentences (e.g., "I have a dream..."). </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