CoreNLP Server

Overview

You need to set up CoreNLP Server (opens in a new tab) to parse English sentences.

Requirement

Usage (macOS)

Download CoreNLP and start the server.

$ wget https://nlp.stanford.edu/software/stanford-corenlp-4.5.7.zip
$ unzip stanford-corenlp-4.5.7.zip
$ cd stanford-corenlp-4.5.7
 
# Run the server using all jars in the current directory (e.g., the CoreNLP home directory)
$ java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9000 -timeout 15000

Check the IP address of the server.

$ ipconfig getifaddr en0
192.168.1.9

Specify the API URL of the CoreNLP Server in the application's parsing configuration screen. If the IP address of the server is 192.168.1.9, specify http://192.168.1.9:9000.

© 品川アプリ.RSS