dbpedia-spotlight/pignlproc — pull request #7 by caizhiwei (2013-04-23 03:29:18+00:00)
Title: Fix inconsistent path of sfs folder

The path of sfs folder is defined by user in names_and_entities.pig.params. But "./sfs" is used as the path of sfs folder here,which may cause the following error:

java.lang.NullPointerException
at pignlproc.helpers.RestrictedNGramGenerator.exec(RestrictedNGramGenerator.java:98)
at pignlproc.helpers.RestrictedNGramGenerator.exec(RestrictedNGramGenerator.java:44)
at org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POUserFunc.getNext(POUserFunc.java:337)
at org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POUserFunc.getNext(POUserFunc.java:381)