Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

Noise and Thesaurus UDF

Question posted by: Dooza (Guest) on July 25th, 2008 03:45 PM
Can anyone help me create a function that will accept a string of words,
then remove any that are listed in a noise word table, add any that
match in the thesaurus table, and returned to whatever called it?

Cheers,

Steve
=?Utf-8?B?T2xkIFBlZGFudA==?='s Avatar
=?Utf-8?B?T2xkIFBlZGFudA==?=
Guest
n/a Posts
July 30th, 2008
02:25 AM
#2

Re: Noise and Thesaurus UDF


"Dooza" wrote:
Quote:
Can anyone help me create a function that will accept a string of words,
then remove any that are listed in a noise word table, add any that
match in the thesaurus table, and returned to whatever called it?


Doesn't sound overly hard. In what language? How big are the tables?

I hope you don't mean SQL. You could do it, but it would be ugly as sin.

OR.... If you are talking about SQL Server, and you are using SQL Server
2005 or later (even Express edition), you might consider writing the code in
C# or VB.NET and using a CLR-based SP.

Ehhh...I guess it wouldn't be *THAT* hard to write in old-fashioned T-SQL,
but it sure wouldn't be fast, I'm guessing.





Dooza's Avatar
Dooza
Guest
n/a Posts
July 30th, 2008
08:25 AM
#3

Re: Noise and Thesaurus UDF
Old Pedant wrote:
Quote:
>
"Dooza" wrote:
>
Quote:
>Can anyone help me create a function that will accept a string of words,
> then remove any that are listed in a noise word table, add any that
>match in the thesaurus table, and returned to whatever called it?

>
Doesn't sound overly hard. In what language? How big are the tables?
>
I hope you don't mean SQL. You could do it, but it would be ugly as sin.
>
OR.... If you are talking about SQL Server, and you are using SQL Server
2005 or later (even Express edition), you might consider writing the code in
C# or VB.NET and using a CLR-based SP.
>
Ehhh...I guess it wouldn't be *THAT* hard to write in old-fashioned T-SQL,
but it sure wouldn't be fast, I'm guessing.


Ahh you found my post before I cancelled it... it was destined for the
sql group not the asp group, and I have since crafted a t-sql solution
that works nicely for my situation. (am on SQL 2000 by the way)

Thanks anyway :)

Steve

 
Not the answer you were looking for? Post your question . . .
189,798 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors