page also shows the resulting sentences, and the count here is correct
because no results were returned.
I think Karen, below, might be right that it has something to do with
the encoding of the search string... I'll try working that angle and
see if I get anywhere with it.
Thank you all for your help...
On Apr 16, 5:41 am, Shawn Milochik <sh...@milochik.com> wrote:
> This doesn't appear to be a Django question. Your 'results' variable
> is being populated by checking the length of an
> nltk.text.ConcordanceIndex() instance. I'm not familiar with the nltk
> module, but I'm assuming you are at least a little, since you're using
> it. It appears that its length isn't useful in determining the count
> you want.
>
> Shawn
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment