41 lines
1.2 KiB
Go
41 lines
1.2 KiB
Go
// Fenrir console screen reader.
|
|
// Copyright (c) 2026 Storm Dragon
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
package punctuation
|
|
|
|
// Spellings and names from Python Fenrir's default.conf emoticonDict
|
|
// (LGPL-3.0-or-later). Matching is case-sensitive, as in Python's rules.
|
|
var emoticonNames = map[string]string{
|
|
":-)": "smile", ":)": "smile",
|
|
":-(": "frown", ":(": "frown",
|
|
":-D": "big grin", ":D": "big grin",
|
|
";-)": "wink", ";)": "wink",
|
|
":-P": "tongue out", ":P": "tongue out",
|
|
":-O": "surprised", ":O": "surprised",
|
|
":-/": "skeptical", ":/": "skeptical",
|
|
">:-(": "angry", ">:(": "angry",
|
|
":'(": "crying", ":'-(": "crying",
|
|
":-|": "neutral", ":|": "neutral",
|
|
"8-)": "cool", "B-)": "cool",
|
|
"8-X": "skull and crossbones",
|
|
"X-X": "knocked out", "x-x": "knocked out",
|
|
":-X": "lips sealed", ":-x": "lips sealed", ":X": "lips sealed", ":x": "lips sealed",
|
|
"XD": "laughing hard",
|
|
"^_^": "happy",
|
|
"-_-": "annoyed",
|
|
"o_O": "confused",
|
|
">_<": "frustrated",
|
|
`\o/`: "hurray",
|
|
"<3": "heart",
|
|
"</3": "broken heart",
|
|
"Oo": "WTF?", "oO": "WTF?",
|
|
"<{-.-}>": "Raves",
|
|
"-.-": "bugged",
|
|
">.<": "laughing",
|
|
">:)": "evil smile", ">:-)": "evil smile",
|
|
"^^": "enjoy smile",
|
|
"->": "arrow right",
|
|
"<-": "arrow left",
|
|
}
|