CS (chatscript) seems to auto add spaces for patterns
[pat1][pat2][pat3]——CS auto insert space——> [pat1] [pat2] [pat3]
while
{pat1}{pat2}{pat3}——CS will not insert space——> {pat1}{pat2}{pat3}
Is there any special consideration for adding the space between adjacent square brackets patterns?
I am asking because I am using CS to power a Chinese chatbot, and I want the ability to construct phrases from component chinese class of characters, e.g.,
I want to create composite patterns like “吃饭”
from concepts:
concept: ~zh_eat1 [ 吃 食 ]
concept: ~zh_meal1 [ 饭 晏 ]
If I use:
[~zh_eat][~zh_meal]
CS automatically inserts space between the two classes and assumes I want the pattern
“吃 饭”
while
{~zh_eat}{~zh_meal} works, it casts the net too wide.
I could modify the source code to achieve what I want, but I just want to check if there is someting I am missing.
Many thanks for your insight.
P.S. CS is extremely versatile, and I salute the author Bruce Wilcox and the numerous contributors to this fantastic engineering feat!