mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-10-04 09:35:16 -07:00
Add 10 missing paralinguistic delivery tags to ParalinguisticInput
This commit is contained in:
committed by
capy-ai-staging[bot]
parent
c9f5f2c3e7
commit
4cb8ad3b1f
@@ -23,9 +23,19 @@ const PARALINGUISTIC_TAGS = [
|
||||
{ tag: '[sniff]', label: 'sniff', emoji: '\u{1F443}' },
|
||||
{ tag: '[shush]', label: 'shush', emoji: '\u{1F92B}' },
|
||||
{ tag: '[clear throat]', label: 'clear throat', emoji: '\u{1F64A}' },
|
||||
{ tag: '[angry]', label: 'angry', emoji: '\u{1F621}' },
|
||||
{ tag: '[crying]', label: 'crying', emoji: '\u{1F622}' },
|
||||
{ tag: '[dramatic]', label: 'dramatic', emoji: '\u{1F3AD}' },
|
||||
{ tag: '[fear]', label: 'fear', emoji: '\u{1F628}' },
|
||||
{ tag: '[happy]', label: 'happy', emoji: '\u{1F60A}' },
|
||||
{ tag: '[narration]', label: 'narration', emoji: '\u{1F4D6}' },
|
||||
{ tag: '[sarcastic]', label: 'sarcastic', emoji: '\u{1F60F}' },
|
||||
{ tag: '[surprised]', label: 'surprised', emoji: '\u{1F632}' },
|
||||
{ tag: '[whispering]', label: 'whispering', emoji: '\u{1F92B}' },
|
||||
{ tag: '[advertisement]', label: 'advertisement', emoji: '\u{1F4E2}' },
|
||||
] as const;
|
||||
|
||||
const TAG_REGEX = /\[(laugh|chuckle|gasp|cough|sigh|groan|sniff|shush|clear throat)\]/gi;
|
||||
const TAG_REGEX = /\[(laugh|chuckle|gasp|cough|sigh|groan|sniff|shush|clear throat|angry|crying|dramatic|fear|happy|narration|sarcastic|surprised|whispering|advertisement)\]/gi;
|
||||
|
||||
// Data attribute used to identify badge spans in the DOM
|
||||
const BADGE_ATTR = 'data-ptag';
|
||||
|
||||
Reference in New Issue
Block a user