The document discusses techniques for detecting emotions from text, including keyword spotting, lexical affinity methods, and learning-based methods. It proposes a new architecture that combines an emotion ontology and emotion detector algorithm. The emotion ontology is developed using an emotion word hierarchy converted into a class/subclass format. The emotion detector calculates scores for emotion words based on parameters like frequency, depth in ontology, and parent-child relationships to determine the overall emotion class of the text. The proposed approach aims to improve on existing methods by leveraging an emotion ontology and a scoring algorithm to detect emotions more accurately.