在情緒認知裡,語意認知受到高度的重視。結合自然語言生成的研究,透過回應,產生連續的特定情緒來回覆人們,進一步來使機器更人性化。 對於文本或句子的情感分析問題已被廣泛研究和改進,但針對文句內容產生相對應情緒的研究始終被忽視。 同時,受惠於 Generative Adversarial Network (GAN),生成模型最近得到一系列的改進,使自然語言處理和計算機視覺中相繼得到滿意的結果。然而,當應用於文本生成時,對抗性學習可能導致產生的文本質量低落且模型崩壞。 在本文中,我們利用社交媒體單一對話的訓練資料,來提出一種新的訓練方法,以便為NTCIR-14 研討會的 Short-Text Conversation task (STC-3) 生成語法正確和情感一致的答案。 我們參照了 StarGAN 的框架,使用 Attention-based Sequence-to-Sequence 來作為我們的文本生成器。 我們使用情感鑲嵌和情緒分類器的輸出來幫助模型訓練。 為了避免上述對抗網絡的問題,我們選擇使用 maximum likelihood 或 adversarial loss 來訓練我們的文本生成器。;Emotional Intelligence is a field from which awareness is heavily being raised. Coupled with language generation, one expects to further humanize the machine and be a step closer to the user by generating responses that are consistent with a specific emotion. The analysis of sentiment within documents or sentences have been widely studied and improved while the generation of emotional content remains under-researched. Meanwhile, generative models have recently known series of improvements thanks to Generative Adversarial Network (GAN). Promising results are frequently reported in both natural language processing and computer vision. However, when applied to text generation, adversarial learning may lead to poor quality sentences and mode collapse. In this paper, we leverage one-round data conversation from social media to propose a novel approach in order to generate grammatically-correct-and-emotional-consistent answers for Short-Text Conversation task (STC-3) for NTCIR-14 workshop. We make use of an Attention-based Sequence-to-Sequence as our generator, inspired from StarGAN framework. We provide emotion embeddings and direct feedback from an emotion classifier to guide the generator. To avoid the aforementioned issues with adversarial networks, we alternatively train our generator using maximum likelihood and adversarial loss.