Revision: 17814
http://sourceforge.net/p/gate/code/17814
Author: markagreenwood
Date: 2014-04-11 13:27:42 +0000 (Fri, 11 Apr 2014)
Log Message:
-----------
changed the heuristic_level feature to be a Long instead of an Integer so that
you can match against it using jape -- I would have though Jape would have
handled ints, but maybe this is why token length is stored as a string
Modified Paths:
--------------
gate/trunk/plugins/Gazetteer_Ontology_Based/src/gate/clone/ql/OntoRootGaz.java
Modified:
gate/trunk/plugins/Gazetteer_Ontology_Based/src/gate/clone/ql/OntoRootGaz.java
===================================================================
---
gate/trunk/plugins/Gazetteer_Ontology_Based/src/gate/clone/ql/OntoRootGaz.java
2014-04-11 12:54:36 UTC (rev 17813)
+++
gate/trunk/plugins/Gazetteer_Ontology_Based/src/gate/clone/ql/OntoRootGaz.java
2014-04-11 13:27:42 UTC (rev 17814)
@@ -561,7 +561,7 @@
all.addAll(addition);
for(Lookup aLookup : all) {
String root = listRoots.get(aLookup.list);
- int hLevel = 0;
+ long hLevel = 0;
if(root != null) {
/*
* check if the root has spaces and if considerHeuristicRules is set to
@@ -599,7 +599,7 @@
}
} else {// if it doesn't have spaces or
// considerHeuristicRules=false
- aLookup.features.put(CATConstants.FEATURE_HEURISTIC_LEVEL, 0);
+ aLookup.features.put(CATConstants.FEATURE_HEURISTIC_LEVEL, 0L);
if(root != null && aLookup != null) {
addLookup(root.trim(), aLookup);
logger.info("NEW ENTRY: " + root + "\n");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs