Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in ./anonParallel_java.sh - No such file or directory #12

Open
sidsvash26 opened this issue Dec 19, 2018 · 1 comment
Open

Error in ./anonParallel_java.sh - No such file or directory #12

sidsvash26 opened this issue Dec 19, 2018 · 1 comment

Comments

@sidsvash26
Copy link

I have "LDC2015E86" data and I am trying to run the pre-processing on that data.

I changed the following line in settings.properties as suggested in the directions to point to the correct data.
amr.down.base = data/alignments/split/

Then I ran the following to run the server:
./nerServer.sh&

which outputs:

Adding annotator tokenize
Adding annotator ssplit
Adding annotator pos
Loading POS tagger from lib/models/pos-tagger/english-left3words-distsim.tagger ... done [0.6 sec].
Adding annotator lemma
Adding annotator ner
Loading classifier from lib/models/ner/english.all.3class.distsim.crf.ser.gz ... done [2.6 sec].
NER Server listening on port 4444

Then I ran:
./anonParallel_java.sh
which gives me the following output:

Read 147 NE concepts from propreties.
Read 32 Quantity concepts from propreties.
Read 4 Value concepts from propreties.
Read 14 Date roles from propreties.
Read 45 concepts/roles to filter from propreties.
Adding annotator tokenize
Adding annotator ssplit
Adding annotator pos
Loading POS tagger from lib/models/pos-tagger/english-left3words-distsim.tagger ... done [0.6 sec].
Adding annotator lemma
Reading JAMR alignments from null
Exception in thread "main" java.lang.NullPointerException
	at util.utils.Utils.readLines(Utils.java:37)
	at util.utils.Utils.readLines(Utils.java:42)
	at util.corpus.AmrCorpus.readJamrAlignments(AmrCorpus.java:300)
	at util.corpus.AmrCorpus.preLoadLinearizeDictionaries(AmrCorpus.java:115)
	at util.corpus.AmrCorpus.preprocess(AmrCorpus.java:85)
	at util.apps.Preprocess.execute(Preprocess.java:17)
	at util.apps.Preprocess.main(Preprocess.java:23)
mv: rename tmp//*.txt to data/little-prince-meta/*.txt: No such file or directory
mv: rename tmp//*.obj.gz to data/little-prince-meta/*.obj.gz: No such file or directory
cut: data/little-prince-meta/test-dfs-linear.txt: No such file or directory
cut: data/little-prince-meta/dev-dfs-linear.txt: No such file or directory
cut: data/little-prince-meta/training-dfs-linear.txt: No such file or directory
cut: data/little-prince-meta/dev-dfs-linear.txt: No such file or directory
cut: data/little-prince-meta/test-dfs-linear.txt: No such file or directory
cut: data/little-prince-meta/training-dfs-linear.txt: No such file or directory
cut: data/little-prince-meta/dev-dfs-linear.txt: No such file or directory
cut: data/little-prince-meta/test-dfs-linear.txt: No such file or directory
cut: data/little-prince-meta/training-amr-nl-alignments-seq.txt: No such file or directory
cut: data/little-prince-meta/dev-amr-nl-alignments-seq.txt: No such file or directory
cut: data/little-prince-meta/dev-nl.txt: No such file or directory
cut: data/little-prince-meta/test-nl.txt: No such file or directory
cp: data/little-prince-meta/training-amr-nl-alignments.txt: No such file or directory
cp: data/little-prince-meta/dev-anonymized-alignments.txt: No such file or directory
cp: data/little-prince-meta/test-anonymized-alignments.txt: No such file or directory
cp: data/little-prince-meta/dev-nl.txt: No such file or directory
cp: data/little-prince-meta/test-nl.txt: No such file or directory
cp: data/little-prince-meta/dev-raw-amr-ids.txt: No such file or directory
cp: data/little-prince-meta/test-raw-amr-ids.txt: No such file or directory

My understanding is that the following variables:

DATA_DIR=data/little-prince-meta
OUT_DIR=data/little-prince-input_data

in the anonParallel_java.sh file point to the directories in which new files will be created, but I am getting the above errors.

Could you please suggest what am I missing?

@sodawater
Copy link

I meet the same problem. Have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants