Ejemplo n.º 1
0
    def __init__(self, host, port, timeout):
        StanfordCoreNLP.__init__(self,
                                 path_or_host='http://{}'.format(host),
                                 port=port,
                                 timeout=timeout)

        # in case the server is still cold, let's warm it up
        self.get_deps("Let's get started here")
 def __init__(self, host=UKP_SERVER, port=9000, timeout=1500):
     StanfordCoreNLP.__init__(self, host, port, timeout=timeout)