sinantie / NeuralAmr

Sequence-to-sequence models for AMR parsing and generation
http://www.ikonstas.net/code
69 stars 17 forks source link

BUILD FAILED #16

Open Cartus opened 5 years ago

Cartus commented 5 years ago

Hi, Thanks for the great work!

When I try to run the script for anonymization: ./rebuild_AmrUtils.sh

I have this build failed:

-do-compile: [mkdir] Created dir: /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/build/empty [mkdir] Created dir: /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/build/generated-sources/ap-source-output [javac] Compiling 38 source files to /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 8 [javac] /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/src/util/corpus/wrappers/AmrAlignment.java:121: error: ';' expected [javac] boolean flag = true [javac] ^ [javac] 1 error [javac] 1 warning

BUILD FAILED /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/nbproject/build-impl.xml:954: The following error occurred while executing this line: /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/nbproject/build-impl.xml:294: Compile failed; see the compiler error output for details.

After I add the ';' in the AmrAlignment.java file, another error reported:

-do-compile: [mkdir] Created dir: /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/build/empty [mkdir] Created dir: /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/build/generated-sources/ap-source-output [javac] Compiling 38 source files to /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 8 [javac] /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/src/util/apps/AmrUtils.java:514: error: incompatible types: Enumeration cannot be converted to Enumeration [javac] Enumeration traversal = graph.preorderEnumeration(); [javac] ^ [javac] /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/src/util/corpus/wrappers/Amr.java:303: error: incompatible types: Enumeration cannot be converted to Enumeration [javac] Enumeration children = node.children(); [javac] ^ [javac] /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/src/util/corpus/wrappers/AmrLinearize.java:77: error: incompatible types: Enumeration cannot be converted to Enumeration [javac] Enumeration children = root.children(); [javac] ^ [javac] /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/src/util/corpus/wrappers/AmrLinearize.java:86: error: incompatible types: Enumeration cannot be converted to Enumeration [javac] Enumeration grandChildren = child.children(); [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 errors [javac] 1 warning

BUILD FAILED /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/nbproject/build-impl.xml:954: The following error occurred while executing this line: /home/zhijiang/Desktop/DCGCN/NeuralAmr/java/AmrUtils/nbproject/build-impl.xml:294: Compile failed; see the compiler error output for details.