Froglingo | |||||||||||
A symbolic and PAC learning approach to instruct Turing-complete system in natural language | |||||||||||
|
1. Knowledge collection in a database through both Froglingo expression and natural languageThe table below contains 4 sentences, including the first 3 from the known folktale "Jack and Bean Stalk", to demonstrate how developers (users) inter- act with the Froglingo-based NLP system using both NL and Froglingo expressions to construct a database representing knowledge. The fourth example show how the factorial function can be described in NL:2. Basic Froglingo expressionsA string or a number is simply echoed:[//] "Hello World"; "Hello World";
Regular arithmetic calculations are supported:
Data is constructed by using a built-in operator create:
Queries on entered data are available immediately:
Business logic (or infinite data) is stored as data as well:
Another example of business logic - a factorial function:
A set of built-in operators are applicable to Froglingo data. They are more powerful than those existed in the traditional DBMSs such as SQL. Queries against a directed graph is a typical example:
Query: Is there a path from vertices A to C?
Froglingo manages files and a HTML file can be embedded with Froglingo expressions. Suppose there is a file named myprofile.html and the content is:
The data entered to Froglingo database is not shared with anyone else unless you explicitly granted permission to other users. The first step is to setup a multi-user environment by giving a password to you as the root user and then by adding additional users:
The last command
quit
terminates the Froglingo process. Now you may login again with a different user account.
Under the stand //www.myclienta.com , you are ready to construct your business application.
Here are links to sample applications in Froglingo:
|