Last active
May 13, 2023 05:48
-
-
Save adrianhajdin/aa28f5c4928d05fe55aae37d83dc98d2 to your computer and use it in GitHub Desktop.
Speechly Config
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
category_income = [ | |
Business | |
Investments | |
Extra income | |
Deposits | |
Lottery | |
Gifts | |
Salary | |
Savings | |
Rental income | |
] | |
category_expense = [ | |
Bills | |
Car | |
Clothes | |
Travel | |
Food | |
Shopping | |
House | |
Entertainment | |
Phone | |
Pets | |
Other | |
] | |
*create_transaction [Create|Finish|Save] {transaction} | |
*cancel_transaction [Cancel|Delete|Remove|Clear] {transaction} | |
*add_category [Set|Change] category {to} [$category_expense|$category_income](category) | |
*add_category {[i mean|i meant|i said]} {the} ![category {[is|of]} | [$category_expense|$category_income](category)] | |
*add_date [Set|Change|Add] date {[to|for]} $SPEECHLY.DATE(date) | |
*add_date {[i mean|i meant|i said]} {[{the} date is|for]} $SPEECHLY.DATE(date) | |
*add_amount [Set|Change] amount {to} $SPEECHLY.NUMBER(amount) {dollars} | |
*add_amount {[i mean|i meant|i said]} {{the} amount {[is|of]}} $SPEECHLY.NUMBER(amount) {dollars} | |
*add_expense {Add} {an} expense ![{[for|of]} $SPEECHLY.NUMBER(amount) {dollars} | {in} | {category} | [$category_expense|$category_income](category) | {[for|in]} $SPEECHLY.DATE(date)] | |
*add_expense $SPEECHLY.NUMBER(amount) {[dollar|dollars]} expense {in} ![{category} | [$category_expense|$category_income](category)] {[for|in]} $SPEECHLY.DATE(date) | |
*add_income {Add} {[{an} income|{a} balance]} ![{[for|of]} $SPEECHLY.NUMBER(amount) {dollars} | {in} | {category} | [$category_expense|$category_income](category) | {[for|in]} $SPEECHLY.DATE(date)] | |
*add_income $SPEECHLY.NUMBER(amount) {[dollar|dollars]} [income|balance] {in} ![{category} | [$category_expense|$category_income](category)] {[for|in]} $SPEECHLY.DATE(date) |
what programing language is used to type speechly configs
@iamAravindks you can read it in the documentation, it's called "Permutations", a very good feature of Speechly: https://docs.speechly.com/slu-examples/cheat-sheet/#permutations
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what is the meaning of
!
in![category {[is|of]} | [$category_expense|$category_income](category)]
in Line 28?