19. The apparatus of claim 18 , further comprising: a sampling data generator configured to generate the sampling data based on the input data, wherein the data segment generator is further configured to generate the data segments based on the sampling data.
18. An apparatus comprising: at least one processor; a data segment generator of the at least one processor configured to extract sampling data corresponding to a time period and to accumulatively generate data segments, at one or more predetermined time-domain windows, based on input data for emotion recognition, wherein the input data comprises a facial image of a user, a voice of the user, text input by the user, a temperature of the user, a location of the user, or a kind of an application being used by the user, and each of the data segments subsequent to a first data segment of the data segments includes portions of the sampling data from a current sampling time period and all previous sampling time periods; an emotional segment generator of the at least one processor configured to generate emotional segments that comprise emotions corresponding to the respective data segments; and an emotion recognition controller configured to recognize an emotion of a user based on the emotional segments and to recognize at least two of the emotional segments as the user's complex emotion.