Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 33334 invoked from network); 23 Apr 2002 15:45:12 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 Apr 2002 15:45:12 -0000 Received: (qmail 21610 invoked by uid 97); 23 Apr 2002 15:45:09 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 21578 invoked by uid 97); 23 Apr 2002 15:45:09 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 21560 invoked from network); 23 Apr 2002 15:45:08 -0000 Message-ID: <20020423154502.26415.qmail@web12707.mail.yahoo.com> Date: Tue, 23 Apr 2002 08:45:02 -0700 (PDT) From: Otis Gospodnetic Subject: Re: Error with StandardTokenizer.java and Token.java To: Lucene Developers List Cc: jacob.g@computer.org In-Reply-To: <5.1.0.14.2.20020423103046.00abc610@166.114.106.7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, Get the latest version, try again, paste the error if you get it, and use lucene-user list instead, more eyeballs and brains will see your proble on that list. Thanks, Otis --- Jacob Gutierrez wrote: > Hi there... > > Using the latest version of "StandardTokenizer.jj" and using JavaCC > (ver > 2.1) I get 7 java files, among them StandardTokenizer.java and > Token.java > > The Token Class has this atributes > > public final class Token { > String termText; // the text of the term > int startOffset; // start in source text > int endOffset; // end in source text > String type = "word"; // lexical type > .... > .... > } > > And the StandardTokenizer in it's next() function has this code: > > new org.apache.lucene.analysis.Token(token.image, > > token.beginColumn,token.endColumn, > tokenImage[token.kind]); > > Giving an error of Variable not found. > Why is this error happening?? Do I have to manually modify the file > created > by JavaCC??? > > Any help will be appreciated. > > > > > Jacob Gutiļæ½rrez R. > Cochabamba - Bolivia > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > __________________________________________________ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ -- To unsubscribe, e-mail: For additional commands, e-mail: