annotate - Annotating a corpus using Syntaxnet -


i trying annotate corpus using syntaxnet. added following lines in end of /models/syntaxnet/syntaxnet/models/parsey_mcparseface/context.pbtxt file:

input { name: 'input_file' record_format: 'english-text' part { file_pattern: '/home/melvyn/text.txt' } } output { name: 'output_file' record_format: 'english-text' part { file_pattern: '/home/melvyn/text-tagged.txt' } } 

when run command:

./demo.sh --input=input_file --output=output_file 

i getting:

./demo.sh: line 31: bazel-bin/syntaxnet/parser_eval: no such file or directory ./demo.sh: line 43: bazel-bin/syntaxnet/parser_eval: no such file or directory ./demo.sh: line 55: bazel-bin/syntaxnet/conll2tree: no such file or directory 

according answer given ## here ## changed demo.sh file , errors say:

[libprotobuf error external/tf/google/protobuf/src/google/protobuf/text_format.cc:291] error parsing text-format syntaxnet.taskspec: 200:8: message type "syntaxnet.taskoutput" has no field named "part". e external/tf/tensorflow/core/framework/op_segment.cc:53] create kernel failed: invalid argument: not parse task context @ syntaxnet/models/parsey_mcparseface/context.pbtxt e external/tf/tensorflow/core/common_runtime/executor.cc:333] executor failed create kernel. invalid argument: not parse task context @ syntaxnet/models/parsey_mcparseface/context.pbtxt [[node: documentsource = documentsourcebatch_size=32, corpus_name="stdin-conll", task_context="syntaxnet/models/parsey_mcparseface/context.pbtxt", _device="/job:localhost/replica:0/task:0/cpu:0"]] 

what possible solution?

though it's not think not running shell script root directory. please try running per instructions mentioned here

i hope helps.