Part-of-speech (POS) tagging, also known as grammatical tagging or word-category disambiguation, is the process of automatically assigning a specific part-of-speech tag (such as noun, verb, adjective, etc.) to each word in a text corpus based on its syntactic function and context.