Mailing List Archive

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 <jacob.g@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:
> <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:lucene-dev-help@jakarta.apache.org>
>


__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>