{"id":71,"date":"2026-11-04T12:43:17","date_gmt":"2026-11-04T12:43:17","guid":{"rendered":"http:\/\/localhost\/wordpress\/?page_id=71"},"modified":"2026-11-04T12:43:43","modified_gmt":"2026-11-04T12:43:43","slug":"5-categorizing-and-tagging-words","status":"publish","type":"page","link":"https:\/\/firstyatl.my.id\/?page_id=71","title":{"rendered":"Categorizing and Tagging Words"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Back in elementary school you learned the difference between nouns, verbs, adjectives, and adverbs. These \u201cword classes\u201d are not just the idle invention of grammarians, but are useful categories for many language processing tasks. As we will see, they arise from simple analysis of the distribution of words in text. The goal of this chapter is to answer the following questions:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>What are lexical categories, and how are they used in natural language processing?<\/li>\n\n\n\n<li>What is a good Python data structure for storing words and their categories?<\/li>\n\n\n\n<li>How can we automatically tag each word of a text with its word class?<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Back in elementary school you learned the difference between nouns, verbs, adjectives, and adverbs. These \u201cword classes\u201d are not just the idle invention of grammarians, but are useful categories for many language processing tasks. As we will see, they arise from simple analysis of the distribution of words in text. The goal of this chapter [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-71","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/firstyatl.my.id\/index.php?rest_route=\/wp\/v2\/pages\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/firstyatl.my.id\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/firstyatl.my.id\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/firstyatl.my.id\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/firstyatl.my.id\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=71"}],"version-history":[{"count":2,"href":"https:\/\/firstyatl.my.id\/index.php?rest_route=\/wp\/v2\/pages\/71\/revisions"}],"predecessor-version":[{"id":75,"href":"https:\/\/firstyatl.my.id\/index.php?rest_route=\/wp\/v2\/pages\/71\/revisions\/75"}],"wp:attachment":[{"href":"https:\/\/firstyatl.my.id\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}