Repository Public
1// =============================================================================2// SP BOUCHER | SOFTWARE & RESEARCH3// ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING4// =============================================================================5//6// PROJECT METADATA7// -----------------------------------------------------------------------------8// Project : SP Keyboard9// File : Shared/Sources/PredictionCore/Profanity.swift10// Description : Words kept in the lexicon but never proposed as an11// automatic correction target.12// Module : PredictionCore13// Repository : https://git.spboucher.ai/sp-keyboard14// Created : 2026-12-0115// Last Modified : 2026-12-0116//17// =============================================================================18// AUTHOR & PROFESSIONAL AFFILIATION19// =============================================================================20//21// Author : Simon-Pierre Boucher22// Position : Professor of Finance23// Institution : Université du Québec en Outaouais (UQO)24// Department : Département des sciences administratives25// Organization : SP Boucher26//27// Website : https://spboucher.ai28// Git : https://git.spboucher.ai29//30// =============================================================================31// OFFICIAL CONTACT DIRECTORY32// =============================================================================33//34// General : info@spboucher.ai35// Professional : contact@spboucher.ai36// Direct : simon@spboucher.ai37// Research : research@spboucher.ai38// Development : dev@spboucher.ai39// Support : support@spboucher.ai40// Security/Admin : admin@spboucher.ai41// Notifications : notifications@spboucher.ai42//43// Preferred Contact: support@spboucher.ai44//45// =============================================================================46// COPYRIGHT & INTELLECTUAL PROPERTY47// =============================================================================48//49// Copyright (c) 202650// Simon-Pierre Boucher51//52// All rights reserved where applicable.53//54// This file is governed by the applicable project license,55// copyright notices, institutional agreements and relevant law.56//57// Unless expressly authorized by the applicable license or58// rights holder, copying, redistribution, sublicensing,59// publication and commercial exploitation are not permitted.60//61// Existing third-party rights and notices remain unaffected.62//63// =============================================================================64// CONFIDENTIALITY & SECURITY65// =============================================================================66//67// Classification : Public68// Distribution : Public repository; use is governed by the project license69// Security Contact : admin@spboucher.ai70//71// Access to this source does not independently grant permission72// to redistribute or disclose confidential materials.73//74// Do not embed credentials, private keys, access tokens,75// certificates or confidential personal information.76//77// =============================================================================78// LICENSE & MAINTENANCE79// =============================================================================80//81// License : None specified (no license file in this repository)82// Maintainer : Simon-Pierre Boucher83// Technical Contact: dev@spboucher.ai84//85// =============================================================================86// END OF SP BOUCHER SOURCE HEADER87// =============================================================================8889import Foundation9091enum Profanity {92 /// Folded forms. Typing them on purpose is never corrected; a typo is never silently turned into one of them.93 static let folded: Set<String> = [94 // French (incl. Quebec sacres)95 "merde", "merdes", "putain", "putains", "pute", "putes", "salope", "salopes", "connard", "connards",96 "connasse", "con", "conne", "cons", "encule", "encules", "enculer", "bite", "bites", "couille", "couilles",97 "chier", "chie", "chiant", "chiante", "foutre", "nique", "niquer", "batard", "batards", "salaud", "salauds",98 "bordel", "cul", "tabarnak", "calisse", "crisse", "ostie", "esti", "calvaire", "pd", "tapette", "negre",99 // English100 "fuck", "fucks", "fucked", "fucking", "fucker", "fuckers", "motherfucker", "motherfuckers", "shit", "shits",101 "shitty", "bullshit", "bitch", "bitches", "asshole", "assholes", "ass", "dick", "dicks", "cock", "cocks",102 "pussy", "cunt", "cunts", "bastard", "bastards", "whore", "whores", "slut", "sluts", "damn", "goddamn",103 "piss", "pissed", "crap", "tits", "fag", "faggot", "nigger", "nigga", "retard", "wanker", "twat",104 // Spanish105 "mierda", "mierdas", "puta", "putas", "puto", "putos", "joder", "jodido", "jodida", "cono", "cabron",106 "cabrones", "gilipollas", "pendejo", "pendejos", "pendeja", "chingar", "chingada", "chingado", "verga",107 "culo", "culos", "polla", "pollas", "maricon", "marica", "zorra", "zorras", "carajo", "cojones", "hostia",108 ]109}110