Revision: 20070
http://sourceforge.net/p/gate/code/20070
Author: ian_roberts
Date: 2017-02-07 13:36:44 +0000 (Tue, 07 Feb 2017)
Log Message:
-----------
Merged [r20069] from trunk
Revision Links:
--------------
http://sourceforge.net/p/gate/code/20069
Modified Paths:
--------------
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/jape/augmentation.jape
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/jape/term-candidate-threshold.jape
Property Changed:
----------------
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/
Index: gate/branches/sawdust2/plugins/TermRaider/src/main/resources
===================================================================
--- gate/branches/sawdust2/plugins/TermRaider/src/main/resources
2017-02-07 13:14:03 UTC (rev 20069)
+++ gate/branches/sawdust2/plugins/TermRaider/src/main/resources
2017-02-07 13:36:44 UTC (rev 20070)
Property changes on:
gate/branches/sawdust2/plugins/TermRaider/src/main/resources
___________________________________________________________________
Added: svn:mergeinfo
## -0,0 +1,6 ##
+/gate/branches/new-ontology-api/plugins/TermRaider/src/main/resources:10584-11598
+/gate/branches/release-7.0/plugins/TermRaider/src/main/resources:15335-15398
+/gate/branches/sawdust/plugins/TermRaider/src/main/resources:17055-17079
+/gate/tags/release-7.0/plugins/TermRaider/src/main/resources:15399-15407
+/gate/trunk/plugins/TermRaider:20069
+/gate/trunk/plugins/TermRaider/src/main/resources:3-390
\ No newline at end of property
Modified:
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/jape/augmentation.jape
===================================================================
---
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/jape/augmentation.jape
2017-02-07 13:14:03 UTC (rev 20069)
+++
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/jape/augmentation.jape
2017-02-07 13:36:44 UTC (rev 20070)
@@ -33,7 +33,5 @@
}
}
- if (score > 0.0F) {
- inner.getFeatures().put("localAugTfIdf", score);
- }
+ inner.getFeatures().put("localAugTfIdf", score);
}
Modified:
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/jape/term-candidate-threshold.jape
===================================================================
---
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/jape/term-candidate-threshold.jape
2017-02-07 13:14:03 UTC (rev 20069)
+++
gate/branches/sawdust2/plugins/TermRaider/src/main/resources/resources/jape/term-candidate-threshold.jape
2017-02-07 13:36:44 UTC (rev 20070)
@@ -18,7 +18,7 @@
// & look in the lower left corner. If the feature is missing,
// the fallback given above is used.
- if (oldf.containsKey("tfIdfAug") &&
+ if ( (oldf.get("tfIdfAug") != null) &&
(((Double) oldf.get("tfIdfAug")) > threshold) ) {
Long start = ann.getStartNode().getOffset();
Long end = ann.getEndNode().getOffset();
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs