Coder Social home page Coder Social logo

conll-2012's People

Contributors

nitishgupta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

conll-2012's Issues

SyntaxError: invalid syntax

Hello, I have some problems when using this scripts. Here are the errors I get, can you give some advice, very thanks to you!

-> python conll-2012/v?/scripts/skeleton2conll.py /home/leisurex/SRL/workspace/AAAI-Seq2seq4span/data/ontonotes-release-5.0/data/files/data/arabic/annotations/nw/ann/01/ann_0193.parse conll-2012/v4/data/train/data/arabic/annotations/nw/ann/01/ann_0193.v4_gold_skel conll-2012/v4/data/train/data/arabic/annotations/nw/ann/01/ann_0193.v4_gold_conll --text
File "conll-2012/v3/scripts/skeleton2conll.py", line 392
except InvalidSexprException, e:
^
SyntaxError: invalid syntax
Exit code: 1
-> python conll-2012/v?/scripts/skeleton2conll.py /home/leisurex/SRL/workspace/AAAI-Seq2seq4span/data/ontonotes-release-5.0/data/files/data/arabic/annotations/nw/ann/01/ann_0120.parse conll-2012/v4/data/development/data/arabic/annotations/nw/ann/01/ann_0120.v4_auto_skel conll-2012/v4/data/development/data/arabic/annotations/nw/ann/01/ann_0120.v4_auto_conll --text
File "conll-2012/v3/scripts/skeleton2conll.py", line 392
except InvalidSexprException, e:
^
SyntaxError: invalid syntax
Exit code: 1
-> python conll-2012/v?/scripts/skeleton2conll.py /home/leisurex/SRL/workspace/AAAI-Seq2seq4span/data/ontonotes-release-5.0/data/files/data/arabic/annotations/nw/ann/01/ann_0179.parse conll-2012/v4/data/test/data/arabic/annotations/nw/ann/01/ann_0179.v4_gold_skel conll-2012/v4/data/test/data/arabic/annotations/nw/ann/01/ann_0179.v4_gold_conll --text
File "conll-2012/v3/scripts/skeleton2conll.py", line 392
except InvalidSexprException, e:
^
SyntaxError: invalid syntax
Exit code: 1
-> python conll-2012/v?/scripts/skeleton2conll.py /home/leisurex/SRL/workspace/AAAI-Seq2seq4span/data/ontonotes-release-5.0/data/files/data/english/annotations/mz/sinorama/10/ectb_1062.parse conll-2012/v4/data/train/data/english/annotations/mz/sinorama/10/ectb_1062.v4_auto_skel conll-2012/v4/data/train/data/english/annotations/mz/sinorama/10/ectb_1062.v4_auto_conll -edited --text
File "conll-2012/v3/scripts/skeleton2conll.py", line 392
except InvalidSexprException, e:
^
SyntaxError: invalid syntax
Exit code: 1
-> python conll-2012/v?/scripts/skeleton2conll.py /home/leisurex/SRL/workspace/AAAI-Seq2seq4span/data/ontonotes-release-5.0/data/files/data/english/annotations/mz/sinorama/10/ectb_1030.parse conll-2012/v4/data/development/data/english/annotations/mz/sinorama/10/ectb_1030.v4_gold_skel conll-2012/v4/data/development/data/english/annotations/mz/sinorama/10/ectb_1030.v4_gold_conll -edited --text
File "conll-2012/v3/scripts/skeleton2conll.py", line 392
except InvalidSexprException, e:
^
SyntaxError: invalid syntax
Exit code: 1
-> python conll-2012/v?/scripts/skeleton2conll.py /home/leisurex/SRL/workspace/AAAI-Seq2seq4span/data/ontonotes-release-5.0/data/files/data/english/annotations/mz/sinorama/10/ectb_1029.parse conll-2012/v4/data/test/data/english/annotations/mz/sinorama/10/ectb_1029.v4_gold_skel conll-2012/v4/data/test/data/english/annotations/mz/sinorama/10/ectb_1029.v4_gold_conll -edited --text
File "conll-2012/v3/scripts/skeleton2conll.py", line 392
except InvalidSexprException, e:
^
SyntaxError: invalid syntax
Exit code: 1
-> python conll-2012/v?/scripts/skeleton2conll.py /home/leisurex/SRL/workspace/AAAI-Seq2seq4span/data/ontonotes-release-5.0/data/files/data/chinese/annotations/mz/sinorama/10/chtb_1056.parse conll-2012/v4/data/train/data/chinese/annotations/mz/sinorama/10/chtb_1056.v4_gold_skel conll-2012/v4/data/train/data/chinese/annotations/mz/sinorama/10/chtb_1056.v4_gold_conll --text
File "conll-2012/v3/scripts/skeleton2conll.py", line 392
except InvalidSexprException, e:
^
SyntaxError: invalid syntax
Exit code: 1
-> python conll-2012/v?/scripts/skeleton2conll.py /home/leisurex/SRL/workspace/AAAI-Seq2seq4span/data/ontonotes-release-5.0/data/files/data/chinese/annotations/mz/sinorama/10/chtb_1020.parse conll-2012/v4/data/development/data/chinese/annotations/mz/sinorama/10/chtb_1020.v4_gold_skel conll-2012/v4/data/development/data/chinese/annotations/mz/sinorama/10/chtb_1020.v4_gold_conll --text
File "conll-2012/v3/scripts/skeleton2conll.py", line 392
except InvalidSexprException, e:
^
SyntaxError: invalid syntax
Exit code: 1
-> python conll-2012/v?/scripts/skeleton2conll.py /home/leisurex/SRL/workspace/AAAI-Seq2seq4span/data/ontonotes-release-5.0/data/files/data/chinese/annotations/mz/sinorama/10/chtb_1029.parse conll-2012/v4/data/test/data/chinese/annotations/mz/sinorama/10/chtb_1029.v4_gold_skel conll-2012/v4/data/test/data/chinese/annotations/mz/sinorama/10/chtb_1029.v4_gold_conll --text
File "conll-2012/v3/scripts/skeleton2conll.py", line 392
except InvalidSexprException, e:
^
SyntaxError: invalid syntax
Exit code: 1
cat: 'conll-2012/v4/data/development/data/english/annotations////.v4_auto_conll': No such file or directory
cat: 'conll-2012/v4/data/train/data/english/annotations////.v4_auto_conll': No such file or directory
cat: 'conll-2012/v4/data/test/data/english/annotations////.v4_gold_conll': No such file or directory
Minimizing dev.english.v4_auto_conll
Wrote 0 documents to dev.english.jsonlines
Minimizing train.english.v4_auto_conll
Wrote 0 documents to train.english.jsonlines
Minimizing test.english.v4_gold_conll
Wrote 0 documents to test.english.jsonlines

could not find the gold parse

Tried running the scripts but had the error:
could not find the gold parse [/shared/corpora/corporaWeb/multi-mode/multi/ontonotes-release-5.0/data/files/data/arabic/annotations/nw/ann/01/ann_0103.parse] in the ontonotes distribution ... exiting ...

The errors with the code to process dataset

Hi
I really appreciate your help, I have a deadline and would greatly be thankful to assist me process this dataset. thanks

SyntaxError: invalid syntax
Exit code: 1
conll-2012/v3/scripts/skeleton2conll.sh: line 93: break: only meaningful in a for', while', or until' loop -> python conll-2012/v?/scripts/skeleton2conll.py /resource/database/ontonotes_rel_5/data/files/data/chinese/annotations/wb/e2c/00/e2c_0009.parse conll-2012/v9/data/test/data/chinese/annotations/wb/e2c/00/e2c_0009.v9_auto_skel conll-2012/v9/data/test/data/chinese/annotations/wb/e2c/00/e2c_0009.v9_auto_conll --text File "conll-2012/v3/scripts/skeleton2conll.py", line 392 except InvalidSexprException, e: ^ SyntaxError: invalid syntax Exit code: 1 conll-2012/v3/scripts/skeleton2conll.sh: line 93: break: only meaningful in a for', while', or until' loop
cat: 'conll-2012/v4/data/development/data/english/annotations////.v4_auto_conll': No such file or directory
cat: 'conll-2012/v4/data/train/data/english/annotations////.v4_auto_conll': No such file or directory
cat: 'conll-2012/v4/data/test/data/english/annotations////.v4_gold_conll': No such file or directory
Minimizing dev.english.v4_auto_conll
Wrote 0 documents to dev.english.jsonlines
Minimizing train.english.v4_auto_conll
Wrote 0 documents to train.english.jsonlines
Minimizing test.english.v4_gold_conll
Wrote 0 documents to test.english.jsonlines
mv: cannot create directory '/conll-2012': Permission denied
mv: cannot create regular file '/train.english.jsonlines': Permission denied
mv: cannot create regular file '/dev.english.jsonlines': Permission denied
mv: cannot create regular file '/test.english.jsonlines': Permission denied

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.