This python code can identify users mood by checking the keywords in a certain sentence. The sentence can be provided with Voice to Text Engine.
This python file include a number of sets of emotional keywords that can identify the user's mood by checking the number of certain keywords in a certain sentence. This system can be made into modules to fit your needs for voice to text or any other uses.