@polycode-projects/the-mechanical-code-talker 2.2.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/tmct.mjs +4 -5
- package/corpus/LICENSES.json +19 -4
- package/corpus/README.md +48 -0
- package/corpus/generated/README.md +24 -9
- package/corpus/generated/ace-surface-variants.jsonl +4 -1
- package/corpus/generated/manifest.json +4 -4
- package/corpus/prose/manifest.json +512 -0
- package/corpus/prose/sqlite/LICENSE-NOTICE +53 -0
- package/corpus/prose/sqlite/arch.txt +213 -0
- package/corpus/prose/sqlite/atomiccommit.txt +1117 -0
- package/corpus/prose/sqlite/faq.txt +473 -0
- package/corpus/prose/sqlite/fileformat.txt +1589 -0
- package/corpus/prose/sqlite/lang_createtable.txt +1339 -0
- package/corpus/prose/sqlite/lang_insert.txt +580 -0
- package/corpus/prose/sqlite/lang_select.txt +3293 -0
- package/corpus/prose/sqlite/optoverview.txt +908 -0
- package/corpus/prose/sqlite/queryplanner.txt +447 -0
- package/corpus/prose/sqlite/transactional.txt +41 -0
- package/corpus/prose/sqlite/wal.txt +567 -0
- package/corpus/prose/sqlite/whentouse.txt +300 -0
- package/corpus/prose/wikipedia/Apple.txt +4 -0
- package/corpus/prose/wikipedia/Attempto_Controlled_English.txt +169 -0
- package/corpus/prose/wikipedia/Automated_planning_and_scheduling.txt +67 -0
- package/corpus/prose/wikipedia/Bee.txt +7 -0
- package/corpus/prose/wikipedia/Bird.txt +8 -0
- package/corpus/prose/wikipedia/Bone.txt +4 -0
- package/corpus/prose/wikipedia/Book.txt +7 -0
- package/corpus/prose/wikipedia/Bread.txt +6 -0
- package/corpus/prose/wikipedia/Butterfly.txt +6 -0
- package/corpus/prose/wikipedia/Car.txt +1 -0
- package/corpus/prose/wikipedia/Cat.txt +1 -0
- package/corpus/prose/wikipedia/Child.txt +3 -0
- package/corpus/prose/wikipedia/City.txt +2 -0
- package/corpus/prose/wikipedia/Clock.txt +2 -0
- package/corpus/prose/wikipedia/Cooking.txt +1 -0
- package/corpus/prose/wikipedia/Description_logic.txt +660 -0
- package/corpus/prose/wikipedia/Doctor.txt +6 -0
- package/corpus/prose/wikipedia/Dog.txt +4 -0
- package/corpus/prose/wikipedia/Eagle.txt +4 -0
- package/corpus/prose/wikipedia/Emotion.txt +9 -0
- package/corpus/prose/wikipedia/Eye.txt +5 -0
- package/corpus/prose/wikipedia/Family.txt +3 -0
- package/corpus/prose/wikipedia/Farm.txt +4 -0
- package/corpus/prose/wikipedia/Fear.txt +4 -0
- package/corpus/prose/wikipedia/First-order_logic.txt +1518 -0
- package/corpus/prose/wikipedia/Fish.txt +10 -0
- package/corpus/prose/wikipedia/Flower.txt +3 -0
- package/corpus/prose/wikipedia/Food.txt +10 -0
- package/corpus/prose/wikipedia/Grass.txt +9 -0
- package/corpus/prose/wikipedia/Hand.txt +2 -0
- package/corpus/prose/wikipedia/Happiness.txt +3 -0
- package/corpus/prose/wikipedia/Heart.txt +4 -0
- package/corpus/prose/wikipedia/Horse.txt +4 -0
- package/corpus/prose/wikipedia/House.txt +6 -0
- package/corpus/prose/wikipedia/Human.txt +4 -0
- package/corpus/prose/wikipedia/Insect.txt +6 -0
- package/corpus/prose/wikipedia/Interactive_fiction.txt +112 -0
- package/corpus/prose/wikipedia/Knowledge.txt +5 -0
- package/corpus/prose/wikipedia/Knowledge_representation_and_reasoning.txt +87 -0
- package/corpus/prose/wikipedia/LICENSE-NOTICE +94 -0
- package/corpus/prose/wikipedia/Language.txt +10 -0
- package/corpus/prose/wikipedia/Learning.txt +4 -0
- package/corpus/prose/wikipedia/Mammal.txt +3 -0
- package/corpus/prose/wikipedia/Memory.txt +5 -0
- package/corpus/prose/wikipedia/Milk.txt +1 -0
- package/corpus/prose/wikipedia/Mountain.txt +1 -0
- package/corpus/prose/wikipedia/Natural_language_processing.txt +211 -0
- package/corpus/prose/wikipedia/Ostrich.txt +2 -0
- package/corpus/prose/wikipedia/Owl.txt +2 -0
- package/corpus/prose/wikipedia/Penguin.txt +2 -0
- package/corpus/prose/wikipedia/Plant.txt +5 -0
- package/corpus/prose/wikipedia/Rain.txt +1 -0
- package/corpus/prose/wikipedia/Resource_Description_Framework.txt +184 -0
- package/corpus/prose/wikipedia/River.txt +1 -0
- package/corpus/prose/wikipedia/School.txt +8 -0
- package/corpus/prose/wikipedia/Sea.txt +1 -0
- package/corpus/prose/wikipedia/Semantic_Web.txt +114 -0
- package/corpus/prose/wikipedia/Semantic_reasoner.txt +29 -0
- package/corpus/prose/wikipedia/Snow.txt +5 -0
- package/corpus/prose/wikipedia/Sun.txt +5 -0
- package/corpus/prose/wikipedia/Teacher.txt +4 -0
- package/corpus/prose/wikipedia/Team.txt +3 -0
- package/corpus/prose/wikipedia/Text-based_game.txt +17 -0
- package/corpus/prose/wikipedia/Tool.txt +4 -0
- package/corpus/prose/wikipedia/Tree.txt +7 -0
- package/corpus/prose/wikipedia/Weather.txt +4 -0
- package/corpus/prose/wikipedia/Web_Ontology_Language.txt +133 -0
- package/corpus/prose/wikipedia/Wind.txt +8 -0
- package/corpus/prose/wikipedia/Writing.txt +5 -0
- package/corpus/wordnet/generate.mjs +6 -7
- package/package.json +31 -2
- package/src/adapters/corpus/conceptnet.mjs +1 -1
- package/src/adapters/graph-build.mjs +3 -3
- package/src/adapters/memory/blocks.mjs +2 -2
- package/src/adapters/memory/core.mjs +5 -5
- package/src/adapters/providers/bootstrap.mjs +1 -1
- package/src/adapters/providers/fixture.mjs +1 -1
- package/src/adapters/wink-model.mjs +1 -1
- package/src/adapters/wordnet-source.mjs +70 -0
- package/src/domain/answer-variants.json +1 -1
- package/src/domain/ask-vocab.mjs +2 -2
- package/src/domain/ask.mjs +4 -4
- package/src/domain/codegraph.mjs +3 -3
- package/src/domain/corpus-matrix.mjs +87 -0
- package/src/domain/grammar/ace.mjs +11 -11
- package/src/domain/grammar/lexicon.mjs +3 -3
- package/src/domain/inflect.mjs +67 -0
- package/src/domain/interpret/fuzzy.mjs +1 -1
- package/src/domain/interpret/merge.mjs +1 -1
- package/src/domain/interpret/normalize.mjs +1 -1
- package/src/domain/licences.mjs +68 -0
- package/src/domain/memory/capability.mjs +1 -1
- package/src/domain/memory/trust.mjs +2 -2
- package/src/domain/persona/codegen.mjs +123 -0
- package/src/domain/persona/examples.mjs +26 -0
- package/src/domain/persona/tiers.mjs +270 -0
- package/src/domain/publish-gate.mjs +41 -0
- package/src/domain/router/call-validator.mjs +1 -1
- package/src/domain/router/drive.mjs +3 -4
- package/src/domain/router/registry.mjs +12 -13
- package/src/domain/router/resolver.mjs +18 -5
- package/src/domain/router/results.mjs +3 -3
- package/src/domain/router/taught.mjs +4 -3
- package/src/domain/schemaorg/turtle.mjs +25 -0
- package/src/domain/semcor/parse.mjs +87 -0
- package/src/domain/syllogise.mjs +6 -6
- package/src/domain/version-stamp.mjs +36 -0
- package/src/domain/wordnet/yaml.mjs +133 -0
- package/src/services/chat-session.mjs +2 -2
- package/src/services/chat.mjs +2 -2
- package/src/services/cli-args.mjs +4 -4
- package/src/services/finish.mjs +1 -1
- package/src/services/ledger-viz.mjs +2 -3
- package/src/services/sessions.mjs +4 -4
- package/src/services/viz-theme.mjs +3 -4
- package/src/surfaces/web/memory-ask-browser.bundle.js +1 -18
- package/src/domain/router/guardrail.mjs +0 -116
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Emotions are what people feel. They are very ancient, and can be seen in all mammals.
|
|
2
|
+
Emotions are caused by a complex mixture of hormones and the unconscious mind. Only with great difficulty can we control our emotions by conscious effort. They cause mammals to change behaviour according to changes in their situation. In our case, they sometimes run against our attempt to live our lives in a logical way.
|
|
3
|
+
A scientific definition is not simple; over 90 definitions have been offered by experts. A definition of emotion needs to include three things:
|
|
4
|
+
conscious experience (feelings)
|
|
5
|
+
expressions which can be seen by others
|
|
6
|
+
actions of the body ('physiological arousal')
|
|
7
|
+
Here is one definition:
|
|
8
|
+
"Emotion is a complex psychological phenomenon which occurs as animals or people live their lives. Emotions involve physiological arousal, appraisal of the situation, expressive behaviours, and conscious experience. Emotion is associated with feeling, mood, temperament, personality, disposition, and motivation".
|
|
9
|
+
In physical terms, emotions involve body systems which have operated for hundreds of millions of years. These are the hormone system, the autonomic nervous system and the 'lower' brain centers (hindbrain and midbrain).
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
The eye is a round organ for sensing light so organisms can see. It is the first part of the visual system. About 97 percent of animal species have eyes. Image-resolving eyes are present in cnidaria, molluscs, vertebrates, annelids and arthropods.
|
|
2
|
+
In mammals, two kinds of cells, rods and cones, allow sight by sending signals through the optic nerve to the brain.
|
|
3
|
+
Some animals can see light that humans cannot see. They can see ultraviolet or infrared light.
|
|
4
|
+
The lens on the front part of the acts like a camera lens. It can be pulled flatter by muscles inside the eye, or allowed to become rounder. As some people get older, they may not be able to do this perfectly. Many people are born with other small problems or get them later in life. Eyeglasses (or contact lenses) may fix the problem.
|
|
5
|
+
Like different cameras, different eyes have different abilities. They may have higher or lower resolution, the ability to detect small details. They may have different performance in low light; nocturnal animals can see better at night than daytime animals. They may have different ability to distinguish colours.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
A family is a group of people who, in most cases, live together. They share their money and food and are supposed to take care of one another. Its members are either genetically related (like brother and sister) or legally bound to each other, for example by marriage. In many cultures, the members of a family have the same or a similar surname.
|
|
2
|
+
The family in accordance to the Catholic doctrine is treated in many articles of the Catechism of the Catholic Church starting from the article 2201.
|
|
3
|
+
A family is said to be society's smallest unit, its nucleus. Family life is more private and intimate than public life. But in most countries there are laws for it. For example, there are restrictions for marrying within the family and bans for having a sexual relationship with relatives, especially with children.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
A farm is a piece of land used to grow crops and/or raise animals.
|
|
2
|
+
People who grow these plants or raise these animals are called farmers. This work is called farming.
|
|
3
|
+
Land that is used to grow plants is called farmland. Land that is used to feed animals with its grass is called pasture. Land that can be used to grow plants for food is called arable land.
|
|
4
|
+
Many farms are very large and can cause damage. In some places farms are many and small, and can also cause damage. Farms provides most of the food for people. Some people farm to eat the food they produce (subsistence agriculture). Other farms, including large ones, sell their produced crops or animals, like horses, to markets far away in urban areas (commercial or industrial farming). Most subsistence farms are in poorer countries, while industrial farms are in richer countries.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
Fear is a feeling or an emotion. When a person has fear, they are afraid or scared. A person who fears something does not want it to happen. The fear response comes from sensing danger. It leads to the fight-or-flight response. In extreme cases of fear (horror and terror) there may be a freeze response or paralysis.
|
|
2
|
+
In humans and animals, fear is adjusted by cognition and learning. Thus fear is rational or appropriate, or it is irrational or inappropriate. An irrational fear is called a phobia.
|
|
3
|
+
Fear is the body's way of protecting itself from doing things that may be dangerous. For example, if one has a fear of jumping off a cliff, they will not do it. This saves one from death. In this case, fear is a good thing but in others, it can be bad. An example of fear being bad is if it stops one from doing something important, like going to see a doctor. Methods of controlling phobias include facing the fear over and over so the effect of the phobia becomes less until it stops being a phobia.
|
|
4
|
+
There is only a small set of basic or innate emotions and fear is one of them. The fear response helps survival by triggering appropriate behavioral responses. It has been preserved throughout evolution.
|