mesnilgr/nbsvm

Install instruction yield ../nbsvm: No such file or directory

datatalking opened this issue · 0 comments

When I follow the instructions to this otherwise helpful Naive Bayes python script it gives me an error.

owner at Owners-iMac in ~/sbox/test/nbsvm on master
$ ./oh_my_go.sh
mkdir: nbsvm_run: File exists
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/bin/wget
  Reason: image not found
./oh_my_go.sh: line 11: 64166 Abort trap: 6           wget http://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz
tar: Error opening archive: Failed to open 'aclImdb_v1.tar.gz'
rm: aclImdb_v1.tar.gz: No such file or directory
ls: aclImdb/train/pos: No such file or directory
./oh_my_go.sh: line 3: temp: No such file or directory
mv: rename temp-norm to aclImdb/train/pos/norm.txt: No such file or directory
rm: temp: No such file or directory
ls: aclImdb/train/neg: No such file or directory
./oh_my_go.sh: line 3: temp: No such file or directory
mv: rename temp-norm to aclImdb/train/neg/norm.txt: No such file or directory
rm: temp: No such file or directory
ls: aclImdb/test/pos: No such file or directory
./oh_my_go.sh: line 3: temp: No such file or directory
mv: rename temp-norm to aclImdb/test/pos/norm.txt: No such file or directory
rm: temp: No such file or directory
ls: aclImdb/test/neg: No such file or directory
./oh_my_go.sh: line 3: temp: No such file or directory
mv: rename temp-norm to aclImdb/test/neg/norm.txt: No such file or directory
rm: temp: No such file or directory
mkdir: data: File exists
mv: rename aclImdb/train/pos/norm.txt to data/train-pos.txt: No such file or directory
mv: rename aclImdb/train/neg/norm.txt to data/train-neg.txt: No such file or directory
mv: rename aclImdb/test/pos/norm.txt to data/test-pos.txt: No such file or directory
mv: rename aclImdb/test/neg/norm.txt to data/test-neg.txt: No such file or directory
rm: aclImdb: No such file or directory
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/bin/wget
  Reason: image not found
./oh_my_go.sh: line 29: 64195 Abort trap: 6           wget https://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/liblinear-1.96.zip
unzip:  cannot find or open liblinear-1.96.zip, liblinear-1.96.zip.zip or liblinear-1.96.zip.ZIP.
rm: liblinear-1.96.zip: No such file or directory
./oh_my_go.sh: line 32: cd: liblinear-1.96: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
BI-GRAM
python: can't open file '../nbsvm/nbsvm.py': [Errno 2] No such file or directory
TRI-GRAM
python: can't open file '../nbsvm/nbsvm.py': [Errno 2] No such file or directory
./oh_my_go.sh: line 40: cd: ../nbsvm: No such file or directory
(base)