Noise words

Post Reply
jgdoke
Posts: 167
Joined: Wed Jul 14, 2004 10:52 am

Noise words

Post by jgdoke »

Resolve Phrase Noise Words Setting.


No indication of what words are "Noise" words.

List please...
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Noise words

Post by mark »

a about after again ago all almost also
always am an and another any anybody
anyhow anyone anything anyway are as at
away back be became because been before
being between but by came can cannot come
could did do does doing done down each
else even ever every everyone everything for
from front get getting go goes going gone
got gotten had has have having he her
here him his how i if in into is
isn't it just last least left less let
like make many may maybe me mine more
most much my myself never no none not
now of off on one onto or our ourselves
out over per put putting same saw see
seen shall she should so some somebody
someone something stand such sure take than
that the their them then there these
they this those through till to too two
unless until up upon us very was we
went were what what's whatever when where
whether which while who whoever whom whose
why will with within without won't would
wouldn't yet you your
jgdoke
Posts: 167
Joined: Wed Jul 14, 2004 10:52 am

Noise words

Post by jgdoke »

Thanks this helps my understanding.

John
mjacobson
Posts: 204
Joined: Fri Feb 08, 2002 3:35 pm

Noise words

Post by mjacobson »

Is there a vortex global variable that I can use in a rex expression against this list?

I would like to pre-process a query string and get a list of any noise words that the person is trying to use in their search terms.

<rex $query $noisewords>
<if $ret ne ""><$noisemsg=$ret></if>

This way I can let them know that some of their terms was not used in the search.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Noise words

Post by mark »

One way would be to take the list above and turn it into a list of rex expressions then compare to words broken out from the query.

<$noise=a an the ...>
<split nonempty "\space" $query></split><$words=$ret>
<sandr ".+" ">>=\1=>>=" $noise>
<rex $ret $words>
<loop $ret>
Ignored: $ret
</loop>
Post Reply