BookmarkSubscribeRSS Feed
Fred6
Calcite | Level 5

Hi, Does anybody know how one can, in the VTA concepts node, export a snippet of text (mostly a sentence) with matched terms to the Results table? I cannot find this option in the documentation.

Example: suppose I have a match with with the word "virus" in a particular sentence within a large document, I would like that this particular sentence would be returned in the output Results table. The particular sentence could be: "The virus was also found to be present in serum from patients."

The snippet would be present as an extra column in the transactional output table in that can be accessed in the Concepts node.

2 REPLIES 2
aulinc
SAS Employee

Once you follow the instructions at https://go.documentation.sas.com/?activeCdc=ctxtcdc&cdcId=capcdc&cdcVersion=8.5&docsetId=ctxtug&docs..., you are redirected to SAS Visual Analytics. When SAS Visual Analytics opens, complete the following steps:

 

  1. Select “Objects” from the toolbar on the left side of the page, and drag the “List Table” object to your report.aulinc_0-1605631958018.png

     

  2. Click “Assign Data” in the middle of the screen. You will select the columns that you want to add to your List table from the window that appears.aulinc_1-1605631958021.png

     

  3. Click “Add”. A list of the available columns that you can add to your List table appears.
  4. Select the names of the columns that you want to add to your List table. The data that you want to export will be in the column titled “Keywords”. You will also want to add the Concept Name column so you know which keywords correspond to each matching concept, and for your own reference you might also want to add your text variable (the column that contains the entire text and not just the matching excerpt) as a column to the List table.
  5. Click the ellipses in the upper right corner of the page, and select “Export Data”. The Export Data window appears.
  6. Locate the File type field at the bottom of the window, and specify the file type that you want to use to export your data.
  7. A file is generated according to the options that you specify, and appears in the download toolbar at the bottom of your screen.
Fred6
Calcite | Level 5

Hi Aulinc,

 

Thank you for your reply. Your answer refers to VA, I need something in VTA.

 

What I want is to have the snippet of text with matched terms as a column in the output results in the Concepts node in VTA.

This is addition to the ones you mention in your reply, like Keywords.

 

When the snippet text is as a column in the data I can then use it in VA.

 

Does this explanation help?

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 660 views
  • 0 likes
  • 2 in conversation