Commit Graph

103 Commits

Author SHA1 Message Date
e0a5f02c34 Add progress bar visuals to tests. 2017-05-24 22:53:36 +02:00
8e304b2a09 Always create the "groups" set for new elements.
This allows a smaller initial knowledge base.
2017-05-24 22:26:30 +02:00
a7f70d2888 Unlock 7th GAC 100. 2017-05-24 22:17:57 +02:00
9ed43aa362 Return None when a matrix cannot be applied. 2017-05-24 22:16:36 +02:00
89b281fd6f Lean on knowledge too when defining bounds. 2017-05-24 22:16:03 +02:00
7cdf8a310d Unroll get_matching last list-comprehension. 2017-05-24 22:10:19 +02:00
e6cbb54382 Also use matching tokens to score tree similarity. 2017-05-24 22:09:28 +02:00
75d690120b Improve error reporting on tests. 2017-05-24 22:06:18 +02:00
cbeefcf76b Identify group "concepts" on-flight. 2017-05-24 22:05:46 +02:00
2bfe676b2d Integrate the knowledge ASAP.
If we do this before the parsing we can leverage that semantics
in the matching phase.
2017-05-24 22:03:37 +02:00
02f909269a Use after_execution mechanism for test asserts. 2017-05-24 21:09:23 +02:00
4d7afb0174 Add set-capable json dumper. 2017-05-24 20:42:54 +02:00
e51ba71ec5 Add after_execution mechanism to gac100 test. 2017-05-24 20:42:45 +02:00
a99449c04a Add property-has-value example. 2017-05-24 20:42:15 +02:00
bbba6b75e1 Make remix model more powerful.
Accept elements in the remix that are not present in the
subtrees.
2017-05-24 20:30:50 +02:00
d029ecd91d Implication example. 2017-05-24 20:13:42 +02:00
22534160c9 On fail or exception exit with non-zero code.
Also, on exceptions print the exception stacktrace.
2017-05-23 23:34:33 +02:00
0b52ade6b5 Small colorization on the test interface. 2017-05-23 23:32:41 +02:00
3cfc03373f Use {set} notation for sets. 2017-05-23 23:29:34 +02:00
e6e8146478 Allow learning from unparsed data in tests. 2017-05-23 23:28:01 +02:00
586ac76d1f Default to ERROR logging on tests. 2017-05-23 23:18:02 +02:00
460ad73bba Handle the possibility of remixes not working. 2017-05-23 23:17:46 +02:00
6693b7deb0 Remove need from as_property info.
Probably this can be improved upon if the data is later
analyzed with it's similars.
2017-05-23 23:16:21 +02:00
d6628101de Base gac 100. 2017-05-23 22:16:27 +02:00
23ae882161 Separated basic test. 2017-05-23 21:57:51 +02:00
5297158110 Package as tree_nlu. 2017-05-23 19:04:44 +02:00
ec17fca6cf Add unpassed test. 2017-05-23 18:56:04 +02:00
0160afa0ea Fix debugging calls. 2017-05-22 22:11:34 +02:00
f338fb786d Set base logging level as info, remove unused debug strings. 2017-05-22 22:06:49 +02:00
393527590c Convert the linear exploration into a more tree-like. 2017-05-22 20:20:53 +02:00
ae8d717344 Move MAX_RECURSIONS to parameter file. 2017-05-21 14:12:32 +02:00
e3ab9583fe Add borders to meter. 2017-05-21 14:08:29 +02:00
851ab1de20 Blindly replace all prints by logging.debug.
Also, add a "depth" meter to measure the depth level in the
tree matching.
2017-05-17 23:54:18 +02:00
b2b6be6c9a Fix subquery learning/interpretation. 2017-05-17 01:05:55 +02:00
e83725efa4 Fix minor forgotten typo. 2017-05-17 00:45:41 +02:00
63227c4f3e Fix exploration of multiple options on a sub-level. 2017-05-17 00:27:23 +02:00
ce7b50e023 Merge shallow-recursive-trees into naive-nlu. 2017-05-17 00:01:55 +02:00
42cb4cb8f1 Add interpretation phase to shallow (1 level) nested structures. 2017-05-16 22:46:22 +02:00
5f6b067e17 Add learning phase to shallow (1 level) nested structures. 2017-05-15 16:51:39 +02:00
099af2a815 Add remix application sample. 2017-05-13 20:33:09 +02:00
c6eaf056aa Comment tests outside current development scope. 2017-05-13 20:28:27 +02:00
0e19240720 Building base (extremely naïve) subgraph remix matrix. 2017-05-13 20:28:11 +02:00
a94fd31af1 Add base test. 2017-05-11 21:13:27 +02:00
ad975015a6 Move pieces of parsing code in parsing module. 2017-05-11 20:56:01 +02:00
3cc1f9bcde Add question asking operator. 2017-05-11 20:36:55 +02:00
675a494723 Setup an structure to allow setting or getting elements. 2017-05-11 20:24:29 +02:00
e42ef8f415 Integrate elements.
* Move interface to KnowledgeBase object.
 * Connect process and evaluate calls.
2017-05-11 20:00:10 +02:00
edc3cb97ab Separation of functionalities in modules. 2017-05-11 01:09:39 +02:00
5b30713df1 Use a single object for both parts of the training. 2017-05-11 01:05:07 +02:00
a1925f5383 Hyper-basic wikitionary reader. 2017-05-09 23:59:01 +02:00