In psycholinguistics, language production is the production of spoken or written language. It describes all of the stages between having a concept, and translating that concept into linguistic form. In computational linguistics/natural language processing and artificial intelligence, the term natural language generation (NLG) is more common, and those models may or may not be psychologically motivated. In psycholinguistics, language production is the production of spoken or written language. It describes all of the stages between having a concept, and translating that concept into linguistic form. In computational linguistics/natural language processing and artificial intelligence, the term natural language generation (NLG) is more common, and those models may or may not be psychologically motivated. Language production consists of several interdependent processes which transform a nonlinguistic message into a spoken, signed, or written linguistic signal. Though the following steps proceed in this approximate order, there is plenty of interaction and communication between them. The process of message planning is an active area of psycholinguistic research, but researchers have found that it is an ongoing process throughout language production. Research suggests that messages are planned in roughly the same order that they are in an utterance. After identifying a message, or part of a message, to be linguistically encoded, a speaker must select the individual words—also known as lexical items—to represent that message. This process is called lexical selection. The words are selected based on their meaning, which in linguistics is called semantic information. Lexical selection activates the word's lemma, which contains both semantic and grammatical information about the word. This grammatical information is then used in the next step of language production, grammatical encoding. Critical grammatical information includes characteristics such as the word's syntactic category (noun, verb, etc.), what objects it takes, and grammatical gender if it is present in the language. Using some of these characteristics as well as information about the thematic roles of each word in the intended message, each word is then assigned the grammatical and thematic role it will have in the sentence. Function morphemes, like the plural /s/ or the past tense /ɪd/, are added in this stage as well. After an utterance, or part of one, has been formed, it then goes through phonological encoding. In this stage of language production, the mental representation of the words to be spoken is transformed into a sequence of speech sounds to be pronounced. The speech sounds are assembled in the order they are to be produced.