Activating Latent Semantic Models with Natural Language Inference

andrew-lucker
8,148 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content
Previous: Input and Output

Next Steps

To implement the base four emotional states (happiness, sadness, anger, and fear) we must first create a data structure capable of encoding the variable identifier and confidence. To keep things simple we will simply create a list containing a tuple of (identifer, confidence). This now allows us to encode mixed emotions as seen below:

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content