Internal Language is a set of codes used by the learning process for populate the memory.
subject ILCODE object {extra} {trend}
The subject can contain the symbol "%", indicates "reference to the attribute of"
"claws of cats are retractile"
the feature "retractile" is referring to the "claws", but not to every "claw" only to the "claws of cats". In this case the subject would be "cat%claw"
the symbol can appears more than once, for example to represent "the nail of the claw of the cats", this case would be represented as "cat%claw%nail"
The subject can also contain the symbol "_" that means specialization reference, in other words, multiple word concept
"stock exchange" → stock_exchange
Code to indicate the relation between the subject and the object
ISA= parent
IS = feature
HAVE = attribute
CAN = skill
CANBE = affected action
used only for questions:
ISAIS = "is a cat an animal?" animal can be both noun and adjective; then it's hard to decide if it's questioning about cat;
is an animal (ISA/parent relation) or if cat has animal as feature (IS / feature relation)
Can be a noun, adjective or action verb depending of the code type (ILCODE).
feature if IS, verb if CAN or CANBE, noun otherwise.
As numbers referring to an object (numbered attributes): animals have from two to four, eight and twelve legs → animal HAVE leg 2-4/8/12 10 4
(slash separated list of number or range, the values must be lower than a million)
Also to store the interactions, the format of extra field in the case of skills is the following: lexRef{*tend}{&source}
Note that an ILC with skill as ilcode ONLY ONE interaction is allowed.
Remind {} means optionallity; if the tendency or source is not reported then value = 1 is assumed.
Put only 1 slash is interpreted as null value (the relation has no extra): the dog is not a robot → dog ISA robot / -1
Examples:
persons can write books → person CAN write book*2&2 1 1 (interaction with explicit tendency and source)
spiders jump over the door → spider CAN jump door (only interactions wihtout explicit tendency or source declaration)
finger can press key&3 ( interactions wiht only source declaration)
spiders sleep → spider can sleep / 1 1 (without interactions)
An spider can eat so very quickly an insect, but not a mouse → spider CAN eat insect + spider CAN eat mouse*-1
(unique declaration, assuming tendency and source)
Tendency is the positive or negative tendency of the sentence: [+|-]#
The symbol # represents a number indicating the trustworthy of this declaration (If this value is zero means that is a question)
Source is the mechanism to discriminate what is the origin of the input; It's an identifier number of the source with provides the input.
Source | Binary | Used for |
---|---|---|
1 | 0000000000000001 | admin |
2 | 0000000000000010 | registered user |
4 | 0000000000000100 | unregistered user |
8 | 0000000000001000 | books (also Google n-grams) |
16 | 0000000000010000 | dictionaries (as a Thesaurus) |
32 | 0000000000100000 | encyclopedias (as Wikipedia) |
64 | 0000000001000000 | web pages |
128 | 0000000010000000 | web searchers (as Google or Yahoo) |
256 | 0000000100000000 | unused |
512 | 0000001000000000 | unused |
1024 | 0000010000000000 | unused |
2048 | 0000100000000000 | unused |
4096 | 0001000000000000 | unused |
8192 | 0010000000000000 | unused |
16384 | 0100000000000000 | Contrast & Verified |
32768 | 1000000000000000 | Absolutely True |
This values could be mixed, for example if a relation is mentioned by a book and a dictionary the source will be 24(0000000000011000)
→ arbiter ISA person / 1 1
→ dispute CANBE settle (/ 1 1 are optional)
→ person CAN settle / 1 1
→ material HAVE roll / 1 1
→ bolt ISA material%roll / -1 1 (-1 is due to the "not" associated to the "be" verb)
→ bolt IS large quite 1 1
→ mouse HAVE limb 4 1 1 (4 is the numbered NER for "four")
→ mouse%limb IS tiny / 1 1
→ dog CAN jump wall*1/stone*1 1 1
→ person ISA person / -1 1
→ person HAVE person / 1 1
→ but for the self identity property this relations won't be inserted into the memory, even though it will be answered when are asked