Docker Parsey McParseface - gRPC - API
Installation
https://docs.docker.com/engine/installation/
make start
Troubles?
make rebuild-all
Will build a version of parsey mcparseface with patches to expose protobuffers on http://0.0.0.0:9000
Proto format
syntax = "proto3";
package cali.nlp;
import "syntaxnet/sentence.proto";
message ParseyRequest {
repeated string text = 1;
};
message ParseyResponse {
repeated syntaxnet.Sentence result = 1;
};
service ParseyService {
rpc Parse(ParseyRequest) returns (ParseyResponse);
}
OSX - Node Client
https://github.com/johndpope/DockerParseyAPI/tree/master/clients/node_client
ios - Client
https://github.com/johndpope/DockerParseyAPI/tree/master/clients/ios_client
Credits
Dockerfile for Myungchul Shin patches on syntaxnet https://github.com/dsindex/syntaxnet/blob/master/README_api.md
Original API work from David Mansfield https://github.com/dmansfield/parsey-mcparseface-api
TensorFlow
https://github.com/tensorflow/tensorflow/
Parsey McParseface / Syntaxnet
https://github.com/tensorflow/models/tree/master/syntaxnet
Protocol Buffers
https://developers.google.com/protocol-buffers/