<?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 PRX Function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PRX-Function/m-p/616007#M180266</link>
    <description>&lt;P&gt;I have been writing PRX functions to find specific text in a text string. What I'm having trouble with, is that even when I find the correct word, I can also find the negative of that word too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I want to search the word "wheezing," so I do, and it finds wheezing, but the problem is that the sentence that it is in says "The patient has no sign of wheezing."&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I only want to find patients that HAVE wheezing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the PRX functions, how would I go about doing this?&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2020 18:41:37 GMT</pubDate>
    <dc:creator>mar00390</dc:creator>
    <dc:date>2020-01-08T18:41:37Z</dc:date>
    <item>
      <title>PRX Function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PRX-Function/m-p/616007#M180266</link>
      <description>&lt;P&gt;I have been writing PRX functions to find specific text in a text string. What I'm having trouble with, is that even when I find the correct word, I can also find the negative of that word too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I want to search the word "wheezing," so I do, and it finds wheezing, but the problem is that the sentence that it is in says "The patient has no sign of wheezing."&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I only want to find patients that HAVE wheezing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the PRX functions, how would I go about doing this?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 18:41:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PRX-Function/m-p/616007#M180266</guid>
      <dc:creator>mar00390</dc:creator>
      <dc:date>2020-01-08T18:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: PRX Function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PRX-Function/m-p/616017#M180272</link>
      <description>&lt;P&gt;What you are asking for is language interpretation and PRX isn't designed for that. It is just looking at character or word patterns. You can imagine all the many ways of describing wheezing and not wheezing. I'm not sure there is any way in SAS of doing language interpretation. Others more experienced in this area than I may care to comment.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 19:05:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PRX-Function/m-p/616017#M180272</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-01-08T19:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: PRX Function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PRX-Function/m-p/616040#M180281</link>
      <description>&lt;P&gt;Would there be a function that could focus on something like that? I am out of ideas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 20:22:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PRX-Function/m-p/616040#M180281</guid>
      <dc:creator>mar00390</dc:creator>
      <dc:date>2020-01-08T20:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: PRX Function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PRX-Function/m-p/616084#M180304</link>
      <description>&lt;P&gt;One approach worth exploring would be to pull out all occurrences of the word wheezing, then look for common word phrases containing wheezing (no sign of wheezing, has occasional wheezing, has constant wheezing etc). You may be lucky that there might only be 10 or 20 phrases that keep being repeated. Then you can add SAS logic to deal with those common phrases. It is a lot of work, but it might help you make progress.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS has a text mining tool, SAS Text Miner that might be able to help here, but if you don't have it then it is not an option.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 22:07:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PRX-Function/m-p/616084#M180304</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-01-08T22:07:18Z</dc:date>
    </item>
  </channel>
</rss>

