Public Repository

Last pushed: a year ago
Short Description
Google's SyntaxNet in a Docker image
Full Description

SyntaxNet

Google's SyntaxNet is a framework for what’s known in academic circles as a syntactic parser, which is a key first component in many NLU systems. Given a sentence as input, it tags each word with a part-of-speech (POS) tag that describes the word's syntactic function, and it determines the syntactic relationships between words in the sentence, represented in the dependency parse tree.

This Docker image is an attempt to make it easy for everyone to try out SyntaxNet. Dockerfile used here, is located at Github repo.

Usage

echo "What's the Weather like today?" | docker run -i --rm r8kr/syntaxnet

Output

Input: What 's the Weather like today ?
Parse:
What WP ROOT
 +-- 's VBZ cop
 +-- Weather NNP nsubj
 |   +-- the DT det
 |   +-- like IN prep
 |       +-- today NN pobj
 +-- ? . punct
Docker Pull Command
Owner
r8kr

Comments (0)