The relationship between "behavior" and "behavioral" is derivational.
MarkLogic
provides an inflectional stemmer, so it never collapses these two, even
with
advanced stemming. Roughly speaking, an inflectional stemmer collapses
words
in the same class (verb forms, say), while a derivational stemmer crosses
class boundaries (from verb form to noun form, say).
If you want to do a search that will find both these, the thing to do is
set up
a thesaurus and use it in building your query. See the API docs for the
thesaurus
functions.
//Mary
On Wed, 19 Aug 2009 18:44:57 -0700, Tim Meagher <[email protected]> wrote:
Hi folks,
I'm using the example in the documentation to determine if the two words
"behavior" and "behavioral" have the same stem:
...snip...
It is returning false even with advanced stemming enabled. I'm
wondering if
there is a way to get phase with these words to match? Is it possible to
add stemmed words to teh ML database configuration?
Thank you!
Tim Meagher - AAOM Consulting
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general