Revision: 16787
http://sourceforge.net/p/gate/code/16787
Author: markagreenwood
Date: 2013-08-15 18:08:25 +0000 (Thu, 15 Aug 2013)
Log Message:
-----------
aaaaagh, this uses copies of the hash gaz code that contains bugs I've already
fixed, this fixes the bugs where the result of trim were ignored, now I have to
try and remember the other bugs I fixed
Modified Paths:
--------------
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/InflectionalGazetteer.java
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/RussGazetteer.java
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/morph/POSTagger.java
Modified:
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/InflectionalGazetteer.java
===================================================================
---
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/InflectionalGazetteer.java
2013-08-15 17:09:28 UTC (rev 16786)
+++
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/InflectionalGazetteer.java
2013-08-15 18:08:25 UTC (rev 16787)
@@ -574,7 +574,7 @@
mapIndex = -1;
if (line == null ) line = "";
- line.trim();
+ line = line.trim();
length = line.length();
for (int lineIndex = 0; lineIndex < length ; lineIndex++) {
if ((lineIndex+1==length)||
Modified:
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/RussGazetteer.java
===================================================================
---
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/RussGazetteer.java
2013-08-15 17:09:28 UTC (rev 16786)
+++
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/RussGazetteer.java
2013-08-15 18:08:25 UTC (rev 16787)
@@ -591,7 +591,7 @@
line = singleItem;
mapIndex = -1;
- line.trim();
+ line = line.trim();
length = line.length();
for (int lineIndex = 0; lineIndex < length ; lineIndex++) {
if
((lineIndex+1==length)||(Character.isWhitespace(line.charAt(lineIndex)))) {
Modified:
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/morph/POSTagger.java
===================================================================
---
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/morph/POSTagger.java
2013-08-15 17:09:28 UTC (rev 16786)
+++
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/morph/POSTagger.java
2013-08-15 18:08:25 UTC (rev 16787)
@@ -596,7 +596,7 @@
int length = 0;
mapIndex = -1;
- line.trim();
+ line = line.trim();
length = line.length();
for (int lineIndex = 0; lineIndex < length ; lineIndex++) {
if ((lineIndex+1==length)||
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs