Commit Graph

30 Commits

Author SHA1 Message Date
kodjo 945807b375 Fixed #72 : Exception when get_results(id=10)
Fixed #74 : Keyword parameters are no longer recognized when a concept that redefines equality is created
Fixed #118 : RecursionError: maximum recursion depth exceeded
Fixed #119 : PreventCircularReferenceEvaluator
Fixed #121 : Plural are not updated when new elements are added
Fixed #123 : BaseCache : Values in cache can be evicted before being committed
Fixed #105 : TOO_MANY_ERROR is not the relevant error when results are filtered
2021-09-09 10:57:01 +02:00
kodjo 54e5681c5a Fixed #109 : Mix python and concept. List comprehension
Fixed #110 : SheerkaDebugManager: add list_debug_settings
Fixed #111 : SheerkaDebugManager: Implement ListDebugLogger
Fixed #112 : SyaNodeParser: rewrite this parser
Fixed #113 : Sheerka.: Add enable_parser_caching to disable parsers caching
Fixed #114 : SyaNodeParser : Implement fast cache to resolve unrecognized tokens requests
Fixed #115 : BnfNodeParser : Implement fast cache to resolve unrecognized tokens requests
Fixed #116 : SequenceNodeParser : Implement fast cache to resolve unrecognized tokens requests
Fixed #117 : ResolveMultiplePluralAmbiguityEvaluator: Resolve Multiple plural ambiguity
2021-09-06 11:51:50 +02:00
kodjo 71d1b1d1ca Fixed #101 : Implement PLURIAL
Fixed #103 : Implement PlurialNodeParser
Fixed #104 : Implement dynamic concept
Fixed #107 : PrepareEvalxxxEvaluator: context hints are lost on a second evaluation
2021-08-05 19:07:21 +02:00
kodjo c798c2c570 Working on #98 : Persist attribute value when global_truth is set to true 2021-08-03 11:26:57 +02:00
kodjo e69745adc8 Fixed #100 : SheerkaAdmin: Add builtins() command
Fixed #99 : SheerkaQueryManager: I can manage contains predicate when filtering objects
Fixed #97 : ERROR: list indices must be integers or slices, not Concept
Fixed #96 : SequenceNodeParser: SequenceNodeParser must correctly handle concept definition
Fixed #95 : ResolveAmbiguity must not remove concepts that do not require evaluation
Fixed #94 : Concepts with the same key are lost when new ontology
Fixed #93 : Introduce BuiltinConcepts.EVAL_GLOBAL_TRUTH_REQUESTED
Fixed #92 : ExpressionParser: Implement compile_disjunctions()
Fixed #91 : Implement get_concepts_complexity(context, concepts, concept_parts)
Fixed #90 : ResolveAmbiguity : where predicate is not used to resolve ambiguity
Fixed #89 : ResolveAmbiguityEvaluator: Concepts embedded in ConceptNode are not resolved
Fixed #88: SyaNodeParser: Parse multiple parameters when some of the are not recognized
Fixed #87: SyaNodeParser : Parse the multiple parameters
2021-07-31 08:52:00 +02:00
kodjo 7dcaa9c111 Fixed #29: Parsers: Implement parsing memoization
Fixed #77 : Parser: ShortTermMemoryParser should be called separately
Fixed #78 : Remove VariableNode usage
Fixed #79 : ConceptManager: Implement compile caching
Fixed #80 : SheerkaExecute : parsers_key is not correctly computed
Fixed #81 : ValidateConceptEvaluator : Validate concept's where and pre clauses right after the parsing
Fixed #82 : SheerkaIsAManager: isa() failed when the set as a body
Fixed #83 : ValidateConceptEvaluator : Support BNF and SYA Concepts
Fixed #84 : ExpressionParser: Implement the parser as a standard parser
Fixed #85 : Services: Give order to services
Fixed #86 : cannot manage smart_get_attr(the short, color)
2021-06-07 21:14:03 +02:00
kodjo 1059ce25c5 Fixed #68: Implement SheerkaQL
Fixed #70: SheerkaFilterManager : Pipe functions
Fixed #71: SheerkaFilterManager : filter_objects
Fixed #75: SheerkaMemory: Enhance memory() to use the filtering capabilities
Fixed #76: SheerkaEvaluateConcept: Concepts that modify the state of the system must not be evaluated during question
2021-04-26 19:13:47 +02:00
kodjo 05577012f3 Fixed #32 : concept groups are not correctly updated
Fixed #35 : Refactor test helper class (CNC, CC, CIO)
Fixed #36 : Concept values are not used when declared with variable expression
Fixed #37 : Objects in memory lose their values are restart
Fixed #38 : func(a=b, c) (which is not allowed) raise an exception
2021-03-05 11:16:19 +01:00
kodjo cac2dad17f Implemented some enhancement request and fixed some bugs
Fixed #2 : Variables are not recognized when inside a rule token
Fixed #15 : Rule: rete attributes are lost when a new ontology is created
Fixed #14 : ReteNetwork: Format rules must not be added to Rete network
Fixed #16 : DefConcept: Variables are not recognized when they are keyword arguments
Fixed #4 : Comparison are not correctly set when comparison property is a concept
Fixed #14 : Parser: merge FunctionParser.NamesNode and ExpressionParser.NamesNode
Fixed #18 : Parser: Add SourceCodeNode test to UnrecognizedNodeParser
Fixed #20 : At startup Number concept is saved in db a numerous number of time
Fixed #21 : CacheManager: I can remove all elements from a ListIfNeededCache and fill it again
Fixed #22 : CacheManager: I can remove all elements from a SetCache and fill it again
Fixed #23 : HistoryManager: history() no longer works
Fixed #24 : HistoryManager: history() no longer works after creating an exec rule
Fixed #25 : SheerkaMemory: Use MemoryObject instead of sheerka.local
Fixed #26 : Debugger: add the list all available services..
Fixed #27 : CONCEPTS_GRAMMARS_ENTRY does not seems to be in use any more
Fixed #28 : Give order to services
2021-02-12 15:15:31 +01:00
kodjo e26c83a825 Implemented SheerkaOntology 2021-01-11 15:36:03 +01:00
kodjo 657c7536f7 I can manage infinite recursion when building concept 2020-12-10 21:08:10 +01:00
kodjo 4b6e1dd55b Implemented ConceptManager with concept creation, modification and deletion 2020-12-08 15:36:21 +01:00
kodjo cac732bd93 First but not optimized version of AstFormatDict 2020-11-24 13:43:04 +01:00
kodjo 315f8ea09b Added first version of DebugManager. Implemented draft of the rule engine 2020-11-20 13:41:45 +01:00
kodjo dd520c1680 Fixed memory() and RET usage 2020-09-21 21:30:38 +02:00
kodjo 177a6b1d5f Implemented FunctionParser 2020-09-17 14:11:09 +02:00
kodjo 351c16f946 First implementation of questions management 2020-08-14 08:16:33 +02:00
kodjo e84b394da2 Added first implementation of concepts ambiguity resolution + Jenkins file test 2020-07-15 18:29:43 +02:00
kodjo f26c391d3f Fixed parsing of BNF concepts mixed with isaset concepts 2020-07-02 16:32:02 +02:00
kodjo 2c5840752a Fixed BnfNodeParser to allow expressions like 'number hundred' when number is a group 2020-06-27 18:56:04 +02:00
kodjo 32fb0e5398 Not initialiazed variables now returns BuiltinConcepts.NOT_INITIALIZED 2020-05-23 10:01:50 +02:00
kodjo 37d3d16e21 ExactConceptParser can now recognize concepts by their names 2020-05-21 16:27:18 +02:00
kodjo 6e343ba996 Refactored Caching, Refactored BnfNodeParser, Introduced Sphinx 2020-05-12 17:21:10 +02:00
kodjo 1bde97b5e3 Concept validation must be requested 2020-03-09 12:23:53 +01:00
kodjo ef31a4807d Concepts bodies are now evaluated on demand 2020-02-27 10:48:45 +01:00
kodjo 87f232b527 Logger is now an attribute of the execution context 2020-02-18 16:31:55 +01:00
kodjo 86c2ff58d4 Added set of set handling (thru concept ISA) 2020-02-17 21:07:06 +01:00
kodjo 7481b458e1 Added chicken and egg recursion detection 2020-02-06 17:50:14 +01:00
kodjo afc1e22949 Added basic implentation for where 2020-02-05 18:47:20 +01:00
kodjo c489a38ebc Refactored sheerka class: splitted to use sub handlers. Refactored unit tests to use classes. 2020-01-22 17:49:28 +01:00