You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class LemmatizationAnnotator implements edu.stanford.nlp.pipeline.Annotator {
private static final Option<String> NULL_OPTION = scala.Option.apply(null);
private static final MyStem mystemAnalyzer =
new Factory("-ld --format json").newMyStem("3.0", Option.<File>empty()).get();
The issue that when I run mvn clean package for my App, which uses this class like new LemmatizationAnnotator(), the test phase also runs and test environment is built every time, which means MystemAnalyzer is created every time, as well as mystem.exe process runs every time (I'm working on Windows). The issue that Surefire waits for every non-daemon process for my app to finish, and mystem.exe doesn't finish after main thread exits. So my mvn clean package just hangs and waits for MyStem to exit. Is this an issue for wrapper or should I figure it out somehow by myself?
The text was updated successfully, but these errors were encountered:
Gut feeling tells me this does have something to do with the wrapper. Unfortunately, I don't have the resources to investigate this in the nearest weeks, so I'd be very grateful if you tried to figure it out yourself and maybe explained what the trouble was and how to fix it.
Hi, I've faced the same problem. I've made a simple token filter for elasticsearch/lucene, that calls mystem. Could you advise the way how to investigate that?
I have a code, similar to that in example:
The issue that when I run mvn clean package for my App, which uses this class like
new LemmatizationAnnotator()
, the test phase also runs and test environment is built every time, which means MystemAnalyzer is created every time, as well as mystem.exe process runs every time (I'm working on Windows). The issue that Surefire waits for every non-daemon process for my app to finish, and mystem.exe doesn't finish after main thread exits. So my mvn clean package just hangs and waits for MyStem to exit. Is this an issue for wrapper or should I figure it out somehow by myself?The text was updated successfully, but these errors were encountered: