![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This one seems to be really tricky, or my mind might be on vacation, but I believe it's the former. Essentially, I'm attempting to implement a stop word lookup table. I have a table (called Keyphrases) with a field called phrase. I also have a table (called StopWords) with a field called word. I'm trying to create a calculation field in Keyphrases (e.g.Keyphrases:c_color) that is set to black (for example) if any of the *words* in Keyphrases hrase exists in StopWords:word.e.g. if my StopWords table contained the values in the word field: apple orange pear and my Keyphrases table contained in the phrase field: apple tree hazelnut tree peach tree pear tree red apples pear pie then the corresponsing Keyphrases:c_color fields would be: apple tree black hazelnut tree peach tree pear tree black red apples pear pie black (red apples wouldn't match, since I need to match on full words, not partials... apple <> apples) Would anyone know the spell for this? I really, really need to know asap, is it ever any other way? You guys always seem to know a trick around the seemingly impossible. thanks folks. B |
#3
| |||
| |||
|
|
This one seems to be really tricky, or my mind might be on vacation, but I believe it's the former. Essentially, I'm attempting to implement a stop word lookup table. I have a table (called Keyphrases) with a field called phrase. I also have a table (called StopWords) with a field called word. I'm trying to create a calculation field in Keyphrases (e.g.Keyphrases:c_color) that is set to black (for example) if any of the words in Keyphrases hrase exists in StopWords:word.e.g. if my StopWords table contained the values in the word field: apple orange pear and my Keyphrases table contained in the phrase field: apple tree hazelnut tree peach tree pear tree red apples pear pie then the corresponsing Keyphrases:c_color fields would be: apple tree black hazelnut tree peach tree pear tree black red apples pear pie black (red apples wouldn't match, since I need to match on full words, not partials... apple <> apples) Would anyone know the spell for this? I really, really need to know asap, is it ever any other way? You guys always seem to know a trick around the seemingly impossible. thanks folks. B |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
I found a great solution to this online, which solves my problem |
#6
| |||
| |||
|
|
I found a great solution to this online, which solves my problem You didn't tell us what was the solution you found. Be nice with us. Remi-Noel |
hrase, ' ', '\r')
#7
| |||
| |||
|
|
I found a great solution to this online, which solves my problem You didn't tell us what was the solution you found. Be nice with us. Remi-Noel sure I did ;o) : B |
#8
| |||
| |||
|
|
NightWing has a demo for highlighting specific words in text which may be helpful: http://www.nightwing.com.au/FileMake...7/demo701.html Matt On 6/20/2005, grasshopper wrote: This one seems to be really tricky, or my mind might be on vacation, but I believe it's the former. Essentially, I'm attempting to implement a stop word lookup table. I have a table (called Keyphrases) with a field called phrase. I also have a table (called StopWords) with a field called word. I'm trying to create a calculation field in Keyphrases (e.g.Keyphrases:c_color) that is set to black (for example) if any of the words in Keyphrases hrase exists in StopWords:word.e.g. if my StopWords table contained the values in the word field: apple orange pear and my Keyphrases table contained in the phrase field: apple tree hazelnut tree peach tree pear tree red apples pear pie then the corresponsing Keyphrases:c_color fields would be: apple tree black hazelnut tree peach tree pear tree black red apples pear pie black (red apples wouldn't match, since I need to match on full words, not partials... apple <> apples) Would anyone know the spell for this? I really, really need to know asap, is it ever any other way? You guys always seem to know a trick around the seemingly impossible. thanks folks. B |
![]() |
| Thread Tools | |
| Display Modes | |
| |