Make responses from Alexis dynamic, like swapping words or phrases #74

Closed
opened 2019-07-15 17:24:40 +01:00 by Ghost · 0 comments
Ghost commented 2019-07-15 17:24:40 +01:00 (Migrated from codeberg.org)

My original plan was to make markup language of sorts which was inspired by regex, and effectively does the inverse. Define a pattern, and we generate some text.

For example, given the following markup:

I (liked|loved) that( very){1,2} much!( Thank you!){0,1}

It could output any of the following:

I liked that very much! Thank you!
I loved that very very much!
I loved that very much!
…

The motivation was just to make output of commands feel like repetitive.

My original plan was to make markup language of sorts which was inspired by regex, and effectively does the inverse. Define a pattern, and we generate some text. For example, given the following markup: ``` I (liked|loved) that( very){1,2} much!( Thank you!){0,1} ``` It could output any of the following: ``` I liked that very much! Thank you! I loved that very very much! I loved that very much! … ``` The motivation was just to make output of commands feel like repetitive.
Sign in to join this conversation.
No labels
bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SethFalco/alexis#74
No description provided.