Skip to content

CoreNLP client restarts even after shutting down #1174

@samanthvishwas

Description

@samanthvishwas

Hello,

I am using stanza corenlp to detect NER's in the text by starting a corenlp server using CoreNLPClient .Once the entities are found and I try to shutdown/stop the server using the stop(also tried to shut down using the "with" statement) function on the object created using CoreNLPClient ,I get a message "CoreNLP Server is shutting down.". But corenlp server restarts automatically when I try to use multiprocessing on the rest of the code.

I have kept the starting and stopping of the server in the main function and only when these are executed the multiprocessing code is executed .

Can anyone help me out with an efficient way of stopping the server ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions