Revision: 14723
http://gate.svn.sourceforge.net/gate/?rev=14723&view=rev
Author: markagreenwood
Date: 2011-12-10 14:42:43 +0000 (Sat, 10 Dec 2011)
Log Message:
-----------
strings should be compared via the equals method and not ==
Modified Paths:
--------------
gate/trunk/src/hepple/postag/POSTagger.java
Modified: gate/trunk/src/hepple/postag/POSTagger.java
===================================================================
--- gate/trunk/src/hepple/postag/POSTagger.java 2011-12-10 13:52:51 UTC (rev
14722)
+++ gate/trunk/src/hepple/postag/POSTagger.java 2011-12-10 14:42:43 UTC (rev
14723)
@@ -289,7 +289,7 @@
protected String[] classifyWord(String wd){
String[] result;
- if (wd == staart) return staartLex;
+ if (staart.equals(wd)) return staartLex;
List categories = (List)lexicon.get(wd);
if(categories != null){
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs