<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Term by Document Matrix, how do I determine which document corresponds with document number in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Term-by-Document-Matrix-how-do-I-determine-which-document/m-p/883457#M10529</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would never do this analysis without including a Document ID (to be able to find everything back afterwards and to be able to link / map everything).&lt;/P&gt;
&lt;P&gt;I wasn't even aware you could do this analysis &lt;EM&gt;without&lt;/EM&gt; including a Document ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The procedure that is run in the background is PROC TEXTMINE.&lt;/P&gt;
&lt;P&gt;PROC TEXTMINE has a&amp;nbsp;DOC_ID Statement. I think that&amp;nbsp;DOC_ID Statement is mandatory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;H3 class="xis-title"&gt;DOC_ID Statement&lt;/H3&gt;
&lt;/DIV&gt;
&lt;DIV id="viyaml_textmine000267" class="aa-statementblock"&gt;
&lt;UL class="aa-statementblock"&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN class="aa-statement"&gt;DOC_ID&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="aa-statementoptional"&gt;variable&lt;/SPAN&gt;;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;P&gt;The DOC_ID statement specifies the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=" aa-argument"&gt;variable&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that contains the ID of each document. In the input data table, each row corresponds to one document. The ID of each document must be unique; it can be either a number or a string of characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;BR /&gt;Koen&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jul 2023 15:00:14 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2023-07-04T15:00:14Z</dc:date>
    <item>
      <title>Term by Document Matrix, how do I determine which document corresponds with document number</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Term-by-Document-Matrix-how-do-I-determine-which-document/m-p/883288#M10528</link>
      <description>&lt;P&gt;I have a dataset with a text variable and I ran the 'Text Parsing and Document Discovery" feature&amp;nbsp; under SAS VIYA text analytics and I produced term by document matrix as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="William29_0-1688367354271.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85528i1EE32E3AC2454915/image-size/medium?v=v2&amp;amp;px=400" role="button" title="William29_0-1688367354271.png" alt="William29_0-1688367354271.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How do I interpret the document number? Is there a simple way of determining which document corresponds to a particular document number? Document number does not appear to be row number so I am wondering if I can get some guidance with how I associate a particular document number with a particular document/row number&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 06:57:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Term-by-Document-Matrix-how-do-I-determine-which-document/m-p/883288#M10528</guid>
      <dc:creator>William29</dc:creator>
      <dc:date>2023-07-03T06:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Term by Document Matrix, how do I determine which document corresponds with document number</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Term-by-Document-Matrix-how-do-I-determine-which-document/m-p/883457#M10529</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would never do this analysis without including a Document ID (to be able to find everything back afterwards and to be able to link / map everything).&lt;/P&gt;
&lt;P&gt;I wasn't even aware you could do this analysis &lt;EM&gt;without&lt;/EM&gt; including a Document ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The procedure that is run in the background is PROC TEXTMINE.&lt;/P&gt;
&lt;P&gt;PROC TEXTMINE has a&amp;nbsp;DOC_ID Statement. I think that&amp;nbsp;DOC_ID Statement is mandatory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;H3 class="xis-title"&gt;DOC_ID Statement&lt;/H3&gt;
&lt;/DIV&gt;
&lt;DIV id="viyaml_textmine000267" class="aa-statementblock"&gt;
&lt;UL class="aa-statementblock"&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN class="aa-statement"&gt;DOC_ID&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="aa-statementoptional"&gt;variable&lt;/SPAN&gt;;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;P&gt;The DOC_ID statement specifies the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=" aa-argument"&gt;variable&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that contains the ID of each document. In the input data table, each row corresponds to one document. The ID of each document must be unique; it can be either a number or a string of characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;BR /&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 15:00:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Term-by-Document-Matrix-how-do-I-determine-which-document/m-p/883457#M10529</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-07-04T15:00:14Z</dc:date>
    </item>
  </channel>
</rss>

