Commit Graph

  • 87cab44fb8 Fixed #125: SheerkaErrorManager Fixed #135: Change services service priorities Fixed #136: ErrorManager: Implement recognize_error Fixed #137: BNFNodeParser : Error when parsing regex with sub parsers Fixed #138: get_last_errors(): real errors sources are lost Fixed #139: OneError return value removes the origin of the error Fixed #140: Concept variables are not correctly handled when parsing sub expression Fixed #143: Implement has_unknown_concepts() master kodjo 2021-10-28 14:04:41 +02:00
  • 48ab72fd9c Fixed #134 : Regression on objects filtering using 'where' kodjo 2021-10-13 17:03:55 +02:00
  • 89e1f20975 Fixed #131 : Implement ExprToConditions Fixed #130 : ArithmeticOperatorParser Fixed #129 : python_wrapper : create_namespace Fixed #128 : ExpressionParser: Cannot parse func(x) infixed concept 'xxx' kodjo 2021-10-13 16:06:57 +02:00
  • a61a1c0d2b Fixed #127 : SyaNodeParser : Allow tokens parsing Fixed #128 : parser_utils.get_node() : Refactor kodjo 2021-09-12 11:26:14 +02:00
  • 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 kodjo 2021-09-09 10:57:01 +02:00
  • 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 kodjo 2021-09-06 11:51:50 +02:00
  • 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 kodjo 2021-08-05 19:07:21 +02:00
  • c798c2c570 Working on #98 : Persist attribute value when global_truth is set to true kodjo 2021-08-03 11:26:57 +02:00
  • 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 kodjo 2021-07-31 08:52:00 +02:00
  • 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) kodjo 2021-06-07 21:14:03 +02:00
  • 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 kodjo 2021-04-26 19:13:47 +02:00
  • bef5f3208c Fixed #55 : DefConceptParser: failed to recognize concept Fixed #62 : DefConceptParser: parsing error Fixed #64 : DefConceptParser: Failed to parse when too many concept keyword Fixed #65 : DefConceptParser : Add auto_eval keyword Fixed #66 : DefConceptParser : Add def_var keyword Fixed #67 : Add get_errors() kodjo 2021-04-13 15:15:17 +02:00
  • 81e67147e9 Fixed #63 : bug is smart_get_attr kodjo 2021-04-09 16:16:02 +02:00
  • dd3d8f4abe Fixed #61 : SheerkaDebugManager: Add get_value() Fixed #60 : Hash error when ReturnValue is a list of list Fixed #59 : Implement smart_get() Fixed #58 : SheerkaPromptCompleter: Cannot parse concept token Fixed #57 : SheerkaPrompt: Add concept autocompletion Fixed #56 : automatically backup command Fixed #54 : I can record execution status Fixed #53 : ConceptManager: modify_concept fails kodjo 2021-04-09 15:47:32 +02:00
  • 6cda2686fb Fixed #48 : RelationalExpressionParser: Implement relational operator parser Fixed #49 : ExpressionParser: Implement ExpressionParser Fixed #50 : Implement ReteConditionExprVisitor Fixed #51 : Implement PythonConditionExprVisitor Fixed #52 : SheerkaConceptManager: I can get and set concept property kodjo 2021-03-23 11:35:10 +01:00
  • f8e47e2b38 Working on #51 : Working kodjo 2021-03-19 20:57:12 +01:00
  • 88c96ee9a8 Fixed #51 : I can compile simple recognize kodjo 2021-03-19 18:06:29 +01:00
  • 36e3ce0bcb Fixed #51 : Added unit tests kodjo 2021-03-19 10:38:38 +01:00
  • 6a8011ec12 Fixed #49 : working kodjo 2021-03-18 18:18:19 +01:00
  • e1a0b2f46e Fixed #49 : I can recognize concept kodjo 2021-03-18 16:43:00 +01:00
  • 36515aebb7 Fixed #49 : working kodjo 2021-03-18 11:49:48 +01:00
  • 27bc6c4ba1 Fixed #49 : ExpressionParser: Implement ExpressionParser kodjo 2021-03-15 19:41:06 +01:00
  • 42bc6abf97 Working on #50 : Adding unit tests kodjo 2021-03-12 14:14:17 +01:00
  • ba9ba5bcb3 Fixed #49 : ExpressionParser: Implement ExpressionParser kodjo 2021-03-12 11:32:21 +01:00
  • 2761d8c26d Working on #48 : Fixed ExpressionParser.py kodjo 2021-03-12 10:20:43 +01:00
  • a49f8bed71 Working on #48 : Fixed first version of ExpressionParser.py kodjo 2021-03-12 09:42:38 +01:00
  • 19908b97a6 Working on #48 : Refactored FunctionParser.py kodjo 2021-03-11 18:00:50 +01:00
  • f32e14669a Working on #48 : Working on FunctionParser.py kodjo 2021-03-11 16:51:20 +01:00
  • e303b32eb9 Working on #48 : Working kodjo 2021-03-11 16:13:55 +01:00
  • 30c99b2d67 Working on #48 : Working kodjo 2021-03-11 15:28:24 +01:00
  • 8f51893f53 Working on #48 : Updating ExpressionParser.py kodjo 2021-03-11 11:50:23 +01:00
  • aa42bcb2ec Working on #48 : Refactored RelationalOperatorParser.py kodjo 2021-03-11 11:23:00 +01:00
  • 9c4991923e Working on #48 : Added BaseExprParser and BaseNodeParser.py kodjo 2021-03-10 21:09:09 +01:00
  • 998ea160be Working on #48 : Simple version of ExpressionParser kodjo 2021-03-10 15:58:05 +01:00
  • 966a1ed814 Working on #48 : Refactored FunctionParser, introducting ExpressionParser kodjo 2021-03-10 11:46:39 +01:00
  • 07f0d3670d Working on #48 : Working kodjo 2021-03-09 09:33:50 +01:00
  • a799ab2bbd Working on #48 : Renamed ExpressionParser.py into LogicalOperatorParser.py kodjo 2021-03-08 20:06:17 +01:00
  • 031bd0274e 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 kodjo 2021-03-08 17:35:30 +01:00
  • bd8e027827 Fixed #41 : Implement concept 'and' kodjo 2021-03-06 19:12:22 +01:00
  • 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 kodjo 2021-03-05 11:16:19 +01:00
  • 646c428edb Fixed #30 : Add variable support in BNF concept definition Fixed #31 : Add regex support in BNF Concept Fixed #33 : Do not memorize object during restore kodjo 2021-02-24 17:23:03 +01:00
  • 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 kodjo 2021-02-12 15:15:31 +01:00
  • 3a12ea58df Fixed #12: Events callbacks are duplicated Fixed #11: Give order to services Fixed #10: Give order to services Fixed #8: ExpressionParser now supports 'not' Fixed #7: Implement first version of execution rule engine kodjo 2021-02-09 16:16:19 +01:00
  • a2a8d5c5e5 Implemented a first and basic version of a Rete rule engine kodjo 2021-02-09 16:06:32 +01:00
  • 821dbed189 Fixed #3: Added sheerka.resolve_rule() Fixed #5: Refactored SheerkaComparisonManager Fixed #6: Sya parser no longer works after restart kodjo 2021-01-15 07:11:04 +01:00
  • e26c83a825 Implemented SheerkaOntology kodjo 2021-01-11 15:36:03 +01:00
  • e3c2adb533 Implemented some enhancement requests kodjo 2020-12-14 10:30:10 +01:00
  • 657c7536f7 I can manage infinite recursion when building concept kodjo 2020-12-10 21:08:10 +01:00
  • 4b6e1dd55b Implemented ConceptManager with concept creation, modification and deletion kodjo 2020-12-08 15:36:21 +01:00
  • d364878ddb Fixed error when desc() returns multiple results kodjo 2020-12-04 17:37:06 +01:00
  • 8b86998225 First implementation of Debugger for SyaNodeParser kodjo 2020-12-03 21:50:48 +01:00
  • 4f899280c4 Fixed bug when evaluating numbers several times kodjo 2020-11-27 11:01:02 +01:00
  • cac732bd93 First but not optimized version of AstFormatDict kodjo 2020-11-24 13:43:04 +01:00
  • ab30ab3345 Updated non reg test when setting attribute kodjo 2020-11-20 20:46:11 +01:00
  • bc747f89a1 I can set_attr kodjo 2020-11-20 20:14:53 +01:00
  • 0e945fe0fd Fixed variable recognition when it is a concept kodjo 2020-11-20 17:24:52 +01:00
  • 315f8ea09b Added first version of DebugManager. Implemented draft of the rule engine kodjo 2020-11-20 13:41:45 +01:00
  • cd066881b4 Fixed SheerkaPrinter regression kodjo 2020-10-02 05:02:43 +02:00
  • e8f2705dcf Refactored Parsers. Introduced BaseCustomGrammarParser. Renamed DefaultParser into DefConceptParser kodjo 2020-10-02 04:45:47 +02:00
  • d100b7e8b3 Introduced ConceptsAlgebra kodjo 2020-09-27 20:28:50 +02:00
  • 978e5a5939 Removed unwanted console print when starting the application kodjo 2020-09-25 20:50:37 +02:00
  • 8fefce1628 Added basic Jupyter Note support kodjo 2020-09-24 20:16:04 +02:00
  • eeeed0f110 Fixed some misbehaviours regarding question() + added #import functionality when restoring kodjo 2020-09-23 20:08:15 +02:00
  • 17c74d3808 Squashed commit of the following: kodjo 2020-09-23 17:57:26 +02:00
  • 9b965105e9 Hardened DefaultParser kodjo 2020-09-22 17:39:42 +02:00
  • 310c9ae839 You can use double quote when defining a concept name to protect keyword kodjo 2020-09-22 10:00:18 +02:00
  • dd520c1680 Fixed memory() and RET usage kodjo 2020-09-21 21:30:38 +02:00
  • 177a6b1d5f Implemented FunctionParser kodjo 2020-09-17 14:11:09 +02:00
  • 8a866880bc Added is_lesser and is_greatest in SheerkaComparison kodjo 2020-08-30 20:31:06 +02:00
  • 37cd3ed757 Fixed some bugs kodjo 2020-08-27 18:54:28 +02:00
  • 351c16f946 First implementation of questions management kodjo 2020-08-14 08:16:33 +02:00
  • e84b394da2 Added first implementation of concepts ambiguity resolution + Jenkins file test kodjo 2020-07-15 18:29:43 +02:00
  • b768eaa95d Fixed RET functionnality misbehaviour kodjo 2020-07-08 13:35:18 +02:00
  • c4399d631c Added RET keyword kodjo 2020-07-07 11:34:40 +02:00
  • 56e1cb4587 Fixed some bugs kodjo 2020-07-05 20:19:19 +02:00
  • 71f753c925 Resolved some remaining chicken and egg when parsing BNF nodes kodjo 2020-07-05 11:03:03 +02:00
  • ad8a997942 Added hundreds concept kodjo 2020-07-02 18:01:06 +02:00
  • f26c391d3f Fixed parsing of BNF concepts mixed with isaset concepts kodjo 2020-07-02 16:32:02 +02:00
  • 2c5840752a Fixed BnfNodeParser to allow expressions like 'number hundred' when number is a group kodjo 2020-06-27 18:56:04 +02:00
  • d4468da8a3 Added inspect() command kodjo 2020-06-23 16:45:44 +02:00
  • 7310bc5522 Fixed infinite recursion when parsing complex BNF node kodjo 2020-06-23 15:22:27 +02:00
  • 912455c343 EvalEvaluator is called only if in root context. Added action and action_context to ExecutionContext kodjo 2020-06-12 17:47:29 +02:00
  • c43a3ef946 In PythonEvaluator, I now evaluate concept and/or concept body kodjo 2020-06-11 17:36:43 +02:00
  • 9eae784581 I can define variables kodjo 2020-06-10 07:42:09 +02:00
  • af3a3ffe92 Added first version of console autocompletion kodjo 2020-06-09 22:26:47 +02:00
  • d7573f095f Reimplemented explain feature kodjo 2020-06-04 18:43:15 +02:00
  • c498b394e3 Fixed first token recognition when creating bnf concepts kodjo 2020-05-29 08:52:06 +02:00
  • 479461c0a4 Introduced ParserInput kodjo 2020-05-25 18:09:12 +02:00
  • c79403443f Fixed concept token parsing kodjo 2020-05-23 10:46:03 +02:00
  • 32fb0e5398 Not initialiazed variables now returns BuiltinConcepts.NOT_INITIALIZED kodjo 2020-05-23 10:01:50 +02:00
  • 3ce6ce2a76 I can now use keyword in concept definition and parsing kodjo 2020-05-22 15:46:04 +02:00
  • 37d3d16e21 ExactConceptParser can now recognize concepts by their names kodjo 2020-05-21 16:27:18 +02:00
  • d357329f51 Improved PythonEvaluator when dealing with concept class kodjo 2020-05-20 04:19:19 +02:00
  • 95dc147bbd Improved PyhtonEvaluator in order to use methods that need context kodjo 2020-05-18 22:35:59 +02:00
  • c822ff6a7f Refactored services to inherit from BaseService kodjo 2020-05-18 09:43:05 +02:00
  • d080cbb05a Enhanced AtomNode parsing by name kodjo 2020-05-18 08:25:29 +02:00
  • 08e3086820 Added SheerkaComparisonManager kodjo 2020-05-17 20:19:26 +02:00
  • 56e0a9d338 Fixed minor issues and enhancements kodjo 2020-05-15 17:01:26 +02:00
  • b54882f994 Fixed list of concepts kodjo 2020-05-15 11:06:12 +02:00
  • 5489ef00b9 Fixed SyaNodeParser false positive recognition issue kodjo 2020-05-15 10:36:05 +02:00