<?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: How to identify whether the value of column has 5 or more consonants without vowel? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453277#M114525</link>
    <description>&lt;P&gt;There used to be a dictionary or spelling procedure. I don't know if it still exists.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 16:02:33 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-04-11T16:02:33Z</dc:date>
    <item>
      <title>How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453254#M114507</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I have a string column named "Column_Test" which cotains text up to 200 characters.&lt;BR /&gt;I want to identify those rows/ids where "Column_Test" value has 5 or more consonants without vowel.&lt;/P&gt;
&lt;P&gt;Could anyone help me on this ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Nikunj&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 14:59:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453254#M114507</guid>
      <dc:creator>nikunjgattani</dc:creator>
      <dc:date>2018-04-11T14:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453257#M114510</link>
      <description>&lt;P&gt;Load the column into an array, looping one character at a time.&amp;nbsp; Then, count the members of the array that you consider consonants.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 15:04:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453257#M114510</guid>
      <dc:creator>tomrvincent</dc:creator>
      <dc:date>2018-04-11T15:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453260#M114512</link>
      <description>&lt;P&gt;Hope this helps:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data have;
input Column_Test $50.;
datalines;
ABCEDIFOGUHJKLMNPQRSTVXZ
;

data want;
set have;
want=length((compress(Column_Test,'AEIOU','L')));
if want&amp;gt;5 then put '5 or more consonants without vowel';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Apr 2018 15:10:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453260#M114512</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-04-11T15:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453263#M114513</link>
      <description>&lt;P&gt;Use the COUNTC function to find if there are voewls. Then use length to count the length of the string;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
     y = 'dfktbcpl';
     nvowels=countc(y,'aeiouy');
     length=length(y);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Apr 2018 15:12:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453263#M114513</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-11T15:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453266#M114516</link>
      <description>&lt;P&gt;How will you decide whether the letter "Y" is a vowel or not?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 15:27:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453266#M114516</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-04-11T15:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453267#M114517</link>
      <description>&lt;P&gt;Spaces? Punctuation? Special Characters such as @#$%^&amp;amp;*()_-=+.&lt;/P&gt;
&lt;P&gt;Is this supposed to be contiguous consonants or to the above not "reset" the count.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Might want to provide some concrete examples and whether they meet the requirement or not.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 15:37:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453267#M114517</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-11T15:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453271#M114521</link>
      <description>&lt;P&gt;Objective is to find mistyping&lt;/P&gt;
&lt;P&gt;Ex -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;looking more for things like strkct instead of strict&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 15:56:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453271#M114521</guid>
      <dc:creator>nikunjgattani</dc:creator>
      <dc:date>2018-04-11T15:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453273#M114522</link>
      <description>&lt;P&gt;Objective is to find mistyping&lt;/P&gt;
&lt;P&gt;Ex -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;looking more for things like strkct instead of strict&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, we have to reset the counter once it got vowel in the string and again start counting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have to ignore spaces, punctuation and special character.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 15:58:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453273#M114522</guid>
      <dc:creator>nikunjgattani</dc:creator>
      <dc:date>2018-04-11T15:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453277#M114525</link>
      <description>&lt;P&gt;There used to be a dictionary or spelling procedure. I don't know if it still exists.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 16:02:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453277#M114525</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-11T16:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453282#M114528</link>
      <description>&lt;P&gt;So for the exceptions, like "strengths" you are willing to inspect them to see if they are valid?&amp;nbsp; (You still need to decide whether "Y" qualifies as a vowel.&amp;nbsp; Is "tryst" a valid word or a mis-spelling?&amp;nbsp; How about "encrypts"?)&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 16:53:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453282#M114528</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-04-11T16:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453298#M114533</link>
      <description>&lt;P&gt;I think you're better off doing a dictionary search. You can find lists online. Flag anything not a valid word and then build your rules from there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 17:16:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453298#M114533</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-11T17:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453323#M114539</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Here we are not looking for a correct word but a mistyped word. Text&lt;BR /&gt;contains various places name too that are not a part of dictionary word.&lt;BR /&gt;We just want to capture those rows which has more than five consonants&lt;BR /&gt;appearing in a string continuously.&lt;BR /&gt;Then, we will manually review whether it is mistyped or not.&lt;BR /&gt;I Hope I am able explain my question.&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Apr 2018 18:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453323#M114539</guid>
      <dc:creator>nikunjgattani</dc:creator>
      <dc:date>2018-04-11T18:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453335#M114544</link>
      <description>&lt;P&gt;So a mistyped word will not end up in the list and then you can check it...am I missing something?&lt;/P&gt;
&lt;P&gt;What defines a 'mistyped' word is your actual problem.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 18:37:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453335#M114544</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-11T18:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453422#M114578</link>
      <description>We have to find a mistyped word.&lt;BR /&gt;So, to capture mistyped word we came up with a logic that any word which&lt;BR /&gt;doesn't have vowels in it could be mistyped.&lt;BR /&gt;On the top of that we added that if the count of consonants(continuous)&lt;BR /&gt;should be greater than 5 or more then only we call them mistyped.&lt;BR /&gt;&lt;BR /&gt;*This column contains addresses.&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2018 01:39:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453422#M114578</guid>
      <dc:creator>nikunjgattani</dc:creator>
      <dc:date>2018-04-12T01:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453942#M114749</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is the solution I got from a person in linkedin -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data youdata;&lt;BR /&gt;infile cards truncover;&lt;BR /&gt;input Column_Test $ 200.;&lt;BR /&gt;cards;&lt;BR /&gt;I have a string column named Column_Test which cotains text up to 200 characters &lt;BR /&gt;I have a string column named Column_Test which cotains text up to 2000000 as&lt;BR /&gt;I have a string column named Column_Test which cotains text up to 200 dfgt&lt;BR /&gt;I have a string column named Column_Test which cotains text up to 200 dfgty&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;data mistyping;&lt;BR /&gt;length id 8. ;&lt;BR /&gt;set youdata;&lt;BR /&gt;id = _N_;&lt;BR /&gt;keep id;&lt;BR /&gt;if prxmatch('/[^aeiouAEIOU\s]{5,}/', Column_Test);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You all for trying to solve my problem.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 14:58:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/453942#M114749</guid>
      <dc:creator>nikunjgattani</dc:creator>
      <dc:date>2018-04-13T14:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify whether the value of column has 5 or more consonants without vowel?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/454449#M114858</link>
      <description>&lt;P&gt;Yes, you were correct. 'Y' should also be included as vowel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have included 'Y' in my solution. I have posted the solution too in one of the comment.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 14:57:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identify-whether-the-value-of-column-has-5-or-more/m-p/454449#M114858</guid>
      <dc:creator>nikunjgattani</dc:creator>
      <dc:date>2018-04-16T14:57:29Z</dc:date>
    </item>
  </channel>
</rss>

