lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mhern...@apache.org
Subject svn commit: r1363956 - in /incubator/lucene.net/trunk/src/contrib/WordNet: SynExpand/SynExpand.cs SynLookup/SynLookup.cs
Date Fri, 20 Jul 2012 21:28:14 GMT
Author: mherndon
Date: Fri Jul 20 21:28:14 2012
New Revision: 1363956

URL: http://svn.apache.org/viewvc?rev=1363956&view=rev
Log:
termAtt.Term() was breaking compilation for SynLookup and SynExpand, switching over to property
syntax.

Modified:
    incubator/lucene.net/trunk/src/contrib/WordNet/SynExpand/SynExpand.cs
    incubator/lucene.net/trunk/src/contrib/WordNet/SynLookup/SynLookup.cs

Modified: incubator/lucene.net/trunk/src/contrib/WordNet/SynExpand/SynExpand.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/WordNet/SynExpand/SynExpand.cs?rev=1363956&r1=1363955&r2=1363956&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/WordNet/SynExpand/SynExpand.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/WordNet/SynExpand/SynExpand.cs Fri Jul 20 21:28:14
2012
@@ -102,7 +102,7 @@ namespace WorldNet.Net
 		    
             while (ts.IncrementToken())
 			{
-				var word = termAtt.Term();
+				var word = termAtt.Term;
 				
                 if (!already.Contains(word))
 				{

Modified: incubator/lucene.net/trunk/src/contrib/WordNet/SynLookup/SynLookup.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/WordNet/SynLookup/SynLookup.cs?rev=1363956&r1=1363955&r2=1363956&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/WordNet/SynLookup/SynLookup.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/WordNet/SynLookup/SynLookup.cs Fri Jul 20 21:28:14
2012
@@ -95,7 +95,7 @@ namespace WorldNet.Net
 
 			while (ts.IncrementToken())
 			{
-				var word = termAtt.Term();
+				var word = termAtt.Term;
 
 				if (!already.Contains(word))
 				{



Mime
View raw message