tensorflow / tensorflow/models

[syntaxnet]: why it cannot parse this simple sentence 'The answer is 4.'

Open
#7,627 2 comments 0 reactions 1 assignee View on GitHub

@jaeyounkim is already working on this.

Since Jun 21, 2020.

models:research type:support
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

@calberti or @andorardo.

I'm using the vanilla docker image:
https://github.com/tensorflow/models/blob/master/research/syntaxnet/g3doc/CLOUD.md

docker run --rm -ti -p 8888:8888 tensorflow/syntaxnet bash

I found it cannot parse some very simple sentences:

root@2d5f62fd6d59:/opt/tensorflow/syntaxnet# echo 'The answer is 4.' |  bash syntaxnet/demo.sh
...
INFO:tensorflow:Read 1 documents
Input: The answer is 4 .
Parse:
. . ROOT

and cannot parse similar simple sentence: 'You are a lady.'

root@2d5f62fd6d59:/opt/tensorflow/syntaxnet# echo 'You are a lady.' |  bash syntaxnet/demo.sh
...
INFO:tensorflow:Read 1 documents
Input: You are a lady .
Parse:
. . ROOT

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.