The thread How to shutdown Stanford CoreNLP Redwood logging? supposedly resolved my question in Java. I would like to do the same in MATLAB, but the code(s) given in that thread doesn't work. Please suggest a complete solution, starting with what to import, setting properties, etc.
My code is the following:
import java.io.*;
import edu.stanford.nlp.tagger.maxent.MaxentTagger;
tagger = MaxentTagger('./english-left3words-distsim.tagger');
which logs on the command line:
Reading POS tagger model from ./english-left3words-distsim.tagger ... done [3.6 sec].
taken from CreateTagger.m in my package: https://github.com/jzsfvss/POSTaggerSML.