Suggestion for Token.java

2004-04-13 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, Just a short suggestion: It would be useful to make Token.termText public (or to provide a reader/ writer pair). That way one can create TokenFilters altering termText (for Synonyms for example) in other packages as

Re: Suggestion for Token.java

2004-04-13 Thread Erik Hatcher
What is wrong with simply creating a new token that replaces an incoming one for synonyms? I'm just playing devil's advocate here since you can already get the termText() through the public _method_. Erik On Apr 13, 2004, at 9:52 AM, Holger Klawitter wrote: -BEGIN PGP SIGNED

Re: Suggestion for Token.java

2004-04-13 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Erik, What is wrong with simply creating a new token that replaces an incoming one for synonyms? I'm just playing devil's advocate here since you can already get the termText() through the public _method_. Well, you're right; I forgot

Re: Suggestion for Token.java

2004-04-13 Thread Tatu Saloranta
On Tuesday 13 April 2004 15:31, Holger Klawitter wrote: Hi Erik, What is wrong with simply creating a new token that replaces an incoming one for synonyms? I'm just playing devil's advocate here since you can already get the termText() through the public _method_. Well, you're