编辑了一个lst文件,然后报错如下:
Caused by: gate.util.GateRuntimeException: Error loading list: overdue_date_prefix.lst: class gate.util.GateRuntimeException:Could not read gazetteer entry 19 from URL file:/E:/SMSIE_ver0d1/gappcredit/Credit/resource/gazetteer/overdue_date_prefix.lst: Correct format for gazetteer entry features is: [entry]([separator][featureName]=[featureValue])*
at gate.creole.gazetteer.LinearDefinition.add(LinearDefinition.java:528)
at gate.creole.gazetteer.LinearDefinition.load(LinearDefinition.java:276)
... 17 more
找错中。。。
lst文件最后一行多写了一个空格,(⊙﹏⊙)
GATE规则
原文:http://www.cnblogs.com/shunvjingjing/p/7827536.html