Bug in ./scripts/make_conll2012_data.sh
ghaddarAbs opened this issue · 1 comments
ghaddarAbs commented
It seem that cat can't handle the large number of *.gold_conll in the train portion. The script print this warning and continue:
./scripts/make_conll2012_data.sh: line 19: /bin/ls: Argument list too long
However, changing:
lsgn/scripts/make_conll2012_data.sh
Line 19 in b1495ec
lsgn/scripts/make_conll2012_data.sh
Line 20 in b1495ec
to:
for file in ${ONTONOTES_PATH}/data/train/data/english/annotations/*/*/*/*.gold_conll
do
cat "$file" >> ${SRL_PATH}/train.english.v5_gold_conll
done
solve the problem
scofield7419 commented
@ghaddarAbs Thank u man, your solution helps a lot.