Displaying 4 results from an estimated 4 matches for "stem_word".
2006 Apr 20
1
Odd stemmer behavior
I've noticed some strange results from the stemmer in the Ruby port:
irb(main):003:0> @stem.stem_word("anybody")
=> "anybodi"
irb(main):004:0> @stem.stem_word("swimmingly")
=> "swim"
irb(main):005:0> @stem.stem_word("fiercely")
=> "fierc"
irb(main):006:0> @stem.stem_word("fraudulently")
=> "fraudul"...
2008 Aug 16
1
python how do i stem words in python?
hi,
i am newbie to xapian and am trying to get started with it in python.
there is no stemmer.stem_word method in the latest python library. how
do i stem words before doing doc.add_posting?
is there any sample hello world code in python that i can use?
thanks a lot!
>>> stemmer = xapian.Stem('english')
>>> stemmer.
stemmer.__call__ stemmer.__reduce_ex__
st...
2007 Apr 17
3
Deprecation
...t more controversial
whether they should be removed now. On the other hand, the bindings
have been less stable than the core until now, and it would be easier to
remove them at the same time as removing the equivalent from the core.
Finally, I'm not convinced that the replacement for Stem::stem_word() of
using operator() will work for all the bindings - checking whether it
can be accessed from PHP, Ruby, Tcl8, and CSharp would be useful
(ideally, changing smoketest and the examples to demonstrate how). It
works in Python, though. ;-)
--
Richard
2005 Jun 09
1
Query parser and stemming of norwegian letters
Hello, can I get an explanation of the following.
Running the following code:
....
pqp=new QueryParser();
Stem stem("norwegian");
cout << "DEBUG " << stem.stem_word(_sXapian)<< endl;
pqp->set_stemmer(stem);
pqp->set_database(*_pdatabase);
pqp->set_default_op(Query::OP_AND);
//Set the enquire
Query p=pqp->parse_query(_sXapian);
cout << " Query " << string(bufSL) << p.g...