i don't know enough django, but i worked with nltk.
NLTK is a very heavy module, lagging on import is expected, especially if you're using certain modules.

AFAIK you should `import' it only once, on server (re)start, and it costs about 10-30 secs (did you optimize with *pyc or *pyo?). unless you're short on RAM... but i hope that's not the case.

NLTK has also many sub-modules, which can and should be disabled, for performance.

Does it hang elsewhere (apart from server startup)?
does it have a longer delay than 20-30 secs.?


On 1/31/2013 6:44 PM, Avishalom Shalit wrote:
As title.

It just silently hangs.

as far as i found on google, other people have ran into it,
but nobody posted a solution.

anybody overcame this before ?

thanks


-- vish



_______________________________________________
Python-il mailing list
[email protected]
http://hamakor.org.il/cgi-bin/mailman/listinfo/python-il


_______________________________________________
Python-il mailing list
[email protected]
http://hamakor.org.il/cgi-bin/mailman/listinfo/python-il

לענות