YePpHa / DockerParseyMcParsefaceAPI

Serve the Parsey McParseface API using TF Serving infrastructure (Protocol buffers)

Home Page:https://github.com/tensorflow/serving

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Parsey McParseface - gRPC - API

Animation

https://2.bp.blogspot.com/-fqtmVS97tOs/VzTEAI9BQ8I/AAAAAAAAA_U/xPj0Av64sGseS0rF4Z1BbhmS77J-HuEvwCLcB/s640/image04.gif

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

https://github.com/johndpope/DockerParseyMcParsefaceAPI/blob/master/clients/node_client/api/syntaxnet/sentence.proto

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

Alt text

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/

Docker

https://www.docker.com/

NLTK API Server

https://github.com/vipul-sharma20/nltk-api-server

About

Serve the Parsey McParseface API using TF Serving infrastructure (Protocol buffers)

https://github.com/tensorflow/serving

License:Apache License 2.0


Languages

Language:Swift 97.6%Language:Protocol Buffer 1.9%Language:Makefile 0.4%Language:JavaScript 0.1%