uwnlp / neuralccg Goto Github PK
View Code? Open in Web Editor NEWCodebase for Global Neural CCG Parsing with Optimality Guarantees
License: Apache License 2.0
Codebase for Global Neural CCG Parsing with Optimality Guarantees
License: Apache License 2.0
Hi,
I've been attempting to get the project installed and set up over the last few days and noticed that you're missing a few things from your dependencies list and you have at least one issue with the listed dependencies.
I have yet to get the full project working, but here's what I have so far.
Missing:
Protobuf - The version of the protoc-compiler you can get from apt-get is incompatible with the latest version of Bazel and will not recognize the protobuf files properly. The fix is to get the latest version of this compiler, link and instructions are here: https://github.com/google/protobuf/blob/master/src/README.md
Incorrect:
Bazel - theBazel install instructions you have listed under dependencies does not install correctly for Ubuntu 16.04 for some reason. You can correct this by installing Bazel with apt-get (https://bazel.build/versions/master/docs/install-ubuntu.html)
I'll update with other pieces as I find them, and will hopefully get this working by the end of the day.
The good news is the maven project in the neuralccg directory packages just fine.
John
When I run the setup.sh, there are errors shown below:
ERROR: /home/lsl/.cache/bazel/_bazel_lsl/56c7e50a00d6cbebb347ec04f008972d/external/cnn/BUILD.bazel:3:1: no such package '@eigen//': Missing unknown aaaa8c33025952bc8ef8c5c946fe8ab9cf45bf5d and referenced by '@cnn//:cnn-lib'.
ERROR: Analysis of target '//neuralccg:libdecoder.so' failed; build aborted.
INFO: Elapsed time: 111.077s
cp: cannot stat 'bazel-bin/neuralccg/libdecoder.so': No such file or directory
cp: cannot stat 'bazel-bin/neuralccg/libdecoder.so': No such file or directory
I guess it is compatibility issues. Could you give any suggestions on how to resolve this?
Thank you in advance!
Hi,
Our university has the disc copies of the CCG bank and I don't have access to the online versions of the data. I pulled the data from the call signature that appears in the link, and the data that I've gathered appears to be the same format as the sample provided in the link. I can't tell from the code or the readme what the directory structure of "ccgbank_1_1" is. So far, I've tried putting the "data" directory that I found in the ccgbank downlown in that directory, I have also tried putting the AUTO/HTML/LEX/PARG/RAW directories in the ccgbank_1_1 directory as well.
Any guidance you could provide would be extremely helpful.
I'm consistently getting the following error:
12:54:10 | ERROR | c.g.k.p.core.Stage | Job failed.
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1967) ~[na:1.8.0_121]
at edu.uw.easysrl.corpora.CCGBankDependencies.getDependencyParseCCGBank(CCGBankDependencies.java:386) ~[EasySRL-d69cb6e7d99595372df8dda65b7e975b21f18c37.jar:na]
at edu.uw.easysrl.corpora.CCGBankDependencies.getDependencyParses(CCGBankDependencies.java:364) ~[EasySRL-d69cb6e7d99595372df8dda65b7e975b21f18c37.jar:na]
at edu.uw.easysrl.corpora.CCGBankDependencies.loadCorpus(CCGBankDependencies.java:349) ~[EasySRL-d69cb6e7d99595372df8dda65b7e975b21f18c37.jar:na]
at edu.uw.neuralccg.task.CCGBankReaderTask.parseStream(CCGBankReaderTask.java:19) ~[classes/:na]
at edu.uw.neuralccg.task.CCGBankReaderTask.run(CCGBankReaderTask.java:34) ~[classes/:na]
at com.github.kentonl.pipegraph.core.Stage.run(Stage.java:195) ~[pipegraph-bb781b4c3496e98c337a030d98b81f31490ab0f4.jar:na]
at com.github.kentonl.pipegraph.runner.AsynchronousPipegraphRunner.run(AsynchronousPipegraphRunner.java:43) [pipegraph-bb781b4c3496e98c337a030d98b81f31490ab0f4.jar:na]
at com.github.kentonl.pipegraph.runner.AsynchronousPipegraphRunner.lambda$null$1(AsynchronousPipegraphRunner.java:61) [pipegraph-bb781b4c3496e98c337a030d98b81f31490ab0f4.jar:na]
at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_121]
Currently, the server lil.cs.washington.edu for external data is not available. Thanks,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.