Giter VIP home page Giter VIP logo

dockerparseymcparsefaceapi's Introduction

HELP WANTED

FYI - this will clone / build docker parsey - it can take > 60 mins to compile.
If you're intention is to simply tokenize sentences - you may get a lot of mileage out of NLTK.
http://www.nltk.org/

After faffing around for weeks getting this to compile - I think a smarter way forward is to spit out a binary and include in this repo as opposed to building all sources.

If someone can help script this downloading / pegged to a git commit I'd welcome this as a PR.

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

dockerparseymcparsefaceapi's People

Contributors

danielsmith-eu avatar johndpope avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dockerparseymcparsefaceapi's Issues

Error during parseyapi.sh execution: Failed to load Skylark extension

I can't install the image, it fails with this error:

ERROR: Failed to load Skylark extension '//tensorflow/tensorflow:workspace.bzl'.
It usually happens when the repository is not defined prior to being used.
Maybe repository '' was defined later in your WORKSPACE file?
ERROR: cycles detected during target parsing.

Build breaks because of changes in TensorFlow dependency

The tensorflow build is broken:

ERROR: /work/serving/tensorflow_serving/workspace.bzl:33:3: no such package '@zlib_archive//': Error downloading from http://zlib.net/zlib-1.2.8.tar.gz to /work/serving/bazel_root/e9ba25142de695592fea3596c76f6c02/external/zlib_archive: Error downloading http://zlib.net/zlib-1.2.8.tar.gz to /work/serving/bazel_root/e9ba25142de695592fea3596c76f6c02/external/zlib_archive/zlib-1.2.8.tar.gz

You may want to have a look at:
tensorflow/tensorflow#6594

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.