Fixed #43 : BnfNodeParser: I can recognize when multiple level of ISA
Fixed #44 : BnfNodeParser: I must simplify results when multiple levels of ISA Fixed #45 : Dynamic variables cannot be parsed at restart Fixed #46 : Concepts variables values are transformed into list by default Fixed #47 : SheerkaAdmin. Add min, max, mean time when restoring files
This commit is contained in:
@@ -27,15 +27,19 @@ def concept x has a y as hasa(x,y) pre is_question()
|
||||
def concept x has an y as hasa(x,y) pre is_question()
|
||||
# no need to auto eval as it's a question
|
||||
|
||||
# AND
|
||||
def concept x and y as x and y pre is_question()
|
||||
set_is_lesser(__PRECEDENCE, c:x and y:, 'Sya')
|
||||
set_is_less_than(__PRECEDENCE, c:q:, c:x and y:, 'Sya')
|
||||
|
||||
# OR
|
||||
def concept x or y as x or y pre is_question()
|
||||
set_is_lesser(__PRECEDENCE, c:x or y:, 'Sya')
|
||||
set_is_greater_than(__PRECEDENCE, c:x and y:, c:x or y:, 'Sya')
|
||||
set_is_less_than(__PRECEDENCE, c:q:, c:x or y:, 'Sya')
|
||||
|
||||
def concept the x ret memory(x)
|
||||
|
||||
# default
|
||||
def concept male
|
||||
def concept female
|
||||
@@ -46,6 +50,10 @@ woman is a female
|
||||
def concept human
|
||||
man is a human
|
||||
woman is a human
|
||||
def concept boy
|
||||
def concept boys
|
||||
def concept girl
|
||||
def concept girls
|
||||
|
||||
# days of the week
|
||||
def concept monday
|
||||
|
||||
Reference in New Issue
Block a user