Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all -
I'm trying to build a view that will show me all the unique words used a field in my product description and am having some challenges. I'm starting by removing all the special characters found in my data (of which I can get most out but not all) and second I'm trying to remove a few "known words" from my list because I don't want to report on common words.
Here's an example:
Summaries: MAPPING LOAD * INLINE [ Summary This is for a desktop deployment This is for a new switch to replace ABC-123 "Need to install a new mouse" Running cable for John & Mike ]; WordsToRemove: LOAD * INLINE [ BadWords for the need this ]; InitialWords: LOAD lower(SubField(MapSubString('SpecialChars',[Summary]),' ')) as Word RESIDENT [Summaries]; ValidWords: LOAD Word AS NewWord RESIDENT InitialWords WHERE LEN(Word)>3 AND NOT Exists(BadWords,Word);
Problems:
Any help would be much appreciated! Thank you in advance!
Thank you for the pointers, I was able to get it fixed up. My biggest problem was I needed a TRIM() call in the NOT EXISTS section.
Try like this:
Load * inline "
";