You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Otis Gospodnetic <ot...@yahoo.com> on 2002/04/23 17:45:02 UTC
Re: Error with StandardTokenizer.java and Token.java
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 <ja...@computer.org> 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:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>