Chonchonts
Newbie
- Jul 2, 2012
- 17
- 4
Hello,
I implement a simple Spintax interpreter for my bot, like with nested braces.
{hello|hi}, my name is {olivier | {david | nobody} }.
Do you have listen about advanced options for Spintax with additional features ?
I am looking for implements new things if you have ideas. I think about:
- implement probabilities like: { david#60 | nobody#40 }, have 60% chance of choose david and 40% chosse nobody.
- functions to mutualize and parametrize large portions of spintax.
- variables ?
- if/else conditions ? (if a { david | nobody } spintax give david, print goliath).
- ....
I implement a simple Spintax interpreter for my bot, like with nested braces.
{hello|hi}, my name is {olivier | {david | nobody} }.
Do you have listen about advanced options for Spintax with additional features ?
I am looking for implements new things if you have ideas. I think about:
- implement probabilities like: { david#60 | nobody#40 }, have 60% chance of choose david and 40% chosse nobody.
- functions to mutualize and parametrize large portions of spintax.
- variables ?
- if/else conditions ? (if a { david | nobody } spintax give david, print goliath).
- ....