Skip to content

Instantly share code, notes, and snippets.

@mem-memov
mem-memov / semantic_javascript
Last active August 22, 2018 20:27
Semantic JavaScript is a new way of inteacting in the web. In this simple example two men give information about birds using cybe language. Semantic graph is created authomatically. The machine asks the second man questions about birds.
var ai = (function() {
var ai = {
phrases: {},
phraseIds: {},
nextPhraseId: 1,
authors: {},
authorIds: {},