Created
October 17, 2020 11:42
-
-
Save zaibacu/824b5babd5cda1dd956e2c45aeaf14ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
greetings = {"hello", "hi", "hola"} | |
time_of_day = {"morning", "evening", "afternoon", "day"} | |
usual_suspects = {"life", "wife", "kids", "job"} | |
IN_LIST(greetings)->MARK("GREETING") | |
{WORD("GOOD"), IN_LIST(time_of_day)}->MARK("GREETING") | |
{WORD("How are you doing?")}->MARK("WHATS_UP") | |
{WORD("How"), WORD?, WORD("the"), WORD("weather")}->MARK("WEATHER_QUESTION") | |
{WORD("How"), WORD?, WORD("your")?, IN_LIST(usual_suspects)}->MARK("WHATS_UP") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment