Hi,

I'm using 1.4.3, but it looks like trunk has the same issue.  That is, it 
doesn't appear like the POSTaggerME class is thread safe, but perhaps I am 
misreading it.  I ask this, because it seems like the capturing of the 
bestSequence instance is a member variable and the tag and probs methods both 
access this method.  The reason I ask, is b/c I want to use this inside of 
Solr, but that is multithreaded and could be serving up a lot of requests and I 
certainly can't afford to load the model for each request.  The fix for this 
particular class seems relatively straightforward, at the cost of breaking back 
compatibility of the API (which is a whole other topic)

I haven't looked deeper, but are there any other classes that I should be aware 
of w/ thread safety that people can think of?

-Grant

Reply via email to