a minimalist but extensible knowledge engine
Python Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
create-gm-file-tools slightly improved simple sequence-intersection.py Nov 27, 2016
gm-examples implemented gm2sw-v2.py Nov 23, 2016
graph-examples more sequence graphs Jul 19, 2016
mnist implemented float-sequence Jun 6, 2017
sw-examples implemented grammar2sw code Nov 21, 2016
sw-tools work on ds^d polynomials Mar 30, 2016
tools wikivec-similarity-v2.py tweak Aug 8, 2018
v0.01 work on active logic Feb 18, 2018
version 2 added a short swc example Aug 13, 2018
work-on-framework added framework draft Jun 6, 2016
work-on-images finally started working on the parser Aug 11, 2016
work-on-sequences testing subseqlean nlp idea Jul 30, 2017
LICENSE debug and operator parsing Aug 17, 2015
README.md implemented process-catalytic-reaction() Feb 18, 2016
k5-sa-console-command-history.txt sa console history files added Nov 17, 2015
make-image.sh sw2dot.py works great! Dec 3, 2015
parsley_grammar.txt parsley grammar Aug 7, 2015
parsley_operator_grammar.txt debug and operator parsing Aug 17, 2015


The Feynman Knowledge Engine

a minimalist but extensible knowledge engine

Currently very pre-alpha

A series of blog posts that tries to explain my ideas:

A blog post trying to summarize and give an interpretation of the BKO scheme:

A big collection of example sw files:

Wikipedia to link-structure sw files:

My console history. Essentially a giant collection of examples:

Visualizing sw files, via the DOT language:

A definition of the if-then machine, a proposed approximation to a single neuron:

Towards a definition of intelligence:

Installation instructions:
$ git clone git://github.com/python-parsley/parsley.git
$ cd parsley/
$ sudo python3 setup.py install

$ cd ..
$ git clone git://github.com/GarryMorrison/Feynman-knowledge-engine.git
$ cd Feynman-knowledge-engine/
$ chmod +x the_semantic_db_console.py

$ ./the_semantic_db_console.py

sa: h

  q, quit, exit                quit the agent.
  h, help                      print this message
  context                      print list of context's
  context string               set current context to string
  icontext                     interactive context
  reset                        reset back to completely empty console
                               Warning! you will lose all unsaved work!
  dump                         print current context
  dump exact                   print current context in exact mode
  dump multi                   print context list
  dump self                    print what we know about the default ket/sp
  dump ket/sp                  print what we know about the given ket/sp
  display                      (relatively) readable display of current context
  display ket/sp               (relatively) readable display about what we know for the ket/sp
  freq                         convert current context to frequency list
  mfreq                        convert context list to frequency list
  web-load http://file.sw      load a sw file from the web
  load file.sw                 load file.sw
  save file.sw                 save current context to file.sw
  save multi file.sw           save context list to file.sw
  files                        show the available .sw files
  cd                           change and create if necessary the .sw directory
  ls, dir, dirs                show the available directories
  create inverse               create inverse for current context
  create multi inverse         create inverse for all context in context list
  x = foo: bah                 set x (the default ket) to |foo: bah>
  id                           display the default ket/superposition
  s, store                     set x to the result of the last computation
  .                            repeat last computation
  i                            interactive history
  history                      show last 30 commands
  history n                    show last n commands
  save history                 save console history to file
  debug on                     switch verbose debug messages on
  debug off                    switch debug messages off
  info on                      switch info messages on
  info off                     switch info messages off
  -- comment                   ignore, this is just a comment line.
  if none of the above         process_input_line(C,line,x)