Giter VIP home page Giter VIP logo

plowman / python-mcparseface Goto Github PK

View Code? Open in Web Editor NEW
34.0 34.0 8.0 167.46 MB

Python McParseface: A way to call Parsey McParseface programmatically in Python

License: Apache License 2.0

Python 20.64% Shell 0.75% C++ 47.34% Makefile 0.33% Protocol Buffer 2.43% Ruby 0.22% Batchfile 0.01% Java 7.70% CMake 0.18% M4 0.07% Objective-C 7.16% C# 5.07% Vim Script 0.01% Emacs Lisp 0.02% Go 0.02% JavaScript 1.09% C 2.13% Objective-C++ 0.01% Swift 0.06% Jupyter Notebook 4.77%

python-mcparseface's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

python-mcparseface's Issues

data base setting

If I setup a database connect for this mode what would be the columns name and linking ?

Print syntax

import pyparseface
Traceback (most recent call last):
File "", line 1, in
File "/hbase/Insync/git/models/syntaxnet/pyparseface.py", line 254
print tr(input_dict)
^
SyntaxError: invalid syntax

about tensorflow

I can successfully run the file of pyparseface with removing tensorflow I installed before. It seems that the model can only work with it's inner tensorflow, but I need to use tensorflow in other modules. So, do you have any idea on how to use installed tensorflow to run the syntaxnet? Waiting for your anwsering!

ImportError: cannot import name tf_logging

I can successfuly run " bazel test --local_resources 2048,.5,1.0 --genrule_strategy=standalone syntaxnet/... util/utf8/..." with 17 tests pass. Also I succeed to run "echo 'Bob brought the pizza to Alice.' | syntaxnet/demo.sh". But when I run the command "python pyparseface.py "in terminal, it print as "I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:99] Couldn't open CUDA library libcudnn.so. LD_LIBRARY_PATH:
I tensorflow/stream_executor/cuda/cuda_dnn.cc:1562] Unable to load cuDNN DSO
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally
Traceback (most recent call last):
File "pyparseface.py", line 19, in
from tensorflow.python.platform import tf_logging as logging
ImportError: cannot import name tf_logging
"
it is actually that the python code also failed to do operations as follows:
"from syntaxnet import sentence_pb2, structured_graph_builder
from syntaxnet.ops import gen_parser_ops"
Do you know why?

ImportError: cannot import name structured_graph_builder

Hi, I have the following error when running the script:

File "pyparseface.py", line 20, in
from syntaxnet import sentence_pb2, structured_graph_builder
ImportError: cannot import name structured_graph_builder

I understand that structured_graph_builder is part of syntaxnet? Do i need to run my script within a certain folder? Many thanks in advance

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.