Daniel061 / Sophie6.1

AI from stumbling Baby to Sentient being.
GNU General Public License v3.0
1 stars 1 forks source link

Adverb Processing #10

Open Daniel061 opened 5 years ago

Daniel061 commented 5 years ago

Describe the bug When faced with an adverb, the program currently doesn't handle it correctly.

To Reproduce Steps to reproduce the behavior:

  1. Type: the dog is wet.
  2. The program associates wet with dog very nicely.
  3. Type: the dog is very wet.
  4. The program gets confused with the format.

Expected behavior The verb wet is associated with the noun dog and the adverb very is stored with the noun dog as a modifier for wet.

Additional context Perhaps VerbList in MemoryCell needs an additional array for modifiers.

Daniel061 commented 5 years ago

Added adverb knowledge to language helper. Now word types are set to 'A' for adverbs. Still need proper logic to handle this structure "dnvAa"

Daniel061 commented 5 years ago

An example screen shot: adverb handling example