Commit Graph

46 Commits

Author SHA1 Message Date
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 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
2021-02-24 17:23:03 +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 a2a8d5c5e5 Implemented a first and basic version of a Rete rule engine 2021-02-09 16:06:32 +01:00
kodjo 821dbed189 Fixed #3: Added sheerka.resolve_rule()
Fixed #5: Refactored SheerkaComparisonManager
Fixed #6: Sya parser no longer works after restart
2021-01-15 07:11:04 +01:00
kodjo e26c83a825 Implemented SheerkaOntology 2021-01-11 15:36:03 +01:00
kodjo e3c2adb533 Implemented some enhancement requests 2020-12-14 10:30:10 +01:00
kodjo 4b6e1dd55b Implemented ConceptManager with concept creation, modification and deletion 2020-12-08 15:36:21 +01:00
kodjo 8b86998225 First implementation of Debugger for SyaNodeParser 2020-12-03 21:50:48 +01:00
kodjo 4f899280c4 Fixed bug when evaluating numbers several times 2020-11-27 11:01:02 +01:00
kodjo 0e945fe0fd Fixed variable recognition when it is a concept 2020-11-20 17:24:52 +01:00
kodjo 315f8ea09b Added first version of DebugManager. Implemented draft of the rule engine 2020-11-20 13:41:45 +01:00
kodjo e8f2705dcf Refactored Parsers. Introduced BaseCustomGrammarParser. Renamed DefaultParser into DefConceptParser 2020-10-02 04:45:47 +02:00
kodjo 9b965105e9 Hardened DefaultParser 2020-09-22 17:39:42 +02:00
kodjo 310c9ae839 You can use double quote when defining a concept name to protect keyword 2020-09-22 10:00:18 +02: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 37cd3ed757 Fixed some bugs 2020-08-27 18:54:28 +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 c4399d631c Added RET keyword 2020-07-07 11:34:40 +02:00
kodjo 56e1cb4587 Fixed some bugs 2020-07-05 20:19:19 +02:00
kodjo 71f753c925 Resolved some remaining chicken and egg when parsing BNF nodes 2020-07-05 11:03:03 +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 7310bc5522 Fixed infinite recursion when parsing complex BNF node 2020-06-23 15:22:27 +02:00
kodjo d7573f095f Reimplemented explain feature 2020-06-04 18:43:15 +02:00
kodjo c498b394e3 Fixed first token recognition when creating bnf concepts 2020-05-29 08:52:06 +02:00
kodjo 479461c0a4 Introduced ParserInput 2020-05-25 18:09:12 +02:00
kodjo 32fb0e5398 Not initialiazed variables now returns BuiltinConcepts.NOT_INITIALIZED 2020-05-23 10:01:50 +02:00
kodjo 3ce6ce2a76 I can now use keyword in concept definition and parsing 2020-05-22 15:46:04 +02:00
kodjo 37d3d16e21 ExactConceptParser can now recognize concepts by their names 2020-05-21 16:27:18 +02:00
kodjo d357329f51 Improved PythonEvaluator when dealing with concept class 2020-05-20 04:19:19 +02:00
kodjo d080cbb05a Enhanced AtomNode parsing by name 2020-05-18 08:25:29 +02:00
kodjo 08e3086820 Added SheerkaComparisonManager 2020-05-17 20:19:26 +02:00
kodjo 56e0a9d338 Fixed minor issues and enhancements 2020-05-15 17:01:26 +02:00
kodjo 5489ef00b9 Fixed SyaNodeParser false positive recognition issue 2020-05-15 10:36:05 +02:00
kodjo 6e343ba996 Refactored Caching, Refactored BnfNodeParser, Introduced Sphinx 2020-05-12 17:21:10 +02:00
kodjo d6ea2461a8 First version of explain. Creating a new parser was a wrong approach. Need to reimplement 2020-04-17 17:24:57 +02:00
kodjo 6c7c529016 Added SyaNodeParser (finally, after one month) 2020-04-09 15:42:36 +02:00
kodjo c9acfa99a1 Fixed BNF parsing issues 2020-03-10 18:28:11 +01:00
kodjo a2bbd2eec2 I can also get concept by name 2020-03-10 15:05:03 +01: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 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