2012-06-18 2 views

답변

0

당신은 이미 다운로드 아래의 파일을 압축 해제 한 가정하면 :

org.dbpedia.spotlight.index.dir = index-withSF-withTypes-compressed 
org.dbpedia.spotlight.spot.dictionary = surface_forms-Wikipedia-TitRedDis.uriThresh75.tsv.spotterDictionary 

당신 경우 : 지금 당신은 당신의 새로 추출 된 파일을 가리 키도록 server.properties 파일을 변경해야

wget http://spotlight.dbpedia.org/download/release-0.5/context-index-compact.tgz 
tar zxvf context-index-compact.tgz 
wget http://spotlight.dbpedia.org/download/release-0.4/surface_forms-Wikipedia-TitRedDis.uriThresh75.tsv.spotterDictionary.gz 
gunzip surface_forms-Wikipedia-TitRedDis.uriThresh75.tsv.spotterDictionary.gz 

가장 큰 스팟 dict를 사용하고 있습니다. 자바 힙 공간을 늘려야 할 수도 있습니다. 명령 줄에 -Xmx10G를 입력하십시오.

+0

대단히 감사합니다. :) 이 프로젝트에 대해 더 깊이 알고 배우는 데 관심이 있습니다. Dbpedia 스포트라이트. 나는 공식 dbpedia 사이트의 문서를 참조하고 기술 구현을 찾고있었습니다. – learner