In order to help developers formalize responses to NLP Queries, quotek provides a set of structures to store the data.
stores the computed sentiment score.
Stores whether the computed sentiment is felt overall as positive, negative or neutral. so data stored in here can be “positive”, “negative” or “neutral”
Stores whether the sentiment is felt as mixed or not. If sentiment is mixed, you should take the result carefully.
Tells if sentiment analysis failed or not
Stores the analysis error message in case of failure
Relation structures contain results of machine learning relationship algorithms, which mainly allow to guess “Who does what”. This is a trivial form of summerizing which allows machine processing of complex texts.
action struct is meant to store detected action for a sentence. Action is composed of 3 components, text (verb) , tense, and negated (if verb is used in its negative form).