public void close() { if(m_tokenizer != null) m_tokenizer.cleanUp(); m_tokenizer = null; if(m_postagger != null) m_postagger.cleanUp(); m_postagger = null; if(m_ner != null) m_ner.cleanUp(); m_ner = null; if(m_lemmatizer != null) m_lemmatizer.cleanUp(); m_lemmatizer = null; }
instruments.getNamedEntityRecognizer().cleanUp();
instruments.getNamedEntityRecognizer().cleanUp();