Question

31 views
Skip to first unread message

Nurdaulet Balken

unread,
Nov 24, 2020, 9:13:06 PM11/24/20
to AI4IMPACT
What is "first" in greeting.m? Is it a command? 

Bot Master

unread,
Nov 24, 2020, 9:25:09 PM11/24/20
to AI4IMPACT
a) It's :first not first. (There is a colon at the start).

b) It is a constraint that matches the first word.

Eg:

Q: :first $x.@int
...
Will match "three ducks" or "12 white elephants" but not "Only 14 roses"
(for this example to work you need to include the numbers.m topic)
Reply all
Reply to author
Forward
0 new messages