nrcpp / NltkNet

NLTK library wrapper for .NET
MIT License
46 stars 8 forks source link

INIT hangs #3

Closed jacobgre closed 5 years ago

jacobgre commented 5 years ago

When I run NLTK.INIT the application hangs.

nrcpp commented 5 years ago

When I run NLTK.INIT the application hangs.

Did you try to step-in with debugger inside Nltk.Init? Also verify that paths that you pass to Init exists.

jacobgre commented 5 years ago

I am running it from visual studio and it's not letting me step inside. The paths are valid, and it does run but takes 6 min to execute the Nltk.Init. Is there any further examples of using this with c#?

nrcpp commented 5 years ago

@jacobgre I am not sure what causes perfomance issues on your side. On mine it took 5 seconds to pass Init method when running from VS. Probably you have lots of third-party python libraries / or slow PC / or resource consuming Visual Studio add-ins which slows down running application / even security software may block program from running for a while / whatever.

jacobgre commented 5 years ago

Thanks for the direction. Got me to poking in the right places and got it fixed. I appreciate the help.