Hi everbody,

I am trying to use StandardTokenizer, with no success:

Python 2.4.1 (#2, Jul 12 2005, 09:22:25)
[GCC 4.0.1 (Debian 4.0.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyLucene
>>> import StringIO
>>> s = StringIO.StringIO("henk denk schenk")
>>> henk = PyLucene.StandardTokenizer(s)
>>> repr(henk)
'<PyLucene.StandardTokenizer; proxy of C++ org::apache::lucene::analysis::standard::StandardTokenizer instance at <PyCObject object at 0xb6872110>>'
>>> henk.next()

Python now hangs in:
fotomarburg:~# strace -p 9328
Process 9328 attached - interrupt to quit
futex(0x81a7fb8, FUTEX_WAIT, 0, NULL

What am I doing wrong?


Best,
Martin




_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to