Skip to content

Commit

Permalink
Update simple examples to use new choice syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
SimGus committed Dec 12, 2019
1 parent 09b0df8 commit 26f3013
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions examples/simple/airport/aliases.chatette
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
aid

~[me]
{me/us}
[me|us]

~[i need]
[&i]{'d/ would?} {need/want}
[&i]{'d/ would} like
[&i]['d| would?] [need|want]
[&i]['d| would] like

~[can you]
can you
Expand Down
4 changes: 2 additions & 2 deletions examples/simple/mood/master.chatette
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
~[hello][!?]

%[&inform-mood](5)
[well?] [&i]{~[am#elision]/ ~[am#no elision]} @[mood#good][!?] [:)?]
[well?] [&i]{~[am#elision]/ ~[am#no elision]} @[mood#bad][...?]
[well?] [&i][~[am#elision]| ~[am#no elision]] @[mood#good][!?] [:)?]
[well?] [&i][~[am#elision]| ~[am#no elision]] @[mood#bad][...?]
[&i] feel @[mood#good][!?] [:)?]
[&i] feel @[mood#bad][...?]

Expand Down
2 changes: 1 addition & 1 deletion examples/simple/restaurant/master.chatette
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

//================== Alias definitions =======================
~[greet]
{hi/hello}
[hi|hello]

~[i want to]
[&i] ~[want#no elision]
Expand Down
6 changes: 3 additions & 3 deletions examples/simple/toilets/toilets.chatette
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// This template defines different ways to ask for the location of toilets
%[&ask_toilet](3)
~[sorry?] ~[tell me] where the {@[toilet#singular] is/@[toilet#plural] are} [please?]?
~[sorry?] ~[tell me] where the [@[toilet#singular] is|@[toilet#plural] are] [please?]?

~[sorry]
sorry
excuse me

~[tell me]
~[can you?] {tell/show} me
~[can you?] [tell|show] me
~[can you]
{can/could/would} you
[can|could|would] you

@[toilet#singular]
toilet
Expand Down

0 comments on commit 26f3013

Please sign in to comment.