{"id":1615,"date":"2022-01-09T11:20:53","date_gmt":"2022-01-09T11:20:53","guid":{"rendered":"https:\/\/multisite.korebots.com\/SearchAssist\/?p=1615"},"modified":"2022-01-09T11:20:53","modified_gmt":"2022-01-09T11:20:53","slug":"how-to-extract-keywords","status":"publish","type":"post","link":"https:\/\/multisite.korebots.com\/SearchAssist\/manage-indices\/how-to-extract-keywords\/","title":{"rendered":"How to Extract Keywords"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Keyword Extraction is a technique to automatically detect important\u00a0 and relevant words from the text stored in a field.<\/span><\/p>\n<p><span style=\"font-weight: 400\">The Keyword Extraction stage in <\/span><a href=\"https:\/\/docs.google.com\/document\/d\/1A1G6RzvrbxqNQtagGPWiBYSm2sIZaKiB\/edit#bookmark=id.endjhwj5b953\"><span style=\"font-weight: 400\">Indexing Pipeline<\/span><\/a> <span style=\"font-weight: 400\">\u00a0to identify a set of keywords from a source field and save the identified keywords in a target field. Use the target field\u00a0 to identify the intention of the search user better.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">SearchAssist applies various NLP algorithms to extract keywords.<\/span><\/p>\n<p><span style=\"font-weight: 400\">You can:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Define a condition for the keyword extraction stage. SearchAssist extract keywords only from the documents that satisfy the given condition.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Re-order or delete keyword extractions.<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Simulate <\/b><span style=\"font-weight: 400\">the changes before saving them.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Ensure to click\u00a0 <\/span><b>Train your App<\/b><span style=\"font-weight: 400\"> each time you make changes to any index configuration. This builds the index based on the updated configurations.<a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2021\/12\/Train_your_App_icon.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1605 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2021\/12\/Train_your_App_icon-300x38.png\" alt=\"\" width=\"300\" height=\"38\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2021\/12\/Train_your_App_icon-300x38.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2021\/12\/Train_your_App_icon.png 460w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400\">To configure for keyword extraction, take the following steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click the <\/span><b>Indices <\/b><span style=\"font-weight: 400\">tab on the top.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the left pane, under the <\/span><b>Index Configuration<\/b><span style=\"font-weight: 400\"> section, click <\/span><b>Workbench<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the Workbench (Index Configuration) page, on the <\/span><b>Stages <\/b><span style=\"font-weight: 400\">column, click the <\/span><strong>+<\/strong><span style=\"font-weight: 400\"> icon.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select <\/span><b>Keyword Extraction<\/b><span style=\"font-weight: 400\"> from the <\/span><b>Stage Type<\/b><span style=\"font-weight: 400\"> dropdown.<a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2021\/12\/Manage_indices_wb_keyword-extraction.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1617 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2021\/12\/Manage_indices_wb_keyword-extraction-300x248.png\" alt=\"\" width=\"300\" height=\"248\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2021\/12\/Manage_indices_wb_keyword-extraction-300x248.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2021\/12\/Manage_indices_wb_keyword-extraction.png 535w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Enter a name in the <\/span><b>Stage Name<\/b><span style=\"font-weight: 400\"> field.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Enter a condition in the <\/span><b>Condition <\/b><span style=\"font-weight: 400\">field.\u00a0 You can add multiple conditions using the AND\/OR connectors. SearchAssist considers only the documents that satisfy the conditions part of the stage. Refer <\/span><a href=\"https:\/\/docs.google.com\/document\/d\/1A1G6RzvrbxqNQtagGPWiBYSm2sIZaKiB\/edit#bookmark=id.de2m405io5a3\"><span style=\"font-weight: 400\">Conditions for Keyword Extraction<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select the field you want to extract keyword from as <\/span><b>Source Field<\/b><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><span style=\"font-weight: 400\">Name the\u00a0<strong>Target Field<\/strong>\u00a0 where you want to store the extracted keywords. The application creates this field. <a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2021\/12\/Manage_indices_wb_keyword-extraction2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1618 size-large\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2021\/12\/Manage_indices_wb_keyword-extraction2-1024x272.png\" alt=\"\" width=\"640\" height=\"170\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2021\/12\/Manage_indices_wb_keyword-extraction2-1024x272.png 1024w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2021\/12\/Manage_indices_wb_keyword-extraction2-300x80.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2021\/12\/Manage_indices_wb_keyword-extraction2.png 1667w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/span><\/span><span style=\"font-weight: 400\">The following models are supported:<\/span>\n<ul>\n<li style=\"font-weight: 400\"><b>Topic Rank<\/b><span style=\"font-weight: 400\"> \u2013 it&#8217;s a method to extract keyphrases from the most important topics of a document.<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Position Rank<\/b><span style=\"font-weight: 400\"> \u2013 it&#8217;s a method to capture both highly frequent words or phrases and their position in a document.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Multi-partite Rank<\/b><span style=\"font-weight: 400\"> \u2013 it&#8217;s a keyphrase extraction method that encodes topical information within a multi-partite graph structure.<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click <\/span><b>Simulate<\/b><span style=\"font-weight: 400\"> to verify the configurations. The simulator displays the Source and the number of documents to which the mapping was applied, and the result. You can change the Source and the number of documents if there is no mention in the conditions.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Once ready, click <\/span><b>Save Configuration<\/b><span style=\"font-weight: 400\"><span style=\"font-weight: 400\"> on the upper-right. <\/span><\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\"><br \/>\nConditions for Keyword Extraction<\/span><span style=\"font-weight: 400\">Condition is of the following format: <\/span><span style=\"font-weight: 400\">ctx.field_name==value<\/span><span style=\"font-weight: 400\"> or <\/span><span style=\"font-weight: 400\">ctx.field_name!=value<\/span><span style=\"font-weight: 400\">. <\/span><\/p>\n<p><span style=\"font-weight: 400\">Obtain the <\/span><i><span style=\"font-weight: 400\">field_name<\/span><\/i><span style=\"font-weight: 400\"> from the Fields table under Index Configuration. <\/span><\/p>\n<p><span style=\"font-weight: 400\">For example, <\/span><span style=\"font-weight: 400\">ctx.contentType==&#8221;web&#8221;<\/span><span style=\"font-weight: 400\"> to restrict the extraction from the content from a web source.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Keyword Extraction is a technique to automatically detect important\u00a0 and relevant words from the text stored in a field. The Keyword Extraction stage in Indexing Pipeline \u00a0to identify a set of keywords from a source field and save the identified keywords in a target field. Use the target field\u00a0 to identify the intention of the&#8230;<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46,29],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/posts\/1615"}],"collection":[{"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/comments?post=1615"}],"version-history":[{"count":13,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/posts\/1615\/revisions"}],"predecessor-version":[{"id":1936,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/posts\/1615\/revisions\/1936"}],"wp:attachment":[{"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/media?parent=1615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/categories?post=1615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/tags?post=1615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}