2013-02-22 2 views
-1

난 그냥 메이크 파일을 컴파일하려고하지만 didnt 한 일, 내 메이크은 이것이다, 내가 업로드하고 모든 폴더에 대한 링크를 게시 할 것 , 아무도 나를 도울 수 있다면, 아마도 그는 천국에 갈 것입니다 : D 이것은 내 폴더에 대한 링크입니다 이 코드를 실행할 수 있습니까? http://s2.dosya.tc/server/OfLhtU/Desktop.zip.html피트 - models.out 메이크 오류

TRAIN=correctparses_03.txt.gz 
TEST=test.1.2.dis.gz 
FST=tfeatures.fst turknum.fst turkunk.fst unknown.fst 
SCRIPTS=lookup dlist script.txt singleline.pl merge.pl features.pl ft-models.pl   ft-model-eval.pl 
LIBS = -L"/usr/include/glib-2.0" -lglib 

all: eval.out 

eval.out: test.features.gz ft-model-eval.pl ft-models.out 
@echo === Evaluating the disambiguation model 
zcat $< | ft-model-eval.pl -v > [email protected] 2> eval.err 
tail -5 eval.err 

test.features.gz: test.merge.gz features.pl 
@echo === Preparing testing features for a +-2 word window 
zcat $< | features.pl | gzip > [email protected] 

test.merge.gz: ${TEST} test.lookup.gz merge.pl 
@echo === Merging answers in testing file with lookup results 
merge.pl 'zcat ${TEST} |' 'zcat test.lookup.gz |' 2> [email protected] | gzip > [email protected] 

test.lookup.gz: ${TEST} ${FST} script.txt singleline.pl lookup 
@echo === Running lookup on the testing file 
zcat $< | awk '{print $$1}' | lookup -f script.txt | singleline.pl | gzip > [email protected] 

ft-models.out: ft-models.pl dlist train.features.gz 
@echo === Training individual feature models 
ft-models.pl 'zcat train.features.gz |' 

train.features.gz: train.merge.gz features.pl 
@echo === Preparing training features for a +-2 word window 
zcat $< | features.pl | gzip > [email protected] 

train.merge.gz: ${TRAIN} train.lookup.gz merge.pl 
@echo === Merging answers in training file with lookup results 
merge.pl 'zcat ${TRAIN} |' 'zcat train.lookup.gz |' 2> [email protected] | gzip > [email protected] 

train.lookup.gz: ${TRAIN} ${FST} script.txt singleline.pl lookup 
@echo === Running lookup on the training file 
zcat $< | awk '{print $$1}' | lookup -f script.txt | singleline.pl | gzip > [email protected] 

clean: 
-rm train.lookup.gz 
-rm train.merge.gz train.merge.gz.err 
-rm train.features.gz 
-rm -rf ft-models.out 
-rm test.lookup.gz 
-rm test.merge.gz tst.merge.gz.err 
-rm test.features.gz 
-rm dlist.{dbg,tst,trn,val} 
-rm eval.{out,err} 


# To compile the dlist decision list induction program: 

# CC=gcc 
# CFLAGS=-O3 -Wall -I. `pkg-config --cflags glib-2.0` 
# LIBS=`pkg-config --libs glib-2.0` 

# dlist: dlist.o glib-ext.o 
# $(CC) $(CFLAGS) $^ $(LIBS) -o [email protected] 

# dlist.o: dlist.c glib-ext.h 

# glib-ext.o: glib-ext.c glib-ext.h 

내가 오류는이 메이크 파일을 실행 ;

make: ft-models.pl: Command not found 
make: *** [ft-models.out] Error 127 

어떻게 해결할 수 있습니까 ?? 덕분에 ...

,

첫 번째 오류 실제로

=== Running lookup on the testing file 
zcat test.1.2.dis.gz | awk '{print $1}' | lookup -f script.txt | singleline.pl | gzip > test.lookup.gz 
/bin/sh: 1: lookup: not found 
/bin/sh: 1: singleline.pl: not found 
=== Merging answers in testing file with lookup results 
merge.pl 'zcat test.1.2.dis.gz |' 'zcat test.lookup.gz |' 2> test.merge.gz.err | gzip  > test.merge.gz 
=== Preparing testing features for a +-2 word window 
zcat test.merge.gz | features.pl | gzip > test.features.gz 
/bin/sh: 1: features.pl: not found 
=== Running lookup on the training file 
zcat correctparses_03.txt.gz | awk '{print $1}' | lookup -f script.txt | singleline.pl | gzip > train.lookup.gz 
/bin/sh: 1: singleline.pl: not found 
/bin/sh: 1: lookup: not found 
=== Merging answers in training file with lookup results 
merge.pl 'zcat correctparses_03.txt.gz |' 'zcat train.lookup.gz |' 2> train.merge.gz.err | gzip > train.merge.gz 
=== Preparing training features for a +-2 word window 
zcat train.merge.gz | features.pl | gzip > train.features.gz 
/bin/sh: 1: features.pl: not found 
=== Training individual feature models 
./ft-models.pl 'zcat train.features.gz |' 
Finding unique morphological features in data 
Found 0 morphological features 
=== Evaluating the disambiguation model 
zcat test.features.gz | ft-model-eval.pl -v > eval.out 2> eval.err 
make: *** [eval.out] Error 127 
+0

이것은 나중에 내가 쓴 uper와 같은 오류를주는 첫 번째 오류입니다 – user2100819

답변

0

그것은이 문제를 해결하기 위해 몇 가지 조치를 취할 수 있습니다. 28 행에서이 변경이에

ft-models.pl ... 

을 :

./ft-models.pl ... 

(이 답변의 댓글에서) 우리에게 그 결과를 알려주십시오.

편집 :

좋은!

./merge.pl ... 

을 그리고 어떻게되는지 알려이에

merge.pl ... 

을 : 이제 선 (20) 및 (36)에이 변경.

+0

뭔가 바뀌 었습니다 ...! === 개별 기능 모델 훈련 ./ft-models.pl 'zcat train.features.gz |' 데이터에서 고유 한 형태 학적 특징 찾기 발견 된 0 개의 형태 학적 특징 === 모호하지 않은 모델 평가 zcat test.features.gz | ft-model-eval.pl -v> eval.out 2> eval.err make : *** [eval.out] 오류 127 – user2100819

+0

처음에 오류가 발생했습니다. 내 모양을보세요 – user2100819

+0

/bin/sh : 1 : merge.pl : 찾을 수 없습니다. – user2100819