|
From: <mi...@st...> - 2005-09-20 12:12:46
|
Wido,
Michael Str=F6der wrote:
> Wido Depping wrote:
>=20
>> Attached are the updated testcase file and my improved split_tokens()
>> function.
>=20
> Your patches were added to CVS.
This new implementation of split_tokens() deletes the spaces from DESC
schema attributes.
I looked at the code and the main problem is right at the beginning of
the function:
tokenList =3D s.split(" ")
From my understanding there's no solution to save the spaces in DESC
when using this code. I think there could be a better solution based on
using keywordDict to find the relevant sections in the string. Still
there would be some issues detecting whether the keyword appears inside
colons.
Ciao, Michael.
|