I cannot import these two python files from syntaxnet and I cannot find them either. Does anyone know how to solve this issue? Thanks!
from syntaxnet.ops import gen_parser_ops from syntaxnet import sentence_pb2
I cannot import these two python files from syntaxnet and I cannot find them either. Does anyone know how to solve this issue? Thanks!
from syntaxnet.ops import gen_parser_ops from syntaxnet import sentence_pb2
Those two are imported in syntaxnet/syntaxnet/conll2tree.py
. You can get their locations by adding lines like below in conll2tree.py
:
import os
print os.path.realpath(gen_parser_ops.__file__)
and then run the demo.sh
as in the installation guide.