An apparatus, method, and non-transitory computer readable storage medium for generating control instructions based on text are provided. The apparatus analyzes a text with at least one string to generate a text timestamp document, analyzes the at least one string to generate a plurality of pieces of emotion information, a plurality of pieces of action information, and a plurality of pieces of environment information, and decides a plurality of emotion tags and their corresponding timestamps, a plurality of action tags and their corresponding timestamps, and a plurality of environment tags and their corresponding timestamps according to a feature database. The apparatus further generates control instruction(s) and the corresponding timestamp(s) according to the emotion tags and their corresponding timestamps, the action tags and their corresponding timestamps, and the environment tags and their corresponding timestamps.
展开▼